text
string
label
int64
{'name': 'Product.copy_default_variation@cartridge/shop/models.py', 'description': 'Copies the price and image fields from the default variation\nwhen the product is updated via the change view.', 'signature': 'def copy_default_variation(self):'}</s>{'name': 'Product@cartridge/shop/models.py', 'description': "Container...
1
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCHT_AMQP = 11
0
{'name': 'Placeholders_Calls.test1@Cheetah/Tests/SyntaxAndOutput.py', 'description': 'func placeholder - no ()', 'signature': 'def test1(self):'}</s>{'name': 'IfDirective@Cheetah/Tests/SyntaxAndOutput.py', 'description': 'DOCSTRING', 'base_classes': ['OutputTest'], 'methods': [{'name': 'IfDirective.test1@Cheetah/Tests/...
0
{'name': 'TestQLinearGradientConformer.test_conform_vars_str@tests/test_conformers.py', 'description': 'QLinearGradientConformer qss with vars to scss.', 'signature': 'def test_conform_vars_str(self):'}</s>{'name': 'NotConformer@qtsass/conformers.py', 'description': 'Conform QSS "!" in selectors.', 'base_classes': ['Co...
0
{'name': 'fill_filter_mosaics@grizli/pipeline/auto_script.py', 'description': 'Fill field mosaics with the average value taken from other filters so that all images have the same coverage\n\nParameters\n----------\nfield_root : str', 'signature': 'def fill_filter_mosaics(field_root):'}</s>{'name': 'fine_alignment@grizl...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCMDL_LEVEL_912 = 912
0
{'name': 'Filter.method@django_filters/filters.py', 'description': "Filter method needs to be lazily resolved, as it may be dependent on\nthe 'parent' FilterSet.", 'signature': 'def method():'}</s>{'name': 'get_model_field@django_filters/utils.py', 'description': "Get a ``model`` field, traversing relationships\nin the...
0
{'name': 'http_list@icesat2_toolkit/utilities.py', 'description': "List a directory on an Apache http Server\n\nParameters\n----------\nHOST: str or list\n remote http host path\ntimeout: int or NoneType, default None\n timeout in seconds for blocking operations\ncontext: obj, default ssl.SSLContext(ssl.PROTOCOL_...
0
{'name': '_download_and_parse_google_drive_link@gdown/download_folder.py', 'description': 'Get folder structure of Google Drive folder URL.', 'signature': 'def _download_and_parse_google_drive_link('}</s>GoogleDriveFileToDownload = collections.namedtuple( "GoogleDriveFileToDownload", ("id", "path", "local_path") )
0
{'name': 'main._generate_dos@mcu/qe/qe.py', 'description': "Processing/collecting the DOS data before the plotting function\n\nTDOS dimensions: [spin , [E(eV), tdos(E)]]\n\nspin : spin of DOS.\nlm : string or a list of string, e.g. 'Ni:s' or ['Ni:s','C:s,px,pz']", 'signature': 'def _generate_dos...
0
{'name': 'Layer.to_drawing@discopy/monoidal.py', 'description': 'Called before :meth:`Diagram.draw`. ', 'signature': 'def to_drawing(self) -> Diagram:'}</s>{'name': 'Category@discopy/monoidal.py', 'description': 'A monoidal category is a category with a method :code:`tensor`.\n\nParameters:\n ob : The type of object...
0
{'name': 'render_git_describe@versioneer.py', 'description': "TAG[-DISTANCE-gHEX][-dirty].\n\nLike 'git describe --tags --dirty --always'.\n\nExceptions:\n1: no tags. HEX[-dirty] (note: no 'g' prefix)", 'signature': 'def render_git_describe(pieces):'}</s>CONFIG_ERROR = " setup.cfg is missing the necessary Versioneer c...
0
{'name': 'TopLevelMixin.repeat@altair/vegalite/v5/api.py', 'description': "Return a RepeatChart built from the chart\n\nFields within the chart can be set to correspond to the row or\ncolumn using `alt.repeat('row')` and `alt.repeat('column')`.\n\nParameters\n----------\nrepeat : list\n a list of data column names t...
0
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name...
0
{'name': 'genesets@pipelines/pipeline_scxl.py', 'description': 'Intermediate target to run geneset tasks', 'signature': 'def genesets(infile, outfile):'}</s>{'name': 'characteriseClusterMarkersBetweenConditions@pipelines/pipeline_scxl.py', 'description': 'Characterise within-cluster DE genes.\n\nDiagnostic summary plot...
0
{'name': 'to_pytorch_type@python/taichi/lang/util.py', 'description': 'Convert taichi data type to its counterpart in torch.\n\nArgs:\n dt (DataType): The desired data type to convert.\n\nReturns:\n DataType: The counterpart data type in torch.', 'signature': 'def to_pytorch_type(dt):'}</s>{'name': 'static_print@...
0
{'name': '_test_core@ci/weekly/test_stac_creation.py', 'description': 'Core function testing all data\n\nArgs:\n pattern (str): Pattern of the satellite\n prod_dir (str): Product directory\n debug (bool): Debug option', 'signature': 'def _test_core('}</s>{'name': 'OpticalProduct@eoreader/products/optical/optic...
1
{'name': 'aprint@art/functions.py', 'description': 'Print 1-line art.\n\n:param artname: art name\n:type artname : str\n:param number: number of repeats\n:type number: int\n:param space: space between arts\n:type space: int\n:return: None', 'signature': 'def aprint(artname, number=1, space=1):'}</s>CHR_IGNORE_TYPE_ERRO...
0
{'name': 'expand_pairs@pairtools/lib/parse.py', 'description': 'Perform combinatorial expansion of the pairs.\n\nParameters\n----------\npairs_list: List of formatted pairs (triplets: algn1, algn2, pair_index).\nmax_expansion_depth: maximum depth of expansion; all by default (None),\n number will enforce...
0
{'name': 'TestAdminTree.test_result_tree@treebeard/tests/test_treebeard.py', 'description': 'Verifies that inclusion tag result_list generates a table when with\ndefault ModelAdmin settings.', 'signature': 'def test_result_tree(self, model_without_proxy):'}</s>{'name': 'TestAddChild@treebeard/tests/test_treebeard.py', ...
0
{'name': 'test_list_validation_messages@voluptuous/tests/tests.py', 'description': 'Make sure useful error messages are available', 'signature': 'def test_list_validation_messages():'}</s>{'name': 'test_schema_decorator_return_only_unmatch@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': 'def test_schema...
0
{'name': 'run_random_climate@oggm/core/flowline.py', 'description': 'Runs the random mass balance model for a given number of years.\n\nThis will initialize a\n:py:class:`oggm.core.massbalance.MultipleFlowlineMassBalance`,\nand run a :py:func:`oggm.core.flowline.flowline_model_run`.\n\nParameters\n----------\ngdir : :p...
0
{'name': 'TarFile.gettarinfo@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/distlib/_backport/tarfile.py', 'description': "Create a TarInfo object for either the file `name' or the file\nobject `fileobj' (using os.fstat on its file descriptor). You can\nmodify some of the TarInfo's attributes before you add it...
0
{'name': 'TopLevelMixin.transform_fold@altair/vegalite/v5/api.py', 'description': 'Add a FoldTransform to the spec.\n\nParameters\n----------\nfold : List(string)\n An array of data fields indicating the properties to fold.\nas : [string, string]\n The output field names for the key and value properties produced ...
0
{'name': 'geticmptypebynumber@pf/_utils.py', 'description': 'Return the ICMP type as a string.', 'signature': 'def geticmptypebynumber(type, af):'}</s>PFTM_ICMP_ERROR_REPLY = 10
0
{'name': 'load@source-builder/sb/options.py', 'description': 'Copy the defaults, get the host specific values and merge them overriding\nany matching defaults, then create an options object to handle the command\nline merging in any command line overrides. Finally post process the\ncommand line.', 'signature': "def loa...
0
{'name': 'ServiceBrowser.__init__@stino/pyarduino/base/zeroconf.py', 'description': 'Creates a browser for a specific type', 'signature': 'def __init__(self, zc, type, listener):'}</s>{'name': 'DNSRecord@stino/pyarduino/base/zeroconf.py', 'description': 'A DNS record - like a DNS entry, but has a TTL', 'base_classes': ...
0
{'name': 'ShapeTrainer.set_optimization_variables@experiments/smal_shape.py', 'description': 'Sets as optimization variables those obtained as prediction from the network', 'signature': 'def set_optimization_variables(self):'}</s>{'name': 'mask_data_loader@data/zebra.py', 'description': 'DOCSTRING', 'code': "def mask_d...
0
{'name': 'GroupFitter.xfit_redshift@grizli/fitting.py', 'description': 'Two-step procedure for fitting redshifts\n\n1. polynomial, spline template fits\n2. redshift grids\n3. ...\n\nParameters\n----------\nprior : None, (array, array)\n Redshift prior (z, pz). Will be interpolated to the redshift\n fit grid\n\nt...
0
{'name': '_http_info_changed@custom_components/meross_cloud/__init__.py', 'description': 'Tells when a new device is discovered among the known ones', 'signature': 'def _http_info_changed(known: Collection[HttpDeviceInfo], discovered: Collection[HttpDeviceInfo]) -> bool:'}</s>HA_SWITCH = "switch"
0
{'name': 'LayoutViewSet.download_layout@vulfocus-api/layout_image/views.py', 'description': '下载环境编排压缩包\n:param request:\n:param pk:\n:return:', 'signature': 'def download_layout(self, request, pk=None):'}</s>{'name': 'create_share_image_task@vulfocus-api/tasks/tasks.py', 'description': '创建共享镜像任务\n:param image_info: 镜像信...
0
{'name': 'SFTuner.prepare_dataset@text2text/sft.py', 'description': 'Prepare training (and eval) dataset.', 'signature': 'def prepare_dataset(self, '}</s>{'name': 'DataTrainingArguments@text2text/sft.py', 'description': 'Defines and stores t2t default values for data args.', 'base_classes': [], 'methods': []}
1
{'name': 'TrainCtx._on_backward@persia/ctx.py', 'description': "Update the embeddings' gradients\n\nArguments:\n loss_scale (float): the loss that scaled by GradScalar, loss_scale always equal\n to 1 for cpu training scenes.\n embedding_gradient_check_frequency (int): the frequency to check gradient finite...
0
{'name': 'GTestJsonOutputUnitTest._GetJsonOutput@Engine/lib/gtest/googletest/test/googletest-json-output-unittest.py', 'description': "Returns the JSON output generated by running the program gtest_prog_name.\n\nFurthermore, the program's exit code must be expected_exit_code.\n\nArgs:\n gtest_prog_name: Google Test bi...
0
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im...
0
{'name': 'DataModule.__init__@src/Pix2Pix/Pix2Pix-PL.py', 'description': 'Parameters:\n url: Download URL of the dataset\n root_dir: Root dir where dataset needs to be downloaded\n img_sz: Size of the Image\n trn_batch_sz: Training Batch Size\n tst_batch_sz: Test Batch Size', 'signatur...
1
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_CHANNEL_NOT_ACTIVE = 4064
0
{'name': 'Work.kudos@AO3/works.py', 'description': 'Returns the number of kudos this work has\n\nReturns:\n int: number of kudos', 'signature': 'def kudos(self):'}</s>{'name': 'collect@AO3/utils.py', 'description': 'Invites a work to a collection. Be careful, you can collect a work multiple times\n\nArgs:\n work ...
0
{'name': 'create_audio_envelope_waveform@avgn/segment_song/wav_to_syllables.py', 'description': 'Creates an audio envelope from waveform', 'signature': 'def create_audio_envelope_waveform(waveform, wav_spectrogram, downsampled_rate,'}</s>{'name': 'pretty_spectrogram@avgn/spectrogramming/make_spec.py', 'description': 'c...
0
{'name': 'w_pb_fs@disdat/hyperframe.py', 'description': "Write the pb contained in the xxxRecord.\n\nNote: If atomic=True, in almost all cases there won't actually be another file with\nthis name. But if there is, this will atomically replace the file with the new version.\n\nNote: Atomicity means we won't have a corr...
0
{'name': 'SyncMaster.register_slave@third_party/sync_batchnorm/comm.py', 'description': 'Register an slave device.\n\nArgs:\n identifier: an identifier, usually is the device id.\n\nReturns: a `SlavePipe` object which can be used to communicate with the master device.', 'signature': 'def register_slave(self, identif...
1
{'name': 'transform_value@fhirpy/base/searchset.py', 'description': ">>> transform_value(datetime.datetime(2019, 1, 1, tzinfo=pytz.utc))\n'2019-01-01T00:00:00Z'\n\n>>> transform_value(datetime.date(2019, 1, 1))\n'2019-01-01'\n\n>>> transform_value(True)\n'true'", 'signature': 'def transform_value(value):'}</s>{'name': ...
0
{'name': 'getSyllsFromWav@avgn/segment_song/wav_to_syllables.py', 'description': 'Extract syllables from wav file\n ', 'signature': 'def getSyllsFromWav(row, _mel_basis, wav_time, hparams):'}</s>{'name': 'computeFeatures@avgn/segment_song/preprocessing.py', 'description': 'DOCSTRING', 'code': 'def computeFeatures(da...
0
{'name': 'TextDataLoader.generator_creator@ddparser/parser/data_struct/data.py', 'description': 'Returns a generator, each iteration returns a batch of data', 'signature': 'def generator_creator(self):'}</s>{'name': 'BucketsSampler@ddparser/parser/data_struct/data.py', 'description': 'BucketsSampler', 'base_classes': [...
0
{'name': 'TestObjectsE2E.test_create_alias_a_record@e2e_tests/test_objects.py', 'description': 'Create two A records with different names, but pointing to the same\nipv4addr', 'signature': 'def test_create_alias_a_record(self):'}</s>{'name': 'Vlan@infoblox_client/objects.py', 'description': "Vlan: VLAN object.\nCorresp...
0
{'name': 'art@art/functions.py', 'description': 'Return 1-line art.\n\n:param artname: art name\n:type artname : str\n:param number: number of repeats\n:type number: int\n:param space: space between arts\n:type space: int\n:param __detailed_return: flag for returning the art name\n:type __detailed_return: bool\n:return...
0
{'name': 'build_pspnet50_prior_on_resnet_stem@model_util/pspnet/layers_builder.py', 'description': 'Build PSPNet.', 'signature': "def build_pspnet50_prior_on_resnet_stem(nb_classes, inputs, activation='softmax', is_training=True):"}</s>{'name': 'residual_short@model_util/pspnet/layers_builder.py', 'description': 'DOCST...
1
{'name': 'extract_prices_from_esios_token@aiopvpc/parser.py', 'description': "Parse the contents of an 'indicator' json file from ESIOS API.", 'signature': 'def extract_prices_from_esios_token('}</s>{'name': 'extract_prices_from_esios_public@aiopvpc/parser.py', 'description': 'Parse the contents of a daily PVPC json fi...
0
{'name': 'GDCUploadClient.upload@src/gdc_client/upload/client.py', 'description': 'Upload files to the GDC.', 'signature': 'def upload(self):'}</s>{'name': 'validate@src/gdc_client/upload/manifest.py', 'description': 'Validate a manifest against the current schema.', 'code': 'def validate(manifest, schema=UPLOAD_MANIFE...
0
{'name': 'AttributeErrorTests.test_set_dict_comprehension@didyoumean/didyoumean_sugg_tests.py', 'description': '{} creates a dict and not an empty set leading to errors.', 'signature': 'def test_set_dict_comprehension(self):'}</s>{'name': 'UnboundLocalErrorTests@didyoumean/didyoumean_sugg_tests.py', 'description': 'Cla...
0
{'name': 'XMLElement.get_character_style_range@src/simple_idml/components.py', 'description': 'The applied style may be contained or the container. ', 'signature': 'def get_character_style_range(self):'}</s>IdPkgNS = "http://ns.adobe.com/AdobeInDesign/idml/1.0/packaging"
0
{'name': 'DIETableModel.format_expr@dwex/die.py', 'description': 'expr is a list of parsed operations\n ', 'signature': 'def format_expr(self, expr, len_cutoff = None):'}</s>MAX_INLINE_BYTEARRAY_LEN = 32
0
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be...
0
{'name': 'TypeErrorTests.test_keyword_builtin@didyoumean/didyoumean_sugg_tests.py', 'description': 'A few builtins (like int()) have a different error message.', 'signature': 'def test_keyword_builtin(self):'}</s>MISSINGPOSERROR = (TypeError, re.MISSING_POS_ARG_RE)
0
{'name': 'MatchListener.exitPropTestLike@stix2matcher/matcher.py', 'description': "Consumes an observation data map, {obs_id: {...}, ...}, representing\n selected values from Cyber Observable objects in each observation\n (grouped by observation index and root Cyber Observable object ID).\n See exitObjectPath().\nPr...
0
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQSRO_LENGTH_1 = 16
0
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>PF_POOL_LEASTSTATES = 5
0
{'name': 'skosify@skosify/skosify.py', 'description': 'Convert, extend, and check SKOS vocabulary.', 'signature': 'def skosify(*sources, **config):'}</s>{'name': 'delete_uri@skosify/rdftools/modify.py', 'description': 'Delete all occurrences of uri in the given model.', 'code': 'def delete_uri(rdf, uri):\n """Delete...
0
{'name': 'dumpsource@dill/source.py', 'description': "'dump to source', where the code includes a pickled object.\n\nIf new=True and object is a class instance, then create a new\ninstance using the unpacked class source code. If enclose, then\ncreate the object inside a function enclosure (thus minimizing\nany global ...
0
{'name': 'setup_parser@alert.py', 'description': 'Create an ArgumentParser for alerting.', 'signature': 'def setup_parser():'}</s>_SERVICE_KHANALYTICS = "Khanalytics"
0
{'name': 'asynq@asynq/decorators.py', 'description': 'Async task decorator.\nConverts a method returning generator object to\na method returning AsyncTask object.', 'signature': 'def asynq('}</s>MAX_DUMP_INDENT = 40
0
{'name': 'transName@main/toolkit/src2xml/source/srcparser.py', 'description': 'Translate a mixed-casing name to dash-separated name.\n\nTranslate a mixed-casing name (e.g. MyLongName) to a dash-separated name\n(e.g. my-long-name).', 'signature': 'def transName (name):'}</s>{'name': 'RootNode@main/toolkit/src2xml/source...
0
{'name': 'Expression.statement@da/compiler/dast.py', 'description': 'The first statement parent of this expression, if any.\n\n ', 'signature': 'def statement(self):'}</s>{'name': 'UnaryExpr@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['ArithmeticExpr'], 'methods': [{'name': 'UnaryExpr.__in...
0
{'name': 'TypeAndTypeListTestCase.test@tools/lldb/packages/Python/lldbsuite/test/python_api/type/TestTypeList.py', 'description': 'Exercise SBType and SBTypeList API.', 'signature': 'def test(self):'}</s>{'name': 'is_exe@tools/lldb/packages/Python/lldbsuite/test/lldbutil.py', 'description': 'Returns True if fpath is an...
0
{'name': 'MessageBase.schedule@sitemessage/messages/base.py', 'description': 'Schedules message for a delivery.\nPuts message (and dispatches if any) data into DB.\nReturns a tuple with message model and a list of dispatch models.\n\n:param recipients: recipient (or a list) or None.\n If `None` Dispatches should be ...
0
{'name': 'InitiatorConnector.factory@os_brick/initiator/connector.py', 'description': 'Build a Connector object based upon protocol and architecture.', 'signature': 'def factory(protocol, root_helper, driver=None,'}</s>_ = _translators.primary
1
{'name': 'FinalizeMetadata@tools/releasetools/ota_utils.py', 'description': 'Finalizes the metadata and signs an A/B OTA package.\n\nIn order to stream an A/B OTA package, we need \'ota-streaming-property-files\'\nthat contains the offsets and sizes for the ZIP entries. An example\nproperty-files string is as follows.\...
0
{'name': '_make_json_entry@s2e_env/commands/execution_trace.py', 'description': "Combine a trace entry header and item into a single JSON-serializable\nentry. Return this entry as a ``dict``.\n\nSome things to note:\n * The header's ``size`` field is removed - it is not required in the\n JSON\n * Enums are r...
0
{'name': '_ClassifyInclude@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Figures out what kind of header \'include\' is.\n\nArgs:\n fileinfo: The current file cpplint is running over. A FileInfo instance.\n include: The path to a #included file.\n is_system: True if the #include used <> rather than ""...
0
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
0
{'name': 'KaldiRADataset._load_utt2talabels@src/datasets/kaldi_ra_dataset.py', 'description': 'load mapping of utt-id to time-aligned labels from file(s)', 'signature': 'def _load_utt2talabels(self):'}</s>{'name': 'KaldiRADataset@src/datasets/kaldi_ra_dataset.py', 'description': 'kaldi random access dataset class.\n\n ...
1
{'name': 'ProcessFileData@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strin...
0
{'name': 'CV_score@src/SparseSC/cross_validation.py', 'description': 'Cross fold validation for 1 or more v Penalties, holding the w penalty fixed.', 'signature': 'def CV_score('}</s>{'name': 'score_train_test@src/SparseSC/cross_validation.py', 'description': 'Presents a unified api for ct_v_matrix and loo_v_matrix\nan...
1
{'name': 'render_quoted_form@hy/core/result_macros.py', 'description': 'Render a quoted form as a new hy Expression.\n\n`level` is the level of quasiquoting of the current form. We can\nunquote if level is 0.\n\nReturns a two-tuple (`expression`, `splice`).\n\nThe `splice` return value is used to mark `unquote-splice`d...
0
{'name': 'get_domain_literal@src/future/backports/email/_header_value_parser.py', 'description': 'domain-literal = [CFWS] "[" *([FWS] dtext) [FWS] "]" [CFWS]\n\n ', 'signature': 'def get_domain_literal(value):'}</s>{'name': 'parsedate_to_datetime@src/future/backports/email/utils.py', 'description': 'DOCSTRING', 'cod...
0
{'name': 'Record.body_string@shingetsu/cache.py', 'description': 'Remove attach field.', 'signature': 'def body_string(self):'}</s>search_lock = run_dir + "/touch.txt"
0
{'name': 'IB.cancelOrder@ib_insync/ib.py', 'description': 'Cancel the order and return the Trade it belongs to.\n\nArgs:\n order: The order to be canceled.\n manualCancelOrderTime: For audit trail.', 'signature': "def cancelOrder(self, order: Order, manualCancelOrderTime: str = '') \\"}</s>{'name': 'DepthMktDataD...
0
{'name': 'make_path@pystore/utils.py', 'description': 'use this to construct paths for future storage support ', 'signature': 'def make_path(*args):'}</s>{'name': 'path_exists@pystore/utils.py', 'description': 'use this to construct paths for future storage support ', 'code': 'def path_exists(path):\n """ use this t...
0
{'name': '_handleAnswerFileParams@packstack/installer/run_setup.py', 'description': 'handle loading and validating\nparams from answer file\nsupports reading single or group params', 'signature': 'def _handleAnswerFileParams(answerFile):'}</s>PUPPET_MANIFEST_RELATIVE = "manifests"
0
{'name': 'display_result@onlinejudge_command/subcommand/test.py', 'description': 'display_result prints the result of the test and its statistics.\n\nThis function prints many logs and does some I/O.', 'signature': 'def display_result(proc: subprocess.Popen, answer: str, memory: Optional[float], test_input_path: pathli...
0
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQNSH_ALL = -1
0
{'name': 'DynamicThreadClassLoader.set_args@botfw/etc/loader.py', 'description': 'Add arguments passed to loaded class', 'signature': 'def set_args(self, init_args):'}</s>{'name': 'StopRunForever@botfw/etc/util.py', 'description': 'DOCSTRING', 'base_classes': ['BaseException'], 'methods': []}
0
{'name': 'cleanup_properties@skosify/skosify.py', 'description': 'Remove unnecessary property definitions.\n\nRemoves SKOS and DC property definitions and definitions of unused\nproperties.', 'signature': 'def cleanup_properties(rdf):'}</s>{'name': 'initialize_concept_scheme@skosify/skosify.py', 'description': "Initial...
0
{'name': 'TestRemoveDeclaration.testNotRemoved@src/tests/testXmlEncodingDecode.py', 'description': "Make sure that invalid, or missing, declarations aren't affected.", 'signature': 'def testNotRemoved(self):'}</s>{'name': 'InvalidGender@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['Invali...
0
{'name': 'View.analyze_cluster@picasso/gui/render.py', 'description': 'Clusters picked locs using k-means clustering. ', 'signature': 'def analyze_cluster(self):'}</s>{'name': 'run_intersections@picasso/aim.py', 'description': 'Run intersection counting across the local search region. Returns\nthe 2D array with number ...
0
{'name': 'roi_init@analyze.py', 'description': 'init roi and thresh value\n\ninit roi for analyze and set thresh value\n\nArgs:\n video_type (int): movie resolution type\n\nReturns:', 'signature': 'def roi_init(video_type):'}</s>ICON_THRESH = 0.6
0
{'name': 'yscale_anchored_text@src/mplhep/plot.py', 'description': 'Automatically scale y-axis up to fit AnchoredText\n\nParameters\n----------\n ax : matplotlib.axes.Axes, optional\n Axes object (if None, last one is fetched or one is created)\n otol : float, optional\n Tolerance for overlap, defau...
0
{'name': 'TypeAndTypeListTestCase.test@tools/lldb/packages/Python/lldbsuite/test/python_api/type/TestTypeList.py', 'description': 'Exercise SBType and SBTypeList API.', 'signature': 'def test(self):'}</s>{'name': 'get_GPRs@tools/lldb/packages/Python/lldbsuite/test/lldbutil.py', 'description': 'Returns the general purpo...
0
{'name': 'init@python/taichi/lang/misc.py', 'description': 'Initializes the Taichi runtime.\n\nThis should always be the entry point of your Taichi program. Most\nimportantly, it sets the backend used throughout the program.\n\nArgs:\n arch: Backend to use. This is usually :const:`~taichi.lang.cpu` or :const:`~taich...
0
{'name': 'Section.__setitem__@BlDevCube/lib.bflb_configobj.pyc.py', 'description': "Correctly set a value.\n\nMaking dictionary values Section instances.\n(We have to special case 'Section' instances - which are also dicts)\n\nKeys must be strings.\nValues need only be strings (or lists of strings) if\n``main.stringify...
0
{'name': 'check_multiple_rvt_shift_opts@src/python_scripts/afnipy/lib_physio_opts.py', 'description': "Can only use at most one '-rvt_shift*' opt. Simplest to check for\nthat at one time.\n\nParameters\n----------\nargs_dict : dict\n The dictionary of arguments and option values.\n\nReturns\n-------\nis_bad : int\n...
1
{'name': '_spectrogram@librosa/core/spectrum.py', 'description': 'Retrieve a magnitude spectrogram.\n\nThis is primarily used in feature extraction functions that can operate on\neither audio time-series or spectrogram input.\n\nParameters\n----------\ny : None or np.ndarray\n If provided, an audio time series\n\nS ...
0
{'name': 'Model._predict_loop@modified_keras/keras/models.py', 'description': 'Abstract method to loop over some data in batches.', 'signature': 'def _predict_loop(self, f, ins, batch_size=128, verbose=0):'}</s>{'name': 'get@modified_keras/keras/objectives.py', 'description': 'DOCSTRING', 'code': "def get(identifier):\...
0
{'name': 'validate_known_curve@ace/validation/validate_smoothers.py', 'description': 'Validate on a sin function.', 'signature': 'def validate_known_curve():'}</s>DEFAULT_SPANS = (TWEETER_SPAN, MID_SPAN, BASS_SPAN)
0
{'name': 'SysTrayIcon.update@python/site-packages/winsystray/traybar.py', 'description': 'update icon image and/or hover text ', 'signature': 'def update(self, icon=None, hover_text=None, menu=None):'}</s>LR_DEFAULTSIZE = 64
0
{'name': 'EngineTest._do_test_reward_and_episode_end@reversibility/pycolab/pycolab/tests/engine_test.py', 'description': 'Core implementation of `testRewardAndEpisodeEndWith*Discount` tests.\n\nArgs:\n q_pre_update: Pre-`update` code to inject for the Q sprite.\n expected_discount: `discount` we expect to observe aft...
0
{'name': 'process_direct_grism_visit@grizli/prep.py', 'description': 'Full processing of a direct (+grism) image visit.\n\nParameters\n----------\ndirect : dict\n Dictionary with keys \'files\' and \'product\' for the direct images.\n\ngrism : dict\n Dictionary with keys \'files\' and \'product\' for the grism im...
0
{'name': 'ProAntiSaccades.run_trials@demo_experiments/anti_saccades.py', 'description': ' ', 'signature': 'def run_trials(self, nTrials, task, practice=False):'}</s>{'name': 'tobii2pix@titta/helpers_tobii.py', 'description': 'Converts from Tobiis coordinate system [0, 1] to pixles.\nNote that the Tobii coordina...
1
{'name': 'genesets@pipelines/pipeline_scxl.py', 'description': 'Intermediate target to run geneset tasks', 'signature': 'def genesets(infile, outfile):'}</s>PARAMS = P.get_parameters( ["%s/pipeline.yml" % os.path.splitext(__file__)[0], "../pipeline.yml", "pipeline.yml"])
0
{'name': 'Type.get_ref_qualifier@llvm-12.0.0-project/clang/bindings/python/clang/cindex.py', 'description': 'Retrieve the ref-qualifier of the type.', 'signature': 'def get_ref_qualifier(self):'}</s>{'name': 'TypeKind@llvm-12.0.0-project/clang/bindings/python/clang/cindex.py', 'description': 'Describes the kind of type...
0