text
string
label
int64
{'name': 'TranscriptionEvaluationMixin.compute_wer@montreal_forced_aligner/transcription/transcriber.py', 'description': 'Evaluates the transcripts if there are reference transcripts\n\nRaises\n------\n:class:`~montreal_forced_aligner.exceptions.KaldiProcessingError`\n If there were any errors in running Kaldi binar...
0
{'name': 'IEWindow.ie_window@browser/ie.py', 'description': '获取Internet Explorer_Server对应的ie窗口\n ', 'signature': 'def ie_window(self):'}</s>{'name': 'MenuItem@qt4c/wincontrols.py', 'description': '菜单项控件。不要直接实例化这个类,而通过Menu.MenuItems来获取。\n ', 'base_classes': ['Control'], 'methods': [{'name': 'MenuItem.__init__@...
0
{'name': 'CreateTimeTemplate.create@vulfocus-api/dockerapi/views.py', 'description': '创建计时模式模版', 'signature': 'def create(self, request, *args, **kwargs):'}</s>{'name': 'ImageInfoViewSet@vulfocus-api/dockerapi/views.py', 'description': 'DOCSTRING', 'base_classes': ['viewsets.ModelViewSet'], 'methods': [{'name': 'ImageI...
0
{'name': 'plot_results@utils/utils.py', 'description': "Plot YOLO training results from the file 'results.txt'\nExample of what this is trying to plot can be found at: \nhttps://user-images.githubusercontent.com/26833433/63258271-fe9d5300-c27b-11e9-9a15-95038daf4438.png\nAn example results.txt file:\nimport os; os.syst...
0
{'name': 'TaprootTest.gen_test_vectors@test/functional/feature_taproot.py', 'description': 'Run a scenario that corresponds (and optionally produces) to BIP341 test vectors.', 'signature': 'def gen_test_vectors(self):'}</s>{'name': 'zero_appender@test/functional/feature_taproot.py', 'description': 'Return a callable th...
0
{'name': 'split_scopes@info_popup.py', 'description': 'Splits "foo, bar, baz" into ["foo", "bar", "baz"]', 'signature': 'def split_scopes(scopes):'}</s>{'name': 'view_is_haskell_symbol_info@sublime_haskell_common.py', 'description': 'DOCSTRING', 'code': 'def view_is_haskell_symbol_info(view):\n return view_has_synta...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCMD_DELETE_PAGE_SET = 158
0
{'name': 'suggest_attribute_alternative@didyoumean/didyoumean_internal.py', 'description': 'Suggest alternative to the non-found attribute.', 'signature': 'def suggest_attribute_alternative(attribute, type_str, attributes):'}</s>{'name': 'suggest_module_has_no_attr@didyoumean/didyoumean_internal.py', 'description': 'Ge...
0
{'name': 'xarray_to_cdf@cdflib/xarray/xarray_to_cdf.py', 'description': 'This function converts XArray Dataset objects into CDF files.\n\nParameters:\n xarray_dataset (xarray.Dataset): The XArray Dataset object that you\'d like to convert into a CDF file\n file_name (str): The path to the place the newly created...
1
{'name': 'KiteConnect._request@kiteconnect/connect.py', 'description': 'Make an HTTP request.', 'signature': 'def _request(self, route, method, url_args=None, params=None, is_json=False, query_params=None):'}</s>__title__ = "kiteconnect"
0
{'name': 'BaseRequest.POST@src/back/kite/bottle.py', 'description': 'The values of :attr:`forms` and :attr:`files` combined into a single\n:class:`FormsDict`. Values are either strings (form values) or\ninstances of :class:`cgi.FieldStorage` (file uploads).', 'signature': 'def POST(self):'}</s>{'name': 'TwistedServer@s...
0
{'name': 'GeneratedProtocolMessageType.__init__@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': "Here we perform the majority of our work on the class.\nWe add enum getters, an __init__ method, implementations\nof all Message methods, and properties for all field...
0
{'name': 'test_put_get_delete_bucket_domain_certificate@ut/test.py', 'description': '测试设置获取删除bucket自定义域名证书', 'signature': 'def test_put_get_delete_bucket_domain_certificate():'}</s>{'name': 'CosS3Client@qcloud_cos/cos_client.py', 'description': 'cos客户端类,封装相应请求', 'base_classes': ['object'], 'methods': [{'name': 'CosS3Cl...
0
{'name': 'ScalarMeter.add_value@models/SlowFast/slowfast/utils/meters.py', 'description': 'Add a new scalar value to the deque.', 'signature': 'def add_value(self, value):'}</s>{'name': 'get_map@models/SlowFast/slowfast/utils/meters.py', 'description': 'Compute mAP for multi-label case.\nArgs:\n preds (numpy tensor)...
0
{'name': 'createNatProperty@src/python/Optizelle/Properties.py', 'description': 'Create a natural number property', 'signature': 'def createNatProperty(name,desc):'}</s>{'name': 'createVectorListProperty@src/python/Optizelle/Properties.py', 'description': 'Create a list of vectors property', 'code': 'def createVectorLi...
0
{'name': 'eval_word_analogies@src/codes/utils/emb_utils.py', 'description': 'Sonvx: Evaluate word analogy for one embedding.\n:param word_analogies_file:\n:param words:\n:return:', 'signature': 'def eval_word_analogies(word_analogies_file, words: List[Word], embedding_name):'}</s>{'name': 'closest_analogies_vectors@src...
1
{'name': 'ErrorWhitelist.add@riprova/errors.py', 'description': 'Adds one or multiple error classes to the current whitelist.\n\nArguments:\n *errors (Exception): variadic error classes to add.', 'signature': 'def add(self, *errors):'}</s>{'name': 'NotRetriableError@riprova/exceptions.py', 'description': '"\nUtility...
0
{'name': 'PacketFilter.kill_states@pf/filter.py', 'description': 'Clear states matching the specified arguments.\n\nStates can be specified by address family, layer-4 protocol, source and\ndestination addresses, interface name, label and routing domain. Return\nthe number of killed states.', 'signature': 'def kill_stat...
0
{'name': 'Sharpe@riskfolio/src/RiskFunctions.py', 'description': "Calculate the Risk Adjusted Return Ratio from a portfolio returns series.\n\n.. math::\n \\text{Sharpe}(X) = \\frac{\\mathbb{E}(X) -\n r_{f}}{\\phi(X)}\n\nWhere:\n\n:math:`X` is the vector of portfolio returns.\n\n:math:`r_{f}` is the risk free ra...
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>MQTMC2_LENGTH_2 = 732
0
{'name': 'RestModelTestMixin.track_query@rest_models/test.py', 'description': ':return: the middleware that tracked the queeries\n:rtype: TrackRequestMiddleware', 'signature': 'def track_query(self, using=None):'}</s>{'name': 'RestModelTestCase@rest_models/test.py', 'description': 'DOCSTRING', 'base_classes': ['RestMod...
0
{'name': '_drawBullet@xhtml2pdf/reportlab_paragraph.py', 'description': 'Draw a bullet text could be a simple string or a frag list.', 'signature': 'def _drawBullet(canvas, offset, cur_y, bulletText, style):'}</s>{'name': '_split_blParaSimple@xhtml2pdf/reportlab_paragraph.py', 'description': 'DOCSTRING', 'code': 'def _...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCMD_DELETE_PUBLICATION = 60
0
{'name': 'Wheel.install@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/distlib/wheel.py', 'description': 'Install a wheel to the specified paths. If kwarg ``warner`` is\nspecified, it should be a callable, which will be called with two\ntuples indicating the wheel version of this software and the wheel\nversio...
0
{'name': 'validate_n_values@adafruit_io/adafruit_io.py', 'description': 'Validates a provided number of values to retrieve data from Adafruit IO.\n\nAlthough Adafruit IO will accept values < 1 and > 1000, this avoids two types of issues:\nn_values < 1 (coding errors) and n_values > 1000 (pagination required for HTTP AP...
0
{'name': '_validate_args@kayobe/kolla_ansible.py', 'description': 'Validate Kayobe Ansible arguments.', 'signature': 'def _validate_args(parsed_args, inventory_filename):'}</s>{'name': 'read_file@kayobe/utils.py', 'description': 'Read the content of a file.', 'code': 'def read_file(path, mode="r"):\n """Read the con...
0
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie...
0
{'name': 'FittedMultiCompartmentModel.peaks_cartesian@dmipy/core/fitted_modeling_framework.py', 'description': 'Returns the cartesian peak unit vectors of the model.', 'signature': 'def peaks_cartesian(self):'}</s>__all__ = [ 'FittedMultiCompartmentModel', 'FittedMultiCompartmentSphericalMeanModel' ]
0
{'name': 'BSDataSet.n_cells@brainspace/vtk_interface/wrappers/data_object.py', 'description': 'int: Returns number of cells.', 'signature': 'def n_cells(self):'}</s>{'name': 'has_only_quad@brainspace/vtk_interface/checks.py', 'description': 'Check if `surf` has only quads.\n\nParameters\n----------\nsurf : BSDataSet\n ...
0
{'name': 'CorpusMixin.add_file@montreal_forced_aligner/corpus/base.py', 'description': 'Add a file to the corpus\n\nParameters\n----------\nfile: :class:`~montreal_forced_aligner.corpus.classes.FileData`\n File to be added', 'signature': 'def add_file(self, file: FileData, session: Session = None):'}</s>{'name': 'Da...
0
{'name': '_Renderer.from_dict@neurodocker/reproenv/renderers.py', 'description': 'Instantiate a new renderer from a dictionary of instructions.', 'signature': 'def from_dict(cls, d: Mapping) -> _Renderer:'}</s>{'name': 'DockerRenderer@neurodocker/reproenv/renderers.py', 'description': 'DOCSTRING', 'base_classes': ['_Re...
0
{'name': 'PortManager._telnet_process_subnegotiation@serial/rfc2217.py', 'description': 'Process subnegotiation, the data between IAC SB and IAC SE.', 'signature': 'def _telnet_process_subnegotiation(self, suboption):'}</s>IAC = b'\xff'
0
{'name': 'UploadHandler.post@app/tornado_handlers/upload.py', 'description': 'POST request callback ', 'signature': 'def post(self, *args, **kwargs):'}</s>UPLOAD_TEMPLATE = "upload.html"
0
{'name': '_best_version@scripts/pdns/lib/python2.7/site-packages/pip/_vendor/distlib/metadata.py', 'description': 'Detect the best version depending on the fields used.', 'signature': 'def _best_version(fields):'}</s>_ATTR2FIELD = { 'metadata_version': 'Metadata-Version', 'name': 'Name', 'version': 'Version...
0
{'name': 'kallisto_bus@kb_python/count.py', 'description': 'Runs `kallisto bus`.\n\nArgs:\n fastqs: List of FASTQ file paths, or a single path to a batch file\n index_path: Path to kallisto index\n technology: Single-cell technology used\n out_dir: Path to output directory\n threads: Number of threads to...
0
{'name': 'Client.__init__@ironicclient/v1/client.py', 'description': 'Initialize a new client for the Ironic v1 API.', 'signature': 'def __init__(self, endpoint_override=None, *args, **kwargs):'}</s>_DEFAULT_POLL_INTERVAL = 2
0
{'name': 'A1DInterface.process_data@src/python_scripts/scripts/1d_tool.py', 'description': 'return None on completion, else error code (0 being okay)', 'signature': 'def process_data(self):'}</s>{'name': 'test_comopts@src/python_scripts/afnipy/option_list.py', 'description': 'DOCSTRING', 'code': "def test_comopts():\n\...
0
{'name': 'what@boxx/ylimg/ylimgTool.py', 'description': "tell you what's this by\npretty print `Document`, `Classes`, `Inner Struct`, `Attributes` of anything.\n\na magic tool to learn new Python Package\n\nParameters\n----------\nanything : anything in Python\n decompose all of anything\nfull : bool, default False\...
0
{'name': 'pseudo_cqt@librosa/core/constantq.py', 'description': "Compute the pseudo constant-Q transform of an audio signal.\n\nThis uses a single fft size that is the smallest power of 2 that is greater\nthan or equal to the max of:\n\n 1. The longest CQT filter\n 2. 2x the hop_length\n\nParameters\n----------\n...
0
{'name': 'GameState.__init__@python-algo/gamelib/game_state.py', 'description': 'Setup a turns variables using arguments passed\n\nArgs:\n * config (JSON): A json object containing information about the game\n * serialized_string (string): A string containing information about the game state at the start of this ...
0
{'name': 'test_relu@modified_keras/tests/auto/keras/test_activations.py', 'description': "Relu implementation doesn't depend on the value being\na theano variable. Testing ints, floats and theano tensors.", 'signature': 'def test_relu():'}</s>{'name': 'test_tanh@modified_keras/tests/auto/keras/test_activations.py', 'de...
0
{'name': 'Metar.runway_visual_range@metar/Metar.py', 'description': 'Return a textual description of the runway visual range.', 'signature': 'def runway_visual_range( self, units=None ):'}</s>TREND_RE = re.compile(r"^(?P<trend>TEMPO|BECMG|FCST|NOSIG)\s+")
0
{'name': 'make_coords@sidechainnet/structure/fastbuild.py', 'description': 'Create coordinates from sequence and angles using torch operations.\n\nbuild_params describes what atoms to make and how.', 'signature': 'def make_coords(seq, angles, build_params, add_hydrogens=False):'}</s>SC_ANGLES_START_POS = NUM_BB_OTHER_A...
1
{'name': 'XMTransformerModel.build_model@fairseq/models/speech_to_text/xm_transformer.py', 'description': 'Build a new model instance.', 'signature': 'def build_model(cls, args, task):'}</s>{'name': 'FairseqLanguageModel@fairseq/models/fairseq_model.py', 'description': 'Base class for decoder-only models.\n\nArgs:\n ...
1
{'name': 'MarketstoreStub.__init__@pymarketstore/proto/marketstore_pb2_grpc.py', 'description': 'Constructor.\n\nArgs:\n channel: A grpc.Channel.', 'signature': 'def __init__(self, channel):'}</s>UINT64 = 14
0
{'name': 'X509.save@src/M2Crypto/X509.py', 'description': 'Saves X.509 certificate to a file. Default output\nformat is PEM.\n\n:param filename: Name of the file the cert will be saved to.\n\n:param format: Controls what output format is used to save the cert.\n Either FORMAT_PEM or FORMAT_DER to save in ...
0
{'name': 'wait_on_db_update@grizli/aws/db.py', 'description': 'Wait for db to stop updating on root', 'signature': 'def wait_on_db_update(root, t0=60, dt=30, n_iter=60, engine=None):'}</s>{'name': 'add_missing_photometry@grizli/aws/db.py', 'description': 'DOCSTRING', 'code': 'def add_missing_photometry():\n\n # Add ...
0
{'name': '_AppHandler.__init__@jupyterlab/commands.py', 'description': 'Create a new _AppHandler object', 'signature': 'def __init__(self, options):'}</s>{'name': 'ensure_core@jupyterlab/commands.py', 'description': 'Ensure that the core assets are available.', 'code': 'def ensure_core(logger=None):\n """Ensure that...
0
{'name': 'StandardizeMol.__init__@PyBioMed/PyPretreat/PyPretreatMolutil.py', 'description': 'Initialize a Standardizer with optional custom parameters.\n\n:param normalizations: A list of Normalizations to apply (default: :data:`~molvs.normalize.NORMALIZATIONS`).\n:param acid_base_pairs: A list of AcidBasePairs for com...
0
{'name': 'demean@src/python_scripts/afnipy/afni_util.py', 'description': 'demean the vector (in place), from index ibot to index itop\n\n if ibot == -1, ibot will be 0\n if itop == -1, itop will be len-1\n\nreturn 0 on success, 1 on error', 'signature': 'def demean(vec, ibot=-1, itop=-1):'}</s>{'name': 'swap_2@src/pyth...
0
{'name': 'SubstrateInterface.submit_extrinsic@substrateinterface/base.py', 'description': 'Submit an extrinsic to the connected node, with the possibility to wait until the extrinsic is included\n in a block and/or the block is finalized. The receipt returned provided information about the block and\n triggered events\...
0
{'name': 'test_face_areas_compute_face_areas_geoflow_small@test/test_grid.py', 'description': 'Checks if the GeoFlow Small can generate a face areas output.', 'signature': 'def test_face_areas_compute_face_areas_geoflow_small():'}</s>{'name': 'test_normalize_existing_coordinates_non_norm_initial@test/test_grid.py', 'de...
0
{'name': 'ProcessLine@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a line of th...
0
{'name': 'load_blender_gltf@jupylet/loader.py', 'description': 'Load a Blender scene or model exported with the Blender glTF 2.0 exporter.\n\nThe Blender scene should be exported using the glTF Separate (.gltf + .bin + textures)\nformat. In the exporter make sure to check the Apply Modifiers, UVs, and \nNormals, option...
0
{'name': 'SyntaxErrorTests.test_nonlocal3@didyoumean/didyoumean_sugg_tests.py', 'description': 'nonlocal must be used only when binding to non-global exists.', 'signature': 'def test_nonlocal3(self):'}</s>MODATTRIBUTEERROR = (AttributeError, re.MODULEHASNOATTRIBUTE_RE)
0
{'name': 'deobfuscate_email@src/coaster/utils/text.py', 'description': 'Deobfuscate email addresses in provided text.', 'signature': 'def deobfuscate_email(text: str) -> str:'}</s>ascii_whitespace = "  "
0
{'name': 'get_credentials@linodecli/plugins/obj/__init__.py', 'description': 'Get access_key and secret_key of the object storage.', 'signature': 'def get_credentials(cli: CLI):'}</s>NO_ACCESS_ERROR = "You are not authorized to use Object Storage at this time. Please contact your Linode Account administrator to request...
0
{'name': 'CreateDatatypes@src/api/python/z3/z3.py', 'description': "Create mutually recursive Z3 datatypes using 1 or more Datatype helper objects.\n\nIn the following example we define a Tree-List using two mutually recursive datatypes.\n\n>>> TreeList = Datatype('TreeList')\n>>> Tree = Datatype('Tree')\n>>> # Tre...
0
{'name': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>PF_POOL_LEASTSTATES = 5
1
{'name': 'is_numeric@lib/rule_engine/types.py', 'description': 'Check whether *value* is a numeric value (i.e. capable of being represented as a floating point value without loss\nof information).\n\n:param value: The value to check. This value is a native Python type.\n:return: Whether or not the value is numeric.\n:r...
0
{'name': '_VersionReqs._filter_metric_by_op@pipenv_setup/inconsistency_checker.py', 'description': "filter int in space that 'op's metric\n:raise ValueError: for unrecognizable op\n\n>>> list(_VersionReqs._filter_metric_by_op('==', 1, range(3)))\n[1]\n>>> list(_VersionReqs._filter_metric_by_op('<=', 1, range(3)))\n[0, ...
0
{'name': 'Arcball.next@transformations.py', 'description': 'Continue rotation in direction of last drag.', 'signature': 'def next(self, acceleration=0.0):'}</s>{'name': 'affine_matrix_from_points@transformations.py', 'description': 'Return affine transform matrix to register two point sets.\n\nv0 and v1 are shape (ndim...
0
{'name': 'BPF.__init__@src/python/bcc/__init__.py', 'description': 'Create a new BPF module with the given source code.\n\nNote:\n All fields are marked as optional, but either `src_file` or `text`\n must be supplied, and not both.\n\nArgs:\n src_file (Optional[str]): Path to a source file for the module\n ...
0
{'name': 'WordsExtractor.__make_ngrams@ruts/extractors.py', 'description': 'Формирование N-грамм\n\nВывод:\n ngrams (tuple[str]): Кортеж извлеченных N-грамм', 'signature': 'def __make_ngrams(self) -> Tuple[str, ...]:'}</s>{'name': 'Extractor@ruts/extractors.py', 'description': 'Абстрактный класс для извлечения объек...
0
{'name': 'get_similar_image_from_query@6_AI-ML/2_gemini_LLM/notebooks/gemini-course/utils/intro_multimodal_rag_utils.py', 'description': 'Finds the top N most similar images from a metadata DataFrame based on a text query or an image query.\n\nArgs:\n project_id: The Project ID of the embedding model used for text o...
0
{'name': 'ProcessFileData@scripts/cpplint.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 strings, each representing a ...
0
{'name': 'DescriptorField.__init__@pyfields/core.py', 'description': 'See help(field) for details', 'signature': 'def __init__(self,'}</s>DELAYED = Symbols.DELAYED
0
{'name': 'BitfieldsTestCase.test_and_python_api@tools/lldb/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py', 'description': 'Use Python APIs to inspect a bitfields variable.', 'signature': 'def test_and_python_api(self):'}</s>{'name': 'skipIfWindows@tools/lldb/packages/Python/lldbsuite/test/decorators....
0
{'name': 'test_create_new_symbol@unyt/tests/test_units.py', 'description': 'Create unit with unknown symbol.', 'signature': 'def test_create_new_symbol():'}</s>{'name': 'test_symbol_lut_length@unyt/tests/test_units.py', 'description': 'DOCSTRING', 'code': 'def test_symbol_lut_length():\n for v in default_unit_symbol...
0
{'name': 'Table@src/python/bcc/table.py', 'description': 'Table(bpf, map_id, map_fd, keytype, leaftype, **kwargs)\n\nCreate a python object out of a reference to a bpf table handle', 'signature': 'def Table(bpf, map_id, map_fd, keytype, leaftype, name, **kwargs):'}</s>{'name': 'PerCpuHash@src/python/bcc/table.py', 'des...
1
{'name': 'GeneratedProtocolMessageType.__init__@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': "Here we perform the majority of our work on the class.\nWe add enum getters, an __init__ method, implementations\nof all Message methods, and properties for all field...
0
{'name': 'main@external/containers/emu/emu_docker.py', 'description': 'Entry point that parses the argument, and invokes the proper functions.', 'signature': 'def main():'}</s>{'name': 'list_images@external/containers/emu/emu_docker.py', 'description': 'Lists all the publicly available system and emlator images.', 'cod...
1
{'name': 'Swagger.as_dict@flask_restx/swagger.py', 'description': 'Output the specification as a serializable ``dict``.\n\n:returns: the full Swagger specification in a serializable format\n:rtype: dict', 'signature': 'def as_dict(self):'}</s>ZERO = Decimal()
0
{'name': 'Client.start_archive@opentok/opentok.py', 'description': 'Starts archiving an OpenTok session.\n\nClients must be actively connected to the OpenTok session for you to successfully start\nrecording an archive.\n\nYou can only record one archive at a time for a given session. You can only record archives\nof se...
0
{'name': 'refine_detections_graph@Mask_RCNN/mrcnn/model.py', 'description': 'Refine classified proposals and filter overlaps and return final\ndetections.\n\nInputs:\n rois: [N, (y1, x1, y2, x2)] in normalized coordinates\n probs: [N, num_classes]. Class probabilities.\n deltas: [N, num_classes, (dy, dx, log(d...
0
{'name': 'get_handler_object@bin/crankd.py', 'description': 'Return a single instance of class_name, instantiating it if necessary.', 'signature': 'def get_handler_object(class_name):'}</s>SC_HANDLERS = dict()
0
{'name': 'cross_origin@flask_cors/decorator.py', 'description': "This function is the decorator which is used to wrap a Flask route with.\nIn the simplest case, simply use the default parameters to allow all\norigins in what is the most permissive configuration. If this method\nmodifies state or performs authentication...
1
{'name': 'ExchangeRates._parse@pycbrf/rates/basic.py', 'description': 'Parse raw XML strings to the dict of BetaExchangeRates', 'signature': 'def _parse(cls, data: bytes, *, locale_en: bool) -> Dict[str, Union[datetime, Dict[Currency, ExchangeRate]]]:'}</s>{'name': 'CurrencyNotFound@pycbrf/exceptions.py', 'description'...
1
{'name': 'IWLBeamformReader.read_file@CSIKit/reader/readers/read_bfee.py', 'description': 'This function parses .dat files generated by log_to_file.\n\nParameters:\n file (filereader): File reader object returned from open().\n\nReturns:\n total_csi (list): All valid CSI blocks contained within the given file.', ...
1
{'name': 'LossModel.load_model_parameters@pelicun/model/loss_model.py', 'description': 'Load loss model parameters.\n\nParameters\n----------\ndata_paths: list of (string | DataFrame)\n List of paths to data or files with loss model\n information. Default XY datasets can be accessed as\n PelicunDefault/XY. Ord...
0
{'name': 'FletcherBaseArray._reduce@fletcher/base.py', 'description': 'Return a scalar result of performing the reduction operation.\n\nParameters\n----------\nname : str\n Name of the function, supported values are:\n { any, all, min, max, sum, mean, median, prod,\n std, var, sem, kurt, skew }.\nskipna : bool...
0
{'name': 'rdheader@wfdb/io/record.py', 'description': "Read a WFDB header file and return a `Record` or `MultiRecord`\nobject with the record descriptors as attributes.\n\nParameters\n----------\nrecord_name : str\n The name of the WFDB record to be read, without any file\n extensions. If the argument contains an...
0
{'name': 'TrinoQuery.cancel@trino/client.py', 'description': 'Cancel the current query', 'signature': 'def cancel(self) -> None:'}</s>{'name': 'get_roles_values@trino/client.py', 'description': 'DOCSTRING', 'code': 'def get_roles_values(headers: CaseInsensitiveDict[str], header: str) -> List[Tuple[str, str]]:\n kvs ...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIA_MAX_RESPONSES = 230
0
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>{'name': 'UnicodeValueChecker@python/google/protobuf/internal/type_checkers.py', 'description': 'Checker used for string fields.\...
0
{'name': 'update_startup_screen@displays/waveshare2in13v3.py', 'description': 'Show startup screen on eInk Display\n ', 'signature': 'def update_startup_screen():'}</s>{'name': 'update_button_fault@displays/waveshare2in13v3.py', 'description': 'DOCSTRING', 'code': 'def update_button_fault():\n image, width, heigh...
0
{'name': 'fit_p2@cmd/mcorr-fit/mcorr/fit.py', 'description': 'Fit p2', 'signature': 'def fit_p2(fitdatas, r1_func=const_r1, disable_progress_bar=False):'}</s>{'name': 'fit_modelopts@cmd/mcorr-fit/mcorr/fit.py', 'description': 'fitting correlation profile using lmfit', 'code': 'def fit_modelopts(xvalues, yvalues, d_samp...
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': 'DatasetWriter.__new__@accelerator/dataset.py', 'description': "columns can be {'name': 'type'} or {'name': ('type', none_support)}.\nIt can also be {'name': DatasetColumn} to simplify basing your dataset on another.", 'signature': "def __new__(cls, columns={}, filename=None, hashlabel=None, hashlabel_override...
0
{'name': 'authenticate@src/server/server.py', 'description': 'Sends a 401 response that enables basic auth.', 'signature': 'def authenticate():'}</s>_program_start_epoch_time = int((_prog_start_epoch1 + _prog_start_epoch2) * 500.0 + 0.5)
0
{'name': 'Cache.search@shingetsu/cache.py', 'description': 'Search node from network and get records.', 'signature': 'def search(self, searchlist=None, myself4=None, myself6=None):'}</s>base64en = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
0
{'name': 'person_ui@Pose2Sim/synchronization.py', 'description': 'Step 2: Initializes the UI for person and frame selection.\n\nINPUTS:\n- frame_rgb: The initial RGB frame to display\n- cam_name: Name of the current camera\n- frame_number: Initial frame number to display\n- search_around_frames: Frame ranges to search ...
0
{'name': 'CheckStyle@tools/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces inside code, etc.\n\nArgs:\n f...
0
{'name': 'compare_enums@alembic_autogenerate_enums/__init__.py', 'description': "Walk the declared SQLAlchemy schema for every referenced Enum, walk the PG\nschema for every definde Enum, then generate SyncEnumValuesOp migrations\nfor each defined enum that has grown new entries when compared to its\ndeclared version.\...
0
{'name': 'crackline@venv/Lib/site-packages/numpy/f2py/crackfortran.py', 'description': 'reset=-1 --- initialize\nreset=0 --- crack the line\nreset=1 --- final check if mismatch of blocks occurred\n\nCracked data is saved in grouplist[0].', 'signature': 'def crackline(line, reset=0):'}</s>{'name': 'isexternal@venv/...
0
{'name': 'AzureDLFileSystem.set_expiry@azure/datalake/store/core.py', 'description': 'Set or remove the expiration time on the specified file.\nThis operation can only be executed against files.\n\nNote: Folders are not supported.\n\nParameters\n----------\npath: str\n File path to set or remove expiration time\nexp...
0
{'name': 'BuildImage@utils/pyHDLC/__init__.py', 'description': "Build and optionally test container image(s).\n\n:param image:\n Bare image name(s), without registry, collection or architecture.\n The supported syntax for each image name is ``name[#location]``, where the optional ``location`` is ignored during\n the...
0
{'name': 'rk3_step_func@torchdiffeq/_impl/rk_common.py', 'description': 'butcher_tableu should be of the form\n\n[\n [0 , 0 , 0 , 0],\n [c_2, a_{21}, 0 , 0],\n [c_3, a_{31}, a_{32}, 0],\n [0 , b_1 , b_2 , b_3],\n]\n\nhttps://en.wikipedia.org/wiki/List_of_Runge-Kutta_methods', 'signat...
0
{'name': 'id_generator@custom_components/thermal_comfort/sensor.py', 'description': 'Generate id based on unique_id and sensor type.\n\n:param unique_id: str: common part of id for all entities, device unique_id, as a rule\n:param sensor_type: str: different part of id, sensor type, as s rule\n:returns: str: unique_id+...
0
{'name': 'TestObjectsE2E.test_host_record_ea_inheritance@e2e_tests/test_objects.py', 'description': 'Checks if EA inheritance for record:host object\nworks as expected', 'signature': 'def test_host_record_ea_inheritance(self):'}</s>{'name': 'DhcpOptionSpace@infoblox_client/objects.py', 'description': 'DOCSTRING', 'base...
0