code stringlengths 4 4.48k | docstring stringlengths 1 6.45k | _id stringlengths 24 24 |
|---|---|---|
class OpXORTarget(OpRegTarget): <NEW_LINE> <INDENT> def execute(self, slot, subindex, roi, result): <NEW_LINE> <INDENT> if slot is self.Valid: <NEW_LINE> <INDENT> result[:] = 1 <NEW_LINE> return <NEW_LINE> <DEDENT> data = self.Input[roi.start[0]:roi.stop[0], :].wait() <NEW_LINE> result[:, 0] = 1 - np.square(1 - data.su... | The result of (kinda) XORing channel 0 and 1
xor_cont(a, b) := 1 - (1 - a - b)^2 | 62598fc3be7bc26dc9251fb0 |
class TestingConfig(DevelopmentConfig): <NEW_LINE> <INDENT> TESTING = True <NEW_LINE> WTF_CSRF_ENABLED = False | Used when running tests. | 62598fc32c8b7c6e89bd3a6c |
class Environment: <NEW_LINE> <INDENT> UAT = 1 <NEW_LINE> PROD = 9 | Application Environment Value | 62598fc37b180e01f3e491a4 |
class Glyph: <NEW_LINE> <INDENT> def __init__(self,glyphname = '',contours = []): <NEW_LINE> <INDENT> self.glyphname = glyphname <NEW_LINE> self.contours = contours <NEW_LINE> <DEDENT> def charger(self,data): <NEW_LINE> <INDENT> self.glyphname = data['glyphname'] <NEW_LINE> self.contours = [] <NEW_LINE> for donnees_con... | Classe permettant le représentatation simple
d'un objet Glyphe calqué sur FontForge | 62598fc360cbc95b063645e6 |
class PlotRaster(QtWidgets.QDialog): <NEW_LINE> <INDENT> def __init__(self, parent=None): <NEW_LINE> <INDENT> super().__init__(parent) <NEW_LINE> self.indata = {} <NEW_LINE> self.parent = parent <NEW_LINE> self.setAttribute(QtCore.Qt.WA_DeleteOnClose) <NEW_LINE> self.setWindowTitle('Graph Window') <NEW_LINE> vbl = QtWi... | Plot Raster Class.
Attributes
----------
parent : parent
reference to the parent routine
indata : dictionary
dictionary of input datasets | 62598fc3f9cc0f698b1c5426 |
class ShowIPsecPolicy(neutronv20.ShowCommand): <NEW_LINE> <INDENT> resource = 'ipsecpolicy' <NEW_LINE> log = logging.getLogger(__name__ + '.ShowIPsecPolicy') | Show information of a given IPsec policy. | 62598fc355399d3f056267c2 |
class FuseSegmentations(FSCommand): <NEW_LINE> <INDENT> _cmd = 'mri_fuse_segmentations' <NEW_LINE> input_spec = FuseSegmentationsInputSpec <NEW_LINE> output_spec = FuseSegmentationsOutputSpec <NEW_LINE> def _format_arg(self, name, spec, value): <NEW_LINE> <INDENT> if name in ('in_segmentations', 'in_segmentations_noCC'... | fuse segmentations together from multiple timepoints
Examples
--------
>>> from nipype.interfaces.freesurfer import FuseSegmentations
>>> fuse = FuseSegmentations()
>>> fuse.inputs.subject_id = 'tp.long.A.template'
>>> fuse.inputs.timepoints = ['tp1', 'tp2']
>>> fuse.inputs.out_file = 'aseg.fused.mgz'
>>> fuse.inputs.... | 62598fc392d797404e388cb7 |
class OperationConsumer(Process): <NEW_LINE> <INDENT> def __init__(self, pipe): <NEW_LINE> <INDENT> Process.__init__(self) <NEW_LINE> self._pipe = pipe <NEW_LINE> <DEDENT> def run(self): <NEW_LINE> <INDENT> self._logger = logging.getLogger( '{}:{}'.format(__name__, current_process().name)) <NEW_LINE> try: <NEW_LINE> <I... | Process derived class.
Consumes lists of operations in raw strings through its pipe,
computates results and sends back another list containing them. | 62598fc33d592f4c4edbb162 |
class CrawlerBankier(object): <NEW_LINE> <INDENT> def __init__(self, databaseHelper = AbstractDatabaseHelper("")): <NEW_LINE> <INDENT> self.databaseHelper = databaseHelper <NEW_LINE> <DEDENT> def collectData(self): <NEW_LINE> <INDENT> pass; | description of class | 62598fc33346ee7daa33779e |
class ServantYuHun(PassiveManage): <NEW_LINE> <INDENT> pass | 式神御魂 | 62598fc38a349b6b436864ea |
class HttpNotFoundException(HttpException): <NEW_LINE> <INDENT> def __init__(self, reason = None): <NEW_LINE> <INDENT> self.statuscode = 404 <NEW_LINE> if not reason: <NEW_LINE> <INDENT> reason = "" <NEW_LINE> <DEDENT> self.reason = reason | Exception thrown when a 404 status code has to be returned
| 62598fc366673b3332c3067f |
class HostDeleteTestCase(CLITestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> super(HostDeleteTestCase, self).setUp() <NEW_LINE> result = Proxy.list() <NEW_LINE> self.assertGreater(len(result), 0) <NEW_LINE> self.puppet_proxy = result[0] <NEW_LINE> self.host = entities.Host() <NEW_LINE> self.host.crea... | Tests for deleting the hosts via CLI. | 62598fc33d592f4c4edbb163 |
class TriangularRandom(Generator): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> Generator.__init__(self) <NEW_LINE> self.rng = UniformRNG() <NEW_LINE> <DEDENT> def __call__(self): <NEW_LINE> <INDENT> while 1: <NEW_LINE> <INDENT> a = self.rng.random() <NEW_LINE> b = self.rng.random() / 2 <NEW_LINE> if (a ... | Random generator with triangular distribution. | 62598fc3ad47b63b2c5a7b03 |
class ClusterNodeVMDeploymentConfig(object): <NEW_LINE> <INDENT> swagger_types = { 'placement_type': 'str' } <NEW_LINE> attribute_map = { 'placement_type': 'placement_type' } <NEW_LINE> discriminator_value_class_map = { 'VsphereClusterNodeVMDeploymentConfig': 'VsphereClusterNodeVMDeploymentConfig' } <NEW_LINE> def _... | NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually. | 62598fc3283ffb24f3cf3b30 |
class AnalyticalSoln(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> return <NEW_LINE> <DEDENT> def displacement(self, locs): <NEW_LINE> <INDENT> (npts, dim) = locs.shape <NEW_LINE> disp = numpy.zeros( (1, npts, 2), dtype=numpy.float64) <NEW_LINE> disp[0,:,0] = exx*locs[:,0] + exy*locs[:,1] <NEW_LI... | Analytical solution to axial/shear displacement problem. | 62598fc350812a4eaa620d3b |
class QWinJumpList(__PyQt5_QtCore.QObject): <NEW_LINE> <INDENT> def addCategory(self, *__args): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def categories(self): <NEW_LINE> <INDENT> return [] <NEW_LINE> <DEDENT> def childEvent(self, *args, **kwargs): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def clear(self): <NEW_L... | QWinJumpList(parent: QObject = None) | 62598fc3d8ef3951e32c7fb2 |
class BaseElement: <NEW_LINE> <INDENT> def __init__(self,basefile): <NEW_LINE> <INDENT> self.authors = basefile["author"] <NEW_LINE> if isinstance(self.authors,str): <NEW_LINE> <INDENT> self.authors = [self.authors] <NEW_LINE> <DEDENT> self.author_names = [] <NEW_LINE> self.author_mails = [] <NEW_LINE> for author in se... | Base class for representing BaseElements, yaml structures that describe
the contents of file | 62598fc35fcc89381b2662a3 |
class IMMediate(SCPINode): <NEW_LINE> <INDENT> __slots__ = () <NEW_LINE> _cmd = "IMMediate" <NEW_LINE> args = [] <NEW_LINE> class AMPLitude(SCPINode, SCPIQuery, SCPISet): <NEW_LINE> <INDENT> __slots__ = () <NEW_LINE> _cmd = "AMPLitude" <NEW_LINE> args = ["1"] <NEW_LINE> class BACKup(SCPINode, SCPIQuery, SCPISet): <NEW_... | SOURce:POWer:LEVel:IMMediate
Arguments: | 62598fc3fff4ab517ebcda93 |
class APIKeyMissing(DelightedError): <NEW_LINE> <INDENT> pass | Without an API key this library cannot connect to Delighted. | 62598fc3be7bc26dc9251fb2 |
class IDC(models.Model): <NEW_LINE> <INDENT> name = models.CharField(max_length=32, verbose_name=u'机房名称') <NEW_LINE> linkman = models.CharField(max_length=16, blank=True, null=True, default='', verbose_name=u'联系人') <NEW_LINE> phone = models.CharField(max_length=32, blank=True, null=True, default='', verbose_name=u'联系电话... | 机房信息 | 62598fc35fdd1c0f98e5e240 |
class _LineOverflow(Exception): <NEW_LINE> <INDENT> pass | Used internally in `ConstructorStr`. | 62598fc32c8b7c6e89bd3a70 |
class Update: <NEW_LINE> <INDENT> def __init__(self, transport: Transport, collection: str, db_type: str, operation: str = 'all'): <NEW_LINE> <INDENT> self.transport = transport <NEW_LINE> self.collection = collection <NEW_LINE> self.db_type = db_type <NEW_LINE> self.operation = operation <NEW_LINE> self.params = {'fin... | The DB Update Class
::
from space_api import API, AND, OR, COND
api = API("My-Project", "localhost:4124")
db = api.mongo() # For a MongoDB interface
response = db.update('posts').where(AND(COND('title', '==', 'Title1'))).set({'title':'Title2'}).apply()
:param transport: (Transport) The API's transport... | 62598fc399fddb7c1ca62f43 |
class CreateDynamicOctrees(QueenbeeTask): <NEW_LINE> <INDENT> _input_params = luigi.DictParameter() <NEW_LINE> @property <NEW_LINE> def model(self): <NEW_LINE> <INDENT> value = pathlib.Path(self.input()['CreateRadFolder']['model_folder'].path) <NEW_LINE> return value.as_posix() if value.is_absolute() else pa... | Generate a set of octrees from a folder containing abstracted aperture groups. | 62598fc371ff763f4b5e7a2a |
class AddAccountView(PassportView): <NEW_LINE> <INDENT> parameters = {"common": CommonParameters} <NEW_LINE> payload_cls = ManageAccountPayloadSchema <NEW_LINE> responses = { HTTPStatus.CREATED: AccountResponseSchema, } <NEW_LINE> async def process_request( self, request: web.Request, payload: Optional[Payload] = None,... | Add new account. | 62598fc3167d2b6e312b7224 |
class Web_Services_Securities_s(Collection): <NEW_LINE> <INDENT> def __init__(self, blocking_settings): <NEW_LINE> <INDENT> super(Web_Services_Securities_s, self).__init__(blocking_settings) <NEW_LINE> self._meta_data['object_has_stats'] = False <NEW_LINE> self._meta_data['allowed_lazy_attributes'] = [Web_Se... | BIG-IP® ASM Web-Services-Securities sub-collection | 62598fc34a966d76dd5ef182 |
class SingleLinkedList(object): <NEW_LINE> <INDENT> def __init__(self, node=None): <NEW_LINE> <INDENT> self.__head = node <NEW_LINE> <DEDENT> def is_empty(self): <NEW_LINE> <INDENT> return self.__head is None <NEW_LINE> <DEDENT> def length(self): <NEW_LINE> <INDENT> cur = self.__head <NEW_LINE> count = 0 <NEW_LINE> whi... | 单项列表 | 62598fc3bf627c535bcb1755 |
class SipUserIdSerializer(serializers.Serializer): <NEW_LINE> <INDENT> sip_user_id = serializers.IntegerField(max_value=999999999, min_value=int(1e8)) | Base serializer for the sip_user_id field. | 62598fc3442bda511e95c70e |
class DatabaseJSON(): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.dir_path = os.path.dirname( os.path.realpath(__file__)) <NEW_LINE> self.json_path = os.path.join(self.dir_path, 'database.json') <NEW_LINE> self.last_update = time.time() <NEW_LINE> <DEDENT> def _get_database_json(self): <NEW_LINE> <... | Creates and manages database updated | 62598fc3dc8b845886d5386a |
class BaseConfig: <NEW_LINE> <INDENT> SECRET_KEY = 'my_precious' <NEW_LINE> DEBUG = False <NEW_LINE> BCRYPT_LOG_ROUNDS = 13 <NEW_LINE> SQLALCHEMY_TRACK_MODIFICATIONS = False <NEW_LINE> SECRET_KEY = os.getenv('SECRET_KEY', 'my_precious') <NEW_LINE> SECURITY_PASSWORD_SALT = os.getenv('SECRET_KEY_SALT','my_precious_two') ... | Base configuration. | 62598fc34f88993c371f0662 |
class FlavorCoin(Bitcoin): <NEW_LINE> <INDENT> name = 'flavorcoin' <NEW_LINE> symbols = ('FLVR', ) <NEW_LINE> seeds = ("2flav.nodes.altcoinsteps.com", ) <NEW_LINE> port = 17771 <NEW_LINE> message_start = b'\xa4\xd2\xf8\xa6' <NEW_LINE> base58_prefixes = { 'PUBKEY_ADDR': 3, 'SCRIPT_ADDR': 85, 'SECRET_KEY': 131 } | Class with all the necessary FlavorCoin network information based on
https://github.com/flavorcoin/FlavorCoin-V2/blob/master/src/net.cpp
(date of access: 02/15/2018) | 62598fc37c178a314d78d74e |
class Optimizer(object): <NEW_LINE> <INDENT> def apply_grads(self, grads, variables): <NEW_LINE> <INDENT> ops = [] <NEW_LINE> for grad, var in zip(grads, variables): <NEW_LINE> <INDENT> ops.extend(self.apply_grad(grad, var)) <NEW_LINE> <DEDENT> if not ops: <NEW_LINE> <INDENT> return ops <NEW_LINE> <DEDENT> return varia... | Base optimizer class.
Constructor of subclasses must take `learning_rate` as an argument. | 62598fc33317a56b869be6a8 |
class IscsiInitiatorTargetBaseParameters(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.swagger_types = { 'portals': 'list[TargetPortal]' } <NEW_LINE> self.attribute_map = { 'portals': 'portals' } <NEW_LINE> self._portals = None <NEW_LINE> <DEDENT> @property <NEW_LINE> def portals(self): <NEW... | NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually. | 62598fc360cbc95b063645ed |
class ContainerTaskInstanceCreateTaskTypeMenu( BaseTaskInstanceCreateTaskTypeMenu ): <NEW_LINE> <INDENT> form_class = ContainerTaskTypeSelectForm <NEW_LINE> create_urlname = "containertaskinstance-create" | View for container task instance creation submenu. | 62598fc33d592f4c4edbb167 |
class Notifier(common.loggable): <NEW_LINE> <INDENT> def __init__(self, api): <NEW_LINE> <INDENT> self._api = api <NEW_LINE> self._followers = None <NEW_LINE> <DEDENT> def send(self, message): <NEW_LINE> <INDENT> if not isinstance(message, str): <NEW_LINE> <INDENT> message = str(message, errors="ignore") <NEW_LINE> <DE... | It sends a message to destinations (followers) with twitter API.
:param api: An API instance (for now, we are using Tweepy) | 62598fc3cc40096d6161a330 |
@python_2_unicode_compatible <NEW_LINE> class SecretRole(ChangeLoggedModel): <NEW_LINE> <INDENT> name = models.CharField( max_length=50, unique=True ) <NEW_LINE> slug = models.SlugField( unique=True ) <NEW_LINE> users = models.ManyToManyField( to=User, related_name='secretroles', blank=True ) <NEW_LINE> groups = models... | A SecretRole represents an arbitrary functional classification of Secrets. For example, a user might define roles
such as "Login Credentials" or "SNMP Communities."
By default, only superusers will have access to decrypt Secrets. To allow other users to decrypt Secrets, grant them
access to the appropriate SecretRoles... | 62598fc3283ffb24f3cf3b34 |
class PascalCaseJSONRenderer(JSONRenderer): <NEW_LINE> <INDENT> def render(self, data, accepted_media_type=None, renderer_context=None): <NEW_LINE> <INDENT> data = transformations.keys_to_pascalcase(data) <NEW_LINE> return super(PascalCaseJSONRenderer, self).render(data, accepted_media_type=accepted_media_type, rendere... | Renderer which serializes to JSON using PascalCase keys. | 62598fc3956e5f7376df57d6 |
class Fresh(Goal): <NEW_LINE> <INDENT> def __init__(self, function): <NEW_LINE> <INDENT> super().__init__() <NEW_LINE> self.function = function <NEW_LINE> self.function_vars = None <NEW_LINE> self.goal = None <NEW_LINE> <DEDENT> def __repr__(self): <NEW_LINE> <INDENT> goal = self.getFunctionGoal() <NEW_LINE> return "Fr... | Fresh is used to bring new variables into an assertion.
| 62598fc3851cf427c66b8565 |
class Fifo(list): <NEW_LINE> <INDENT> def write(self, data): <NEW_LINE> <INDENT> self.__iadd__(data) <NEW_LINE> return len(data) <NEW_LINE> <DEDENT> def read(self): <NEW_LINE> <INDENT> return self.pop(0) | Basic first in first out (FIFO) buffer implementation | 62598fc35fc7496912d483d3 |
class TrackException(Exception): <NEW_LINE> <INDENT> pass | TrackException class. | 62598fc3a8370b77170f068c |
class AudioInfoViewSet(viewsets.ModelViewSet): <NEW_LINE> <INDENT> queryset = AudioInfo.objects.all() <NEW_LINE> serializer_class = AudioInfoSerializer | This viewset automatically provides `list`, `create`, `retrieve`,
`update` and `destroy` actions. | 62598fc3ff9c53063f51a8fe |
class CGLSPlugin(astra.plugin.base): <NEW_LINE> <INDENT> astra_name = "CGLS-PLUGIN" <NEW_LINE> def initialize(self,cfg): <NEW_LINE> <INDENT> self.W = astra.OpTomo(cfg['ProjectorId']) <NEW_LINE> self.vid = cfg['ReconstructionDataId'] <NEW_LINE> self.sid = cfg['ProjectionDataId'] <NEW_LINE> try: <NEW_LINE> <INDENT> v = a... | CGLS. | 62598fc3d8ef3951e32c7fb4 |
class Base(Default, HasVolume, Cancellable): <NEW_LINE> <INDENT> def __init__(self, volume, owner = None, volumeFilled = 0): <NEW_LINE> <INDENT> HasVolume.__init__(self, volume, volumeFilled) <NEW_LINE> Cancellable.__init__(self) <NEW_LINE> Default.__init__(self, owner) <NEW_LINE> <DEDENT> def copyTo(self, dst): <NEW_L... | Base class for market and limit orders.
Responsible for:
- tracking order's volume
- keeping order cancellation flag (does it needed for market orders???)
- notifying order listeners about order matching
TBD: split into Cancelable, HavingVolume base classes | 62598fc3a05bb46b3848ab1d |
class CDNJsObject(object): <NEW_LINE> <INDENT> def __init__(self, name, version, default=None, files=None, keywords=None): <NEW_LINE> <INDENT> self.name = name <NEW_LINE> self.version = version <NEW_LINE> self.default = default.split('/')[-1] <NEW_LINE> self.files = files or {} <NEW_LINE> self.keywords = keywords or []... | CDNJs object | 62598fc3656771135c489920 |
class UserAttributeSimilarityValidator: <NEW_LINE> <INDENT> DEFAULT_USER_ATTRIBUTES = ('username', 'first_name', 'last_name', 'email') <NEW_LINE> def __init__(self, user_attributes=DEFAULT_USER_ATTRIBUTES, max_similarity=0.7): <NEW_LINE> <INDENT> self.user_attributes = user_attributes <NEW_LINE> if max_similarity < 0.1... | Validate that the password is sufficiently different from the user's
attributes.
If no specific attributes are provided, look at a sensible list of
defaults. Attributes that don't exist are ignored. Comparison is made to
not only the full attribute value, but also its components, so that, for
example, a password is va... | 62598fc366673b3332c30685 |
class ElectricAppliances(Inventory): <NEW_LINE> <INDENT> def __init__(self, info): <NEW_LINE> <INDENT> Inventory.__init__(self, info) <NEW_LINE> self.brand = info['brand'] <NEW_LINE> self.voltage = info['voltage'] <NEW_LINE> <DEDENT> def return_as_dictionary(self): <NEW_LINE> <INDENT> output_dict = Inventory.return_as_... | ElectricAppliances class is a subclass of Inventory | 62598fc363b5f9789fe85425 |
class GenerateIncrementalDiffJob(BranchMergeProposalJobDerived): <NEW_LINE> <INDENT> implements(IGenerateIncrementalDiffJob) <NEW_LINE> classProvides(IGenerateIncrementalDiffJobSource) <NEW_LINE> class_job_type = BranchMergeProposalJobType.GENERATE_INCREMENTAL_DIFF <NEW_LINE> task_queue = 'bzrsyncd_job' <NEW_LINE> conf... | A job to generate an incremental diff for a branch merge proposal.
Provides class methods to create and retrieve such jobs. | 62598fc34c3428357761a56e |
class Cmd: <NEW_LINE> <INDENT> def __init__(self, name, obj, act, metadata): <NEW_LINE> <INDENT> self.name = name <NEW_LINE> self.obj = obj <NEW_LINE> self.act = act <NEW_LINE> self.metadata = metadata | 'command' class. A command has a name, the action (act) it performs on
an object (obj), and a dictionary type metadata. | 62598fc3aad79263cf42ea86 |
class SR560(Instrument): <NEW_LINE> <INDENT> def __init__(self, name, **kwargs): <NEW_LINE> <INDENT> super().__init__(name, **kwargs) <NEW_LINE> cutoffs = [0.03, 0.1, 0.3, 1, 3, 10, 30, 100, 300, 1000, 3000, 10000, 30000, 100000, 300000, 1000000] <NEW_LINE> gains = [1, 2, 5, 10, 20, 50, 100, 200, 500, 1000, 2000, 5000,... | This is the qcodes driver for the SR 560 Voltage-preamplifier.
This is a virtual driver only and will not talk to your instrument.
Note:
- The ``cutoff_lo`` and ``cutoff_hi`` parameters will interact with
each other on the instrument (hi cannot be <= lo) but this is not
managed here, you must ensure yourself that... | 62598fc3ad47b63b2c5a7b09 |
class SellerParty(Node): <NEW_LINE> <INDENT> tag = "SellerParty" <NEW_LINE> validation_schema = SELLER_PARTY_SCHEMA <NEW_LINE> def __init__( self, name: str, reg_number: str, vat_reg_number: Optional[str] = None, contact_data: Optional[ContactData] = None, account_info: Optional[AccountInfo] = None, ) -> None: <NEW_LIN... | Defines SellerParty involved with the invoice. Differs from the buyer party
by the mandatory register code.
name: Name of the party of the invoice.
reg_number: Registration number of the party.
vat_reg_number: VAT registration number of the party.
contact_data: Contact information of the party (phone n... | 62598fc397e22403b383b1bb |
class IllegalMinuteWarning(Warning): <NEW_LINE> <INDENT> def __init__(self, minute, alternativeactionstr=None): <NEW_LINE> <INDENT> self.minute = minute <NEW_LINE> self.alternativeactionstr = alternativeactionstr <NEW_LINE> <DEDENT> def __str__(self): <NEW_LINE> <INDENT> message = "'minute' was found to be '{0}', whic... | Raised when a minute value is 60.
Parameters
----------
minute : int, float | 62598fc376e4537e8c3ef857 |
class RoleExclusion(Exclusion): <NEW_LINE> <INDENT> role = models.CharField(max_length=25, choices=role_options) <NEW_LINE> event = models.ForeignKey('gbe.Event', blank=True, null=True) <NEW_LINE> def __unicode__(self): <NEW_LINE> <INDENT> describe = self.role <NEW_LINE> if self.event: <NEW_LINE> <INDENT> describe += "... | This is the implementation of the case under which we don't give a ticket
because of the event that the person is participating in. This is largely
because we know the person will not be able to participate in an event
they are contributing to - for example a performer in a show.
If no event, then the implication is ... | 62598fc45fc7496912d483d4 |
class Solution: <NEW_LINE> <INDENT> def predictPartyVictory(self, senate): <NEW_LINE> <INDENT> Q = collections.deque() <NEW_LINE> people = [0, 0] <NEW_LINE> ban = [0, 0] <NEW_LINE> for s in senate: <NEW_LINE> <INDENT> x = s == 'R' <NEW_LINE> people[x] += 1 <NEW_LINE> Q.append(x) <NEW_LINE> <DEDENT> while all(people): <... | @param senate: a string
@return: return a string | 62598fc4283ffb24f3cf3b37 |
class SampleData(object): <NEW_LINE> <INDENT> def __init__(self, fName, name, line, index, coord, data, note="", scale=(1,1), offset=(0,0)): <NEW_LINE> <INDENT> self.file=fName <NEW_LINE> self.coord=coord <NEW_LINE> self.data=data <NEW_LINE> self.name=name <NEW_LINE> self.__line=line <NEW_LINE> self.index=index <NEW_LI... | Data from a sample-set | 62598fc40fa83653e46f5199 |
class TestSpecificScenarios(unittest.TestCase): <NEW_LINE> <INDENT> def test_four_move_check_mate(self): <NEW_LINE> <INDENT> chess_board = Board() <NEW_LINE> chess_board.move_piece('E2', 'E4') <NEW_LINE> chess_board.move_piece('E7', 'E5') <NEW_LINE> chess_board.move_piece('F1', 'C4') <NEW_LINE> chess_board.move_piece('... | These are additional tests to check specific scenarios noticed during manual testing. | 62598fc47c178a314d78d752 |
class FilterRoutingRegion(Region): <NEW_LINE> <INDENT> def __init__(self, keyspace_routes, filter_routing_tag="filter_routing", index_field="index"): <NEW_LINE> <INDENT> self.keyspace_routes = keyspace_routes <NEW_LINE> self.filter_routing_tag = filter_routing_tag <NEW_LINE> self.index_field = index_field <NEW_LINE> <D... | Region of memory which maps routing entries to filter indices.
Attributes
----------
keyspace_routes : [(BitField, int), ...]
Pairs of BitFields (keyspaces) to the index of the filter that packets
matching the entry should be routed. | 62598fc4167d2b6e312b722a |
class Zidan(object): <NEW_LINE> <INDENT> def __init__(self,sha_shang_li): <NEW_LINE> <INDENT> super(Zidan,self).__init__() <NEW_LINE> self.sha_shang_li = sha_shang_li <NEW_LINE> <DEDENT> def dazhong(self,diren): <NEW_LINE> <INDENT> diren.diao_xue(self.sha_shang_li) | 子弹 | 62598fc44c3428357761a570 |
class CGGenericGetter(CGAbstractBindingMethod): <NEW_LINE> <INDENT> def __init__(self, descriptor, lenientThis=False): <NEW_LINE> <INDENT> args = [Argument('*mut JSContext', 'cx'), Argument('libc::c_uint', 'argc'), Argument('*mut JSVal', 'vp')] <NEW_LINE> if lenientThis: <NEW_LINE> <INDENT> name = "genericLenientGetter... | A class for generating the C++ code for an IDL attribute getter. | 62598fc4f9cc0f698b1c542b |
class Jump(): <NEW_LINE> <INDENT> def __init__(self, y, x): <NEW_LINE> <INDENT> self.string = '\033[%i;%iH' % (y, x) <NEW_LINE> <DEDENT> def __str__(self): <NEW_LINE> <INDENT> return self.string <NEW_LINE> <DEDENT> def __call__(self): <NEW_LINE> <INDENT> print(self.string, end = '') | Create a cursor jump that can either be included in a print statement
as a string or invoked
@param y:int The row, 1 based
@param x:int The column, 1 based
@string :str|()→void Functor that can be treated as a string for jumping | 62598fc4956e5f7376df57d8 |
class TestCollectdPluginRead(BaseTestCollectdPlugin): <NEW_LINE> <INDENT> @patch.object(collectd_plugin.rabbit.RabbitMQStats, 'get_vhosts') <NEW_LINE> def test_read(self, mock_vhosts): <NEW_LINE> <INDENT> mock_vhosts.return_value = [dict(name='test_vhost')] <NEW_LINE> dispatch_nodes = MagicMock() <NEW_LINE> dispatch_qu... | Test that the read method dispatches the proper data. | 62598fc4bf627c535bcb175b |
class LegacyAddressMapper(AddressMapper): <NEW_LINE> <INDENT> def __init__(self, scheduler, engine, build_root): <NEW_LINE> <INDENT> self._scheduler = scheduler <NEW_LINE> self._engine = engine <NEW_LINE> self._build_root = build_root <NEW_LINE> <DEDENT> def scan_build_files(self, base_path): <NEW_LINE> <INDENT> subjec... | Provides an implementation of AddressMapper using v2 engine.
This allows tasks to use the context's address_mapper when the v2 engine is enabled. | 62598fc4d486a94d0ba2c285 |
class FauxSocket: <NEW_LINE> <INDENT> def _reuse(self): <NEW_LINE> <INDENT> pass | Faux socket with the minimal interface required by pypy. | 62598fc4ff9c53063f51a902 |
class PorukaView(View): <NEW_LINE> <INDENT> def __init__(self, poruka): <NEW_LINE> <INDENT> View.__init__(self) <NEW_LINE> self.poruka=poruka <NEW_LINE> <DEDENT> def showChild(self): <NEW_LINE> <INDENT> self.ispis(self.poruka) <NEW_LINE> self.unos("Unesite Enter za dalje...") | classdocs | 62598fc4a05bb46b3848ab20 |
class Richards_lateral(lateral_sub_surface_flux): <NEW_LINE> <INDENT> thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') <NEW_LINE> __repr__ = _swig_repr <NEW_LINE> flow_thickness = _swig_property(_cmf_core.Richards_lateral_flow_thickness_get, _cmf_core.Richards_late... | Calculates the flux using Richard's equation for adjacent layers
.. math::
q_{lat} = \frac{\Psi_1 - \Psi_2}{\|C_1-C_2\|}
K(\theta) A
where:
:math:`q_{lat}` the lateral flow in :math:`m^3/day`
:math:`\Psi_i` the head of node i
:math:`\|C_1-C_2\|` is the distance from Cell 1 to Cell 2
:math:`K(\theta_{1... | 62598fc4be7bc26dc9251fb6 |
class Solution1: <NEW_LINE> <INDENT> def productExceptSelf(self, nums): <NEW_LINE> <INDENT> n = len(nums) <NEW_LINE> from_left = [1] * n <NEW_LINE> from_right = [1] * n <NEW_LINE> res = [1] * n <NEW_LINE> for i in range(1, n): <NEW_LINE> <INDENT> from_left[i] = nums[i - 1] * from_left[i - 1] <NEW_LINE> <DEDENT> for i i... | @param nums: an array of integers
@return: the product of all the elements of nums except nums[i]. | 62598fc4656771135c489924 |
class ConflictingValues(ValueError): <NEW_LINE> <INDENT> pass | Raised when an incoming value collides with an existing value.
In one sense, it is both a KeyError and a ValueError. | 62598fc42c8b7c6e89bd3a78 |
class ColoredFormatter(logging.Formatter): <NEW_LINE> <INDENT> def __init__(self, fmt=None, datefmt=None, level_styles=None, field_styles=None): <NEW_LINE> <INDENT> self.nn = NameNormalizer() <NEW_LINE> fmt = fmt or DEFAULT_LOG_FORMAT <NEW_LINE> datefmt = datefmt or DEFAULT_DATE_FORMAT <NEW_LINE> self.level_styles = se... | Log :class:`~logging.Formatter` that uses `ANSI escape sequences`_ to create colored logs. | 62598fc45166f23b2e243696 |
class Insertion(object): <NEW_LINE> <INDENT> def __init__(self, element, location, offset, s): <NEW_LINE> <INDENT> self.element = element <NEW_LINE> self.location = location <NEW_LINE> self.offset = offset <NEW_LINE> self.s = s <NEW_LINE> <DEDENT> def __str__(self): <NEW_LINE> <INDENT> return repr(self) <NEW_LINE> <DED... | An object representing inserting `s` into text of `element` at `offset`. | 62598fc4283ffb24f3cf3b3a |
class IParentTitleAsCreator(form.Schema): <NEW_LINE> <INDENT> containers_as_creators = schema.Tuple( title=_(u'label_containers_as_creators', default=u'List Content Types for Parent\'s Title as Creator'), description=_( u'help_containers_as_creators', default=(u'List each content type in a new line. ' u'Enable Parent\'... | Define controlpanel Data data structure | 62598fc4aad79263cf42ea8b |
@implementer(ISplitter) <NEW_LINE> class Splitter(object): <NEW_LINE> <INDENT> rx = re.compile(r"(?u)\w+") <NEW_LINE> rxGlob = re.compile(r"(?u)\w+[\w*?]*") <NEW_LINE> def process(self, lst): <NEW_LINE> <INDENT> result = [] <NEW_LINE> for s in lst: <NEW_LINE> <INDENT> result += self.rx.findall(s) <NEW_LINE> <DEDENT> re... | A simple :class:`zope.index.text.interfaces.ISplitter`. | 62598fc4851cf427c66b856b |
class BaseDistOptimizer(BaseOptimizer): <NEW_LINE> <INDENT> construct_initial = BaseOptimizer.construct_uniform_initial <NEW_LINE> def __init__(self, dist, marginals, rv_mode=None): <NEW_LINE> <INDENT> super().__init__(dist, dist.rvs, crvs=[], rv_mode='indices') <NEW_LINE> self._all_vars = self._rvs <NEW_LINE> self.dis... | Calculate an optimized distribution consistent with the given marginal constraints. | 62598fc45fdd1c0f98e5e249 |
class QuarterHPI(struct): <NEW_LINE> <INDENT> _slots = ((int, 'year'),(int, 'qtr'),(float, 'index')) | QuarterHPI class | 62598fc450812a4eaa620d40 |
class YamlOutputHandler(output.CementOutputHandler): <NEW_LINE> <INDENT> class Meta: <NEW_LINE> <INDENT> interface = output.IOutput <NEW_LINE> label = 'yaml' <NEW_LINE> <DEDENT> def __init__(self, *args, **kw): <NEW_LINE> <INDENT> super(YamlOutputHandler, self).__init__(*args, **kw) <NEW_LINE> self.config = None <NEW_L... | This class implements the :ref:`IOutput <cement.core.output>`
interface. It provides YAML output from a data dictionary and uses
`pyYAML <http://pyyaml.org/wiki/PyYAMLDocumentation>`_ to dump it to
STDOUT.
Note: The cement framework detects the '--yaml' option and suppresses
output (same as if passing --quiet). Ther... | 62598fc4adb09d7d5dc0a832 |
class LiveChatWindow(): <NEW_LINE> <INDENT> @skip('manual') <NEW_LINE> @priority("Low") <NEW_LINE> def test_live_chat_minimaze_or_maximize(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> @skip('manual') <NEW_LINE> @priority("Low") <NEW_LINE> def test_live_chat_close(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDEN... | Story: Окно LiveChat | 62598fc426068e7796d4cc12 |
class CausalMeanValueImputation(MissingValueImputation): <NEW_LINE> <INDENT> def __call__(self, values: np.ndarray) -> np.ndarray: <NEW_LINE> <INDENT> if len(values) == 1 or np.isnan(values).all(): <NEW_LINE> <INDENT> return DummyValueImputation()(values) <NEW_LINE> <DEDENT> mask = np.isnan(values) <NEW_LINE> last_valu... | This class replaces each missing value with the average of all the values up to this point.
(If the first values are missing, they are replaced by the closest non missing value.) | 62598fc4f548e778e596b855 |
class FileSynchronisation(Synchronisation): <NEW_LINE> <INDENT> def __init__(self, source: str, destination: str, overwrite: bool=False): <NEW_LINE> <INDENT> self.source = source <NEW_LINE> self.destination = destination <NEW_LINE> self.overwrite = overwrite | File synchronisation configuration. | 62598fc4656771135c489926 |
class RedisBackend(KeyValueStoreBackend): <NEW_LINE> <INDENT> redis = redis <NEW_LINE> host = 'localhost' <NEW_LINE> port = 6379 <NEW_LINE> db = 0 <NEW_LINE> password = None <NEW_LINE> max_connections = None <NEW_LINE> supports_native_join = True <NEW_LINE> implements_incr = True <NEW_LINE> def __init__(self, host=None... | Redis task result store. | 62598fc499fddb7c1ca62f48 |
class VALue(SCPINode, SCPISet): <NEW_LINE> <INDENT> __slots__ = () <NEW_LINE> _cmd = "VALue" <NEW_LINE> args = ["1"] | DIGital:SKEW:VALue
Arguments: 1 | 62598fc44a966d76dd5ef18c |
class SubtractMaximumDatasetPlugin(_OneOutputDatasetPlugin): <NEW_LINE> <INDENT> menu = (_('Subtract'), _('Maximum'),) <NEW_LINE> name = 'Subtract Maximum' <NEW_LINE> description_short = _('Subtract maximum from dataset') <NEW_LINE> description_full = _('Subtract the maximum value from a dataset') <NEW_LINE> def __init... | Dataset plugin to subtract minimum from dataset. | 62598fc463b5f9789fe8542b |
class CreateMirror12Test(BaseTest): <NEW_LINE> <INDENT> runCmd = "aptly mirror create --keyring=aptlytest.gpg mirror12 http://mirror.yandex.ru/debian/ squeeze" <NEW_LINE> fixtureGpg = False <NEW_LINE> gold_processor = BaseTest.expand_environ <NEW_LINE> outputMatchPrepare = lambda _, s: re.sub(r'Signature made .* using|... | create mirror: repo with Release+Release.gpg verification, failure | 62598fc497e22403b383b1c1 |
class TestFillCyclicInitZero(GridFillTest): <NEW_LINE> <INDENT> cyclic = True <NEW_LINE> initzonal = False | Cyclic, initialized with zeros. | 62598fc4ad47b63b2c5a7b0f |
class LinearDecayGreedyEpsilonPolicy(GreedyEpsilonPolicy): <NEW_LINE> <INDENT> def __init__(self, start_eps, end_eps, num_steps): <NEW_LINE> <INDENT> super(LinearDecayGreedyEpsilonPolicy, self).__init__(start_eps) <NEW_LINE> self.num_steps = num_steps <NEW_LINE> self.decay_rate = (start_eps - end_eps) / float(num_steps... | Policy with a parameter that decays linearly.
Like GreedyEpsilonPolicy but the epsilon decays from a start value
to an end value over k steps.
Parameters
----------
start_value: int, float
The initial value of the parameter
end_value: int, float
The value of the policy at the end of the decay.
num_steps: int
Th... | 62598fc43d592f4c4edbb16f |
class SFQClass(_BasicFilterHTBClass): <NEW_LINE> <INDENT> perturb = None <NEW_LINE> def __init__(self, perturb=10, *args, **kwargs): <NEW_LINE> <INDENT> self.perturb = perturb <NEW_LINE> super().__init__(*args, **kwargs) <NEW_LINE> <DEDENT> def _add_qdisc(self): <NEW_LINE> <INDENT> tools.qdisc_add(self._interface, pare... | HTB class with a SFQ qdisc builtin | 62598fc4283ffb24f3cf3b3c |
class UserEditForm(forms.ModelForm): <NEW_LINE> <INDENT> class Meta: <NEW_LINE> <INDENT> model = Identity <NEW_LINE> fields = ('first_name', 'last_name', 'email', ) | Edit user model form | 62598fc4f9cc0f698b1c542d |
class ActivityNotFound(Exception): <NEW_LINE> <INDENT> pass | Raised when the activity is not present in the aggregated Activity | 62598fc47cff6e4e811b5cdd |
class MSVCModule(Package, DownloadableModule): <NEW_LINE> <INDENT> type = 'msvc' <NEW_LINE> PHASE_CHECKOUT = DownloadableModule.PHASE_CHECKOUT <NEW_LINE> PHASE_FORCE_CHECKOUT = DownloadableModule.PHASE_FORCE_CHECKOUT <NEW_LINE> PHASE_BUILD = 'build' <NEW_LINE> PHASE_INSTALL = 'install' <NEW_LINE> def __init__(self, nam... | Base type for modules that use MSBuild build system. | 62598fc4ec188e330fdf8b4c |
class ButtonsGuiMixin: <NEW_LINE> <INDENT> buttons = [] <NEW_LINE> def deactivate_buttons(self): <NEW_LINE> <INDENT> for b in self.buttons: <NEW_LINE> <INDENT> b['state'] = tkinter.DISABLED <NEW_LINE> <DEDENT> <DEDENT> def activate_buttons(self): <NEW_LINE> <INDENT> for b in self.buttons: <NEW_LINE> <INDENT> b['state']... | The class shall add the Tkinter buttons to the self.buttons array | 62598fc4d486a94d0ba2c289 |
class TurnoverPartner(Report): <NEW_LINE> <INDENT> _name = "ekd.balances.party.turnovers" <NEW_LINE> def parse(self, report, objects, datas, localcontext={}): <NEW_LINE> <INDENT> tmp_objects = [] <NEW_LINE> tmp_account = [] <NEW_LINE> context = Transaction().context <NEW_LINE> user = self.pool.get('res.user').browse(T... | Turnover parties | 62598fc4f548e778e596b857 |
class AttentionWithContext(Layer): <NEW_LINE> <INDENT> def __init__(self, hidden_dim=300, W_regularizer=None, u_regularizer=None, b_regularizer=None, W_constraint=None, u_constraint=None, b_constraint=None, bias=True, **kwargs): <NEW_LINE> <INDENT> self.dim = hidden_dim <NEW_LINE> self.supports_masking = True <NEW_LINE... | Attention operation, with a context/query vector, for temporal data.
Supports Masking.
Follows the work of Yang et al. [https://www.cs.cmu.edu/~diyiy/docs/naacl16.pdf]
"Hierarchical Attention Networks for Document Classification"
by using a context vector to assist the attention
# Input shape
3D tensor with shape: ... | 62598fc4099cdd3c6367553e |
class SimpleStatus: <NEW_LINE> <INDENT> def __init__(self, *, done=False, success=False): <NEW_LINE> <INDENT> super().__init__() <NEW_LINE> self._lock = RLock() <NEW_LINE> self._cb = None <NEW_LINE> self.done = done <NEW_LINE> self.success = success <NEW_LINE> <DEDENT> def _finished(self, success=True, **kwargs): <NEW_... | This provides a single-slot callback for when the operation has finished.
It is "simple" because it does not support a timeout or a settling time. | 62598fc4be7bc26dc9251fb8 |
class Spider(object): <NEW_LINE> <INDENT> start_urls = [] <NEW_LINE> def start_requests(self): <NEW_LINE> <INDENT> for url in self.start_urls: <NEW_LINE> <INDENT> yield Request(url, callback="parse") <NEW_LINE> <DEDENT> <DEDENT> def parse(self, response): <NEW_LINE> <INDENT> raise Exception("Must overwrite parse func") | 框架提供的Spider爬虫原型类,用户可以通过继承 重写类属性和类方法 | 62598fc44f88993c371f0667 |
class Profile(object): <NEW_LINE> <INDENT> import lnt.testing.profile <NEW_LINE> def __init__(self, impl): <NEW_LINE> <INDENT> assert isinstance(impl, ProfileImpl) <NEW_LINE> self.impl = impl <NEW_LINE> <DEDENT> @staticmethod <NEW_LINE> def fromFile(f): <NEW_LINE> <INDENT> for impl in lnt.testing.profile.IMPLEMENTATION... | Profile objects hold a performance profile.
The Profile class itself is a thin wrapper around a ProfileImpl
object, which is what actually holds, reads, writes and dispenses
the profile information. | 62598fc499fddb7c1ca62f49 |
class StrArray(object): <NEW_LINE> <INDENT> def __init__(self, l): <NEW_LINE> <INDENT> if not isinstance(l, list): <NEW_LINE> <INDENT> raise TypeError("Value must be a list") <NEW_LINE> <DEDENT> arr = ffi.new('git_strarray *') <NEW_LINE> strings = [None] * len(l) <NEW_LINE> for i in range(len(l)): <NEW_LINE> <INDENT> i... | A git_strarray wrapper
Use this in order to get a git_strarray* to pass to libgit2 out of a
list of strings. This has a context manager, which you should use, e.g.
with StrArray(list_of_strings) as arr:
C.git_function_that_takes_strarray(arr) | 62598fc471ff763f4b5e7a36 |
class Append(Actor): <NEW_LINE> <INDENT> @manage() <NEW_LINE> def init(self, inside_base): <NEW_LINE> <INDENT> self.inside_base = bool(inside_base) <NEW_LINE> self.use('calvinsys.native.python-os-path', shorthand='path') <NEW_LINE> <DEDENT> def gen_path(self, base, append): <NEW_LINE> <INDENT> base = self['path'].abspa... | Append 'append' to 'base'.
If inside_base is true, generate an error status if
resulting path is not inside 'base' directory.
Inputs:
base : Base path
append : Relative path
Outputs:
path : Absolute path formed from 'base' + 'append', or 'base' on error
error : True if checking enabled and not inside 'base' (... | 62598fc497e22403b383b1c3 |
class NScript(): <NEW_LINE> <INDENT> def extract(): <NEW_LINE> <INDENT> file_all = os.listdir('input') <NEW_LINE> data = open_file_b('input/nscript.dat') <NEW_LINE> if 'decoded' not in file_all: <NEW_LINE> <INDENT> data = bytearray(data) <NEW_LINE> idx = 0 <NEW_LINE> while idx < len(data): <NEW_LINE> <INDENT> data[idx]... | textouta
createfonta push 0x80 -> push 0x86 | 62598fc4d486a94d0ba2c28b |
class Location: <NEW_LINE> <INDENT> def __init__(self, x, y, z): <NEW_LINE> <INDENT> self.x = x <NEW_LINE> self.y = y <NEW_LINE> self.z = z <NEW_LINE> <DEDENT> def __getitem__(self, item): <NEW_LINE> <INDENT> assert 0 <= item <= 2 <NEW_LINE> if item == 0: <NEW_LINE> <INDENT> return self.z <NEW_LINE> <DEDENT> if item ==... | A coordinate location | 62598fc423849d37ff85136d |
class HomeKitHumidifier(HomeKitEntity, HumidifierEntity): <NEW_LINE> <INDENT> _attr_device_class = HumidifierDeviceClass.HUMIDIFIER <NEW_LINE> def get_characteristic_types(self) -> list[str]: <NEW_LINE> <INDENT> return [ CharacteristicsTypes.ACTIVE, CharacteristicsTypes.CURRENT_HUMIDIFIER_DEHUMIDIFIER_STATE, Characteri... | Representation of a HomeKit Controller Humidifier. | 62598fc450812a4eaa620d42 |
class AgeFitnessOrganism(Organism): <NEW_LINE> <INDENT> @comparable <NEW_LINE> def __cmp__(self, other): <NEW_LINE> <INDENT> return cmp(self.fitness(), other.fitness()) <NEW_LINE> <DEDENT> def fitness(self): <NEW_LINE> <INDENT> return self.age <NEW_LINE> <DEDENT> phenotypes = {Challenge: fitness} | An organism with no genotype whose fitness is the same as its age | 62598fc44527f215b58ea18a |
class HikesView(CategoryRegion, ListView): <NEW_LINE> <INDENT> model = Hike <NEW_LINE> queryset = Hike.objects.filter(draft=False) | List of hikes | 62598fc4adb09d7d5dc0a836 |
class ReLU(): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.params = [] <NEW_LINE> <DEDENT> def forward(self, X): <NEW_LINE> <INDENT> self.X = X <NEW_LINE> return np.maximum(X, 0) <NEW_LINE> <DEDENT> def backward(self, dout): <NEW_LINE> <INDENT> dX = dout.copy() <NEW_LINE> dX[self.X <= 0] = 0 <NEW_LI... | Implements activation function rectified linear unit (ReLU)
ReLU activation function is defined as the positive part of
its argument. Todo: insert arxiv paper reference | 62598fc4fff4ab517ebcdaa1 |
class HookResult(object): <NEW_LINE> <INDENT> def __init__(self, hook, project, commit, error, files=(), fixup_func=None): <NEW_LINE> <INDENT> self.hook = hook <NEW_LINE> self.project = project <NEW_LINE> self.commit = commit <NEW_LINE> self.error = error <NEW_LINE> self.files = files <NEW_LINE> self.fixup_func = fixup... | A single hook result. | 62598fc4656771135c48992a |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.