text string | label int64 |
|---|---|
{'name': 'validate_security_groups@verify_security_groups.py', 'description': 'Validate the security groups by printing them out.\n\nArgs:\n matching_entries (List[Dict[str, Any]]): A list of dictionaries representing the matching CSV entries.\nReturns:\n List of everything we validated\nRaises:\n ... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQMCB_DISABLED = 0 | 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': 'IPDatabase.generate_vsim_tcl@ipstools/ipstools/IPDatabase.py', 'description': "Exports the `vsim.tcl` script.\n\n :param filename: Output TCL script file name.\n :type filename: str\n\n :param source: 'ips' or 'rtl'\n :type source: str\n\nThis function exports the `vs... | 0 |
{'name': 'runprofile@pyFileFixity/lib/profilers/visual/functionprofiler.py', 'description': 'Run the functions profiler and save the result\nIf timeout is greater than 0, the profile will automatically stops after timeout seconds', 'signature': 'def runprofile(mainfunction, output, timeout = 0, calibrate=False):'}</s>{... | 1 |
{'name': 'TerraformTest.plan@tftest.py', 'description': "Run Terraform plan command, optionally returning parsed plan output.\n\nArgs:\n input: Ask for input for variables if not directly set.\n no_color: If specified, output won't contain any color.\n refresh: Update state prior to checking for differences.\n tf_v... | 0 |
{'name': 'PoolManager.connection_from_url@src/ahip/poolmanager.py', 'description': 'Similar to :func:`hip.connectionpool.connection_from_url`.\n\nIf ``pool_kwargs`` is not provided and a new pool needs to be\nconstructed, ``self.connection_pool_kw`` is used to initialize\nthe :class:`hip.connectionpool.ConnectionPool`.... | 0 |
{'name': 'TestCase.assertRaises@tools/lldb/third_party/Python/module/unittest2/unittest2/case.py', 'description': "Fail unless an exception of class excClass is thrown\nby callableObj when invoked with arguments args and keyword\narguments kwargs. If a different type of exception is\nthrown, it will not be caught, and ... | 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': 'preprocess@grizli/pipeline/auto_script.py', 'description': 'Preprocessing script\n\nParameters\n----------\nfield_root : str\n Basename of the exposure group processed together\n\nHOME_PATH : str\n Base path for file processing\n\nmaster_radec : str\n Force use this radec file for astrometric alignme... | 0 |
{'name': 'ISO3166Utils.short2full@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Convert an ISO 3166-2 country code to the corresponding full name', 'signature': 'def short2full(cls, code):'}</s>{'name': 'bytes_to_long@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'bytes_to_long(... | 0 |
{'name': '_makeTags@venv/Lib/site-packages/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml,'}</s>{'name': '_trim_arity@venv/Lib/site-packages/pip/_vendor/pyparsing.py', 'description': 'DOCSTRING', 'co... | 0 |
{'name': 'sniffPossibleFeed@src/feedvalidator/__init__.py', 'description': 'Use wild heuristics to detect something that might be intended as a feed.', 'signature': 'def sniffPossibleFeed(rawdata):'}</s>{'name': 'IncorrectDOW@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['InvalidRFC2822Dat... | 0 |
{'name': 'main@example-pyramid/example/__init__.py', 'description': 'This function returns a Pyramid WSGI application.', 'signature': 'def main(global_config, **settings):'}</s>{'name': 'url_for@example-common/utils.py', 'description': 'DOCSTRING', 'code': 'def url_for(name, **kwargs):\n if name == "social:begin":\n... | 1 |
{'name': 'RosterGenerator._create_shift_vars@rosters/logic.py', 'description': "Create shift variables.\n\nshift_vars[(n, r, d, t)]:\nworker 'n' with role 'r' works on date 'd' in timeslot 't'", 'signature': 'def _create_shift_vars(self):'}</s>{'name': 'SolutionNotFeasible@rosters/logic.py', 'description': 'Exception f... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQGMO_ALL_SEGMENTS_AVAILABLE = 262144 | 0 |
{'name': 'BackupJob.backup@freezer/job.py', 'description': ':type app_mode: freezer.mode.mode.Mode\n:return:', 'signature': 'def backup(self, app_mode):'}</s>{'name': 'tar_path@freezer/utils/utils.py', 'description': 'This function returns tar binary path', 'code': 'def tar_path():\n """This function returns tar bin... | 0 |
{'name': 'get_custom_library_folders@src/client.py', 'description': 'Parses library folders config file and returns a list of folders paths', 'signature': 'def get_custom_library_folders(config_path: str) -> Optional[List[str]]:'}</s>{'name': 'load_vdf@src/client.py', 'description': 'DOCSTRING', 'code': 'def load_vdf(p... | 1 |
{'name': 'test_minimal_data@tests/builder/builder_test.py', 'description': 'Test the minimal data that must be provided to generate UFOs, and in\nsome cases that additional redundant data is not set.', 'signature': 'def test_minimal_data(ufo_module):'}</s>{'name': 'test_glyph_lib_color_mapping_foreground_color@tests/bu... | 0 |
{'name': 'AtIndexer.__init__@linopy/variables.py', 'description': 'Initialize the AtIndexer.', 'signature': 'def __init__(self, obj: Variable) -> None:'}</s>{'name': 'varwrap@linopy/variables.py', 'description': 'DOCSTRING', 'code': 'def varwrap(\n method: Callable, *default_args: Any, **new_default_kwargs: Any\n) -... | 0 |
{'name': 'HindcastEnsemble.add_uninitialized@src/climpred/classes.py', 'description': 'Add a companion uninitialized ensemble for comparison to verification data.\n\nArgs:\n uninit: uninitialzed ensemble.', 'signature': 'def add_uninitialized('}</s>{'name': 'broadcast_metric_kwargs_for_rps@src/climpred/utils.py', 'd... | 0 |
{'name': 'REPL.run@hy/repl.py', 'description': 'Start running the REPL. Return 0 when done.', 'signature': 'def run(self):'}</s>{'name': 'require_reader@hy/macros.py', 'description': 'DOCSTRING', 'code': 'def require_reader(source_module, target_module, assignments):\n target_module, target_namespace = derive_target... | 0 |
{'name': 'search@nova/nova.py', 'description': 'Main search entrypoint\n\nArgs:\n payload (dict): Search payload from Elementum.\n method (str): Type of search, can be ``general``, ``movie``, ``show``, ``season`` or ``anime``\n\nReturns:\n list: All filtered results in the format Elementum expects', 'signatu... | 0 |
{'name': 'GCEDiskFromImageTest.testProcessFromParams@tests/lib/exporters/gce_disk_from_image.py', 'description': "Tests the exporter's Process() function when the list comes from\npassed in parameters.", 'signature': 'def testProcessFromParams(self,'}</s>{'name': 'URL@dftimewolf/lib/containers/containers.py', 'descript... | 0 |
{'name': 'aggfields@api/project/__init__.py', 'description': 'Returns a bucket aggregation for a particular field over a given time range\n\nParameters\n----------\nfieldname : string or Array of string\n The name of the field(s) on which to perform the aggregation\ncurrent_request : Request\n The flask Request o... | 0 |
{'name': 'CollapsingMergeTree.get_insert_batch@src/django_clickhouse/engines.py', 'description': 'Gets a list of model_cls instances to insert into database\n:param model_cls: ClickHouseModel subclass to import\n:param objects: A list of django Model instances to sync\n:return: A list of model_cls objects', 'signature'... | 0 |
{'name': 'get_collapsed_properties_type_mappings@swagger_spec_validator/validator20.py', 'description': 'Get all the properties for a swagger model (definition).\n:param definition: dictionary representation of the definition\n:type definition: dict\n:param deref: callable that dereferences $refs\n:return: (required pr... | 0 |
{'name': 'euler_from_quaternion@utils/transformations.py', 'description': 'Return Euler angles from quaternion for specified axis sequence.\n\n>>> angles = euler_from_quaternion([0.99810947, 0.06146124, 0, 0])\n>>> numpy.allclose(angles, [0.123, 0, 0])\nTrue', 'signature': "def euler_from_quaternion(quaternion, axes='s... | 0 |
{'name': 'plotRdimsMarkers@pipelines/pipeline_scxl.py', 'description': 'Visualise expression of discovered markers on rdims plots.', 'signature': 'def plotRdimsMarkers(infile, outfile):'}</s>{'name': 'plotRdimsGenes@pipelines/pipeline_scxl.py', 'description': 'Visualise gene expression levels on reduced dimension coord... | 0 |
{'name': 'get_optimal_precision_recall@generate_figures_and_tables.py', 'description': 'Find precision and recall values that maximize f1 score.', 'signature': 'def get_optimal_precision_recall(y_true, y_score):'}</s>y_cardiologist1 = pd.read_csv('./data/annotations/cardiologist1.csv').values | 0 |
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=... | 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': 'SystemTest.test_get_active_mode_circulation_auto@tests/test_system.py', 'description': 'Test get active mode for circulation.', 'signature': 'def test_get_active_mode_circulation_auto(self) -> None:'}</s>{'name': 'HolidayMode@pymultimatic/model/quick_mode.py', 'description': "Represents system's holiday mode.... | 0 |
{'name': 'ReplaceByFeeTest.test_doublespend_chain@qa/rpc-tests/replace-by-fee.py', 'description': 'Doublespend of a long chain', 'signature': 'def test_doublespend_chain(self):'}</s>{'name': 'CTransaction@qa/rpc-tests/test_framework/mininode.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'nam... | 1 |
{'name': 'compute_climatology@src/climpred/reference.py', 'description': "Compute the skill of a climatology forecast.\n\nArgs:\n initialized: The initialized ensemble.\n verif: control data, not needed\n metric: Metric name to apply at each lag for the persistence computation.\n Default: 'pearson_r'\n ... | 1 |
{'name': 'BareValidator._error@cerberus/validator.py', 'description': "Creates and adds one or multiple errors.\n\n:param args: Accepts different argument's signatures.\n\n *1. Bulk addition of errors:*\n\n - :term:`iterable` of\n :class:`~cerberus.errors.ValidationError`-instances... | 0 |
{'name': 'line_search@deicode/optspace.py', 'description': 'An exact line search\n gradient decent converging for a quadratic function\n\nParameters\n----------\nU, U_update, V, V_update, S, obs, mask, step_size, rho', 'signature': 'def line_search('}</s>{'name': 'gradient_decent@deicode/optspace.py', 'description':... | 0 |
{'name': 'Session.deserialize@jupyter_client/session.py', 'description': 'Unserialize a msg_list to a nested message dict.\n\nThis is roughly the inverse of serialize. The serialize/deserialize\nmethods work with full message lists, whereas pack/unpack work with\nthe individual message parts in the message list.\n\nPar... | 1 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRMH_CURRENT_LENGTH = 108 | 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': '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': '_calculate_minimum_wheel_name@delocate/delocating.py', 'description': 'Return a wheel name with an updated platform tag.\n\nBased on the architecture of the libraries in the wheel and actual platform\ntag.\n\nParameters\n----------\nwheel_name : str\n The name of the wheel.\nwheel_dir : Path\n The direc... | 0 |
{'name': 'sourceforge_import@code/synchronization/sourceforge_import.py', 'description': 'Scraps Sourceforge project sites and adds developer information to the entries', 'signature': 'def sourceforge_import():'}</s>url_developer_fields = ('Home',) | 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': 'run_break_set_by_file_and_line@tools/lldb/packages/Python/lldbsuite... | 0 |
{'name': 'CheckBraces@third_party/cpplint/cpplint.py', 'description': 'Looks for misplaced braces (e.g. at the end of line).\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with ... | 0 |
{'name': 'preprocess@grizli/pipeline/auto_script.py', 'description': 'Preprocessing script\n\nParameters\n----------\nfield_root : str\n Basename of the exposure group processed together\n\nHOME_PATH : str\n Base path for file processing\n\nmaster_radec : str\n Force use this radec file for astrometric alignme... | 0 |
{'name': 'should_fix@pcapng/strictness.py', 'description': 'Helper function for showing code used to fix questionable pcapng data.', 'signature': 'def should_fix():'}</s>{'name': 'warn@pcapng/strictness.py', 'description': 'Show a warning with the given message.', 'code': 'def warn(msg):\n "Show a warning with the g... | 0 |
{'name': 'is_on_the_line@articles/inversion.py', 'description': "Check if 'point' is on the line given by two points 'lp1' and 'lp2'.", 'signature': 'def is_on_the_line(point, lp1, lp2, thres = 1e-6):'}</s>{'name': 'DFCInversionProofP2@articles/inversion.py', 'description': 'DOCSTRING', 'base_classes': ['DFCInversionPr... | 0 |
{'name': 'consume@tools/pydfu.py', 'description': 'Parses the struct defined by `fmt` from `data`, stores the parsed fields\ninto a named tuple using `names`. Returns the named tuple, and the data\nwith the struct stripped off.', 'signature': 'def consume(fmt, data, names):'}</s>__DFU_STATE_DFU_IDLE = 2 | 0 |
{'name': 'Constraint.__repr__@linopy/constraints.py', 'description': 'Print the constraint arrays.', 'signature': 'def __repr__(self) -> str:'}</s>{'name': 'save_join@linopy/common.py', 'description': "Join multiple xarray Dataarray's to a Dataset and warn if coordinates are not equal.", 'code': 'def save_join(*dataarr... | 0 |
{'name': 'Dataset.__init__@lib/imdb_util.py', 'description': "This function reads in all datasets to be used in training and stores ANY relevant\ninformation which may be needed during training as a list of edict()\n(referred to commonly as 'imobj').\n\nThe function also optionally stores the image database (imdb) file... | 0 |
{'name': 'run_segment_jit_in_chunks_notraceable@python/jax/carfac.py', 'description': "Runs the jitted segment runner in segment groups.\n\nRunning CARFAC on an audio segment this way is most useful when running\nCARFAC-JAX on a number of audio segments that have varying lengths. The\nimplementation is completed by exe... | 0 |
{'name': 'TerraformCommand.destroy@pretf/pretf/command.py', 'description': 'Runs terraform destroy and returns the stdout.', 'signature': 'def destroy(self, *args: str) -> str:'}</s>{'name': 'load_parent@pretf/pretf/workflow.py', 'description': 'Looks for the closest pretf.workflow.py file in parent directories\nand ca... | 0 |
{'name': 'get_custom_library_folders@src/client.py', 'description': 'Parses library folders config file and returns a list of folders paths', 'signature': 'def get_custom_library_folders(config_path: str) -> Optional[List[str]]:'}</s>{'name': 'get_configuration_folder@src/client.py', 'description': 'DOCSTRING', 'code':... | 0 |
{'name': 'GefHelpCommand.__rebuild@gef.py', 'description': 'Rebuild the documentation.', 'signature': 'def __rebuild(self) -> None:'}</s>{'name': 'is_qemu_usermode@gef.py', 'description': 'DOCSTRING', 'code': 'def is_qemu_usermode() -> bool:\n if not is_qemu():\n return False\n response = gdb.execute("main... | 0 |
{'name': 'GefCommand.load_extra_plugins@gef.py', 'description': 'Load the plugins from the gef-extras setting. Returns the number of new plugins added.', 'signature': 'def load_extra_plugins(self, extra_plugins_dir: pathlib.Path | None = None) -> int:'}</s>{'name': 'is_qemu@gef.py', 'description': 'DOCSTRING', 'code': ... | 0 |
{'name': 'from_tk@discopy/quantum/tk.py', 'description': 'Translates from tket to discopy.', 'signature': 'def from_tk(tk_circuit):'}</s>BOX_IS_MIXED = "Pure boxes can have only digits or only qudits as dom and cod." | 0 |
{'name': 'PostgresNode.dump@testgres/node.py', 'description': 'Dump database into a file using pg_dump.\nNOTE: the file is not removed automatically.\n\nArgs:\n filename: database dump taken by pg_dump.\n dbname: database name to connect to.\n username: database user name.\n format: format argument plain/cu... | 0 |
{'name': 'watch_dev@jupyterlab/commands.py', 'description': 'Run watch mode in a given directory.\n\nParameters\n----------\nlogger: :class:`~logger.Logger`, optional\n The logger instance.\n\nReturns\n-------\nA list of `WatchHelper` objects.', 'signature': 'def watch_dev(logger=None):'}</s>{'name': '_test_overlap@... | 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': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ... | 0 |
{'name': 'BisectRunner.get_next@nix_bisect/bisect_runner.py', 'description': 'Computes the next commit to test.\n\nThis takes skip-ranges into account and prioritizes finding the first\ncommit that unbreaks a skip range.\n\nMay add commits for cherry pick. Returns `False` when the bisect is\nfinished.', 'signature': 'd... | 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>MQRC_HANDLE_NOT_AVAILABLE = 2017 | 0 |
{'name': 'ReplaceByFeeTest.test_doublespend_tree@test/functional/feature_rbf.py', 'description': 'Doublespend of a big tree of transactions', 'signature': 'def test_doublespend_tree(self):'}</s>MAX_NODES = 8 | 0 |
{'name': 'compile@mako/codegen.py', 'description': 'Generate module source code given a parsetree node,\nuri, and optional source filename', 'signature': 'def compile(node,'}</s>{'name': '_format_filepos@mako/exceptions.py', 'description': 'DOCSTRING', 'code': 'def _format_filepos(lineno, pos, filename):\n if filena... | 0 |
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ... | 0 |
{'name': 'generate_intervals@emissionsapi/autoupdater.py', 'description': 'Generator for intervals between start and end in days intervals.\n\n:param start: Starting datetime for the intervals.\n:type start: datetime.datetime\n:param end: End datetime for the intervals.\n:type end: datetime.datetime\n:param days: Days ... | 0 |
{'name': 'NewDatabase.write_db_to_matrices@premise/new_database.py', 'description': 'Exports the new database as a sparse matrix representation in csv files.\n\n:param filepath: path provided by the user to store the exported matrices.\nIf it is a string, the path is used as main directory from which\n"iam model" / "pa... | 0 |
{'name': 'handle_control_command@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Handle command from control channel', 'signature': 'def handle_control_command(sniffer, arg, typ, payload):'}</s>ERROR_USAGE = 0 | 0 |
{'name': 'update_payout_screen@displays/waveshare2in13v3.py', 'description': "Update the payout screen to reflect balance of deposited coins.\nScan the invoice??? I don't think so!", 'signature': 'def update_payout_screen():'}</s>lnurl_cancel_notice_1 = "Prepare for LNURL" | 0 |
{'name': 'Cdf.__init__@reference/ThinkDSP/code/thinkstats2.py', 'description': 'Initializes.\n\nIf ps is provided, obj must be the corresponding list of values.\n\nobj: Hist, Pmf, Cdf, Pdf, dict, pandas Series, list of pairs\nps: list of cumulative probabilities\nlabel: string label', 'signature': 'def __init__(self, o... | 0 |
{'name': 'pipeline_train@fake news challenge (FNC-1)/util.py', 'description': 'Process train set, create relevant vectorizers\nArgs:\n train: FNCData object, train set\n test: FNCData object, test set\n lim_unigram: int, number of most frequent words to consider\nReturns:\n train_set: list, of numpy arrays\... | 1 |
{'name': 'train_emotic@train.py', 'description': 'Prepare dataset, dataloders, models. \n:param result_path: Directory path to save the results (val_predidictions mat object, val_thresholds npy object).\n:param model_path: Directory path to load pretrained base models and save the models after training. \n:param train_... | 1 |
{'name': 'load_chars_data@src/ocr/datahelpers.py', 'description': 'Load chars images with corresponding labels.\nArgs:\n charloc: char images FOLDER LOCATION\n wordloc: word images with gaplines FOLDER LOCATION\nReturns:\n (images, labels)', 'signature': "def load_chars_data(charloc='data/charclas/', wordloc='... | 0 |
{'name': 'test_mapping@zict/tests/test_zip.py', 'description': 'Test mapping interface for Zip().', 'signature': 'def test_mapping(fn):'}</s>{'name': 'test_missing_key@zict/tests/test_zip.py', 'description': 'DOCSTRING', 'code': 'def test_missing_key(fn):\n z = Zip(fn)\n\n with pytest.raises(KeyError):\n z... | 0 |
{'name': 'CheckBraces@scripts/cpplint.py', 'description': 'Looks for misplaced braces (e.g. at the end of line).\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any errors f... | 0 |
{'name': 'test_escaped_html@tests/test_linkify.py', 'description': 'If I pass in escaped HTML, it should probably come out escaped.', 'signature': 'def test_escaped_html():'}</s>{'name': 'test_hyphen_in_mail@tests/test_linkify.py', 'description': 'Test hyphens `-` in mails. Issue #300.', 'code': 'def test_hyphen_in_mai... | 0 |
{'name': '_GetTextInside@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': "Retrieves all the text between matching open and close parentheses.\n\nGiven a string of lines and a regular expression string, retrieve all the text\nfollowing the expression and between opening punctuation symbols like\n(, [, or {, ... | 0 |
{'name': 'field@pygraphy/types/field.py', 'description': 'Mark class method as a resolver', 'signature': 'def field(method):'}</s>{'name': 'GraphQLType@pygraphy/types/base.py', 'description': 'DOCSTRING', 'base_classes': ['type'], 'methods': [{'name': 'GraphQLType.print_description@pygraphy/types/base.py', 'description... | 0 |
{'name': 'MarkMethodMixin.mark_text@altair/vegalite/v3/schema/mixins.py', 'description': "Set the chart's mark to 'text'\n\nFor information on additional arguments, see :class:`MarkDef`", 'signature': 'def mark_text(self, align=Undefined, angle=Undefined, baseline=Undefined, binSpacing=Undefined,'}</s>{'name': 'ScaleCo... | 0 |
{'name': 'DetailedMessage.addDetailedOneOf@kortex_driver/scripts/ros_kortex_generator.py', 'description': "Adds a DetailedOneOf to the message's one_of_list\n\nArguments: \n- one_of: One_of to add to the message [DetailedOneOf]\n\nReturns: None", 'signature': 'def addDetailedOneOf(self, one_of):'}</s>FORBIDDEN_RPC_METH... | 0 |
{'name': 'Connection.send_with_data_passthrough@h11/_connection.py', 'description': 'Identical to :meth:`send`, except that in situations where\n:meth:`send` returns a single :term:`bytes-like object`, this instead\nreturns a list of them -- and when sending a :class:`Data` event, this\nlist is guaranteed to contain th... | 0 |
{'name': 'NamespaceLookupTestCase.test_scope_ambiguity_after_using_lookup_with_run_command@tools/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py', 'description': 'Test scope lookup ambiguity after using in lldb.', 'signature': 'def test_scope_ambiguity_after_using_lookup_with_run_command(s... | 0 |
{'name': '_MXNetModule.__make_numerical_loss@datawig/imputer.py', 'description': 'Generate output symbol for univariate numeric loss\n\n:param latents:\n:param label_field_name:\n:return: mxnet symbols for predictions and loss', 'signature': 'def __make_numerical_loss(latents: mx.symbol,'}</s>{'name': 'ColumnOverwriteE... | 0 |
{'name': 'Line.clone@transformer/python.py', 'description': 'Creates an exact but disconnected copy of self.\nUseful in tests.', 'signature': 'def clone(self) -> "Line":'}</s>{'name': 'OpaqueBlock@transformer/python.py', 'description': 'A block of code already represented as a string.\nThis helps moving existing code (... | 0 |
{'name': 'MQTTSubscriber.get_subscriber@bin/user/MQTTSubscribe.py', 'description': 'Factory method to get appropriate MQTTSubscriber for paho mqtt version. ', 'signature': 'def get_subscriber(cls, service_dict, logger):'}</s>{'name': 'MQTTSubscribeConfiguration@bin/user/MQTTSubscribe.py', 'description': 'Manage the MQT... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_CALL_INTERRUPTED = 2549 | 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': 'ChainstateWriteCrashTest.restart_node@test/functional/feature_dbcrash.py', 'description': 'Start up a given node id, wait for the tip to reach the given block hash, and calculate the utxo hash.\n\nExceptions on startup should indicate node crash (due to -dbcrashratio), in which case we try again. Give up\naft... | 0 |
{'name': 'SentencePredictionTask.load_dataset@fairseq/tasks/sentence_prediction.py', 'description': 'Load a given dataset split (e.g., train, valid, test).', 'signature': 'def load_dataset(self, split, combine=False, **kwargs):'}</s>{'name': '_filter_by_size_dynamic@fairseq/data/data_utils.py', 'description': 'DOCSTRIN... | 0 |
{'name': 'TransformerDecoder.output_layer@fairseq/models/hubert/hubert_asr.py', 'description': 'Project features to the vocabulary size.', 'signature': 'def output_layer(self, features, **kwargs):'}</s>{'name': 'load_pretrained_component_from_model@fairseq/checkpoint_utils.py', 'description': 'Load a pretrained Fairseq... | 0 |
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i... | 0 |
{'name': 'idejs_static@ide/routes.py', 'description': 'ide.js is a special file in that it has the `approved` webserver name embedded in it.\n(e.g., "glowscript.org"). Since we\'re deploying on development/test servers as well\nwe need to be able to swap out the approved name at runtime. This scheme let\'s us\nswap it ... | 0 |
{'name': 'TestUnicodeReader.test_wrong_encoding_detection_windows@tests/test_io.py', 'description': 'Test for detecting the encoding of a windows file opened in ascii', 'signature': 'def test_wrong_encoding_detection_windows(self):'}</s>{'name': '_to_datetime@meza/convert.py', 'description': "Parses and formats strings... | 0 |
{'name': 'numpy_encode@json_tricks/encoders.py', 'description': 'Encodes numpy `ndarray`s as lists with meta data.\n\nEncodes numpy scalar types as Python equivalents. Special encoding is not possible,\nbecause int64 (in py2) and float64 (in py2 and py3) are subclasses of primitives,\nwhich never reach the encoder.\n\n... | 0 |
{'name': 'Routine.stage@fontFeatures/__init__.py', 'description': 'Returns which shaping stage this routine is used in.\n\nReturns: ``sub`` for substitution stage, ``pos`` for positioning stage.', 'signature': 'def stage(self):'}</s>{'name': 'ExtensionRoutine@fontFeatures/__init__.py', 'description': 'OpenType-specific... | 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>namepattern = re.compile(r... | 0 |
{'name': 'TestMibSnimpy.testGet@tests/test_mib.py', 'description': 'Test that we can get all named attributes', 'signature': 'def testGet(self):'}</s>{'name': 'Boolean@snimpy/basictypes.py', 'description': 'Class for a boolean.', 'base_classes': ['Enum'], 'methods': [{'name': 'Boolean._internal@snimpy/basictypes.py', '... | 0 |
{'name': 'parse@src/html5_parser/__init__.py', 'description': "Parse the specified :attr:`html` and return the parsed representation.\n\n:param html: The HTML to be parsed. Can be either bytes or a unicode string.\n\n:param transport_encoding: If specified, assume the passed in bytes are in this encoding.\n Ignored ... | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.