text string | label int64 |
|---|---|
{'name': 'PreviewBuilderFactory.load_builders@preview_generator/preview/builder_factory.py', 'description': 'Loads all builders found in preview_generator.preview.builder module\n:return: None', 'signature': 'def load_builders(self, force: bool = False) -> None:'}</s>{'name': 'PreviewBuilder@preview_generator/preview/g... | 1 |
{'name': 'translate@joeynmt/prediction.py', 'description': "Interactive translation function.\nLoads model from checkpoint and translates either the stdin input or asks for\ninput to translate interactively. Translations and scores are printed to stdout.\nNote: The input sentences don't have to be pre-tokenized.\n\n:pa... | 1 |
{'name': 'Message.from_pydict@src/betterproto/__init__.py', 'description': 'Parse the key/value pairs into the current message instance. This returns the\ninstance itself and is therefore assignable and chainable.\n\nParameters\n-----------\nvalue: Dict[:class:`str`, Any]\n The dictionary to parse from.\n\nReturns\n... | 0 |
{'name': '_FloatingPointEncoder@third_party/include/protobuf-2.6.1/python/google/protobuf/internal/encoder.py', 'description': "Return a constructor for an encoder for float fields.\n\nThis is like StructPackEncoder, but catches errors that may be due to\npassing non-finite floating-point values to struct.pack, and mak... | 0 |
{'name': 'TestAdminTreeList.test_result_tree_list_escapes_labels@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_list_escapes_labels(self, model_with_unicode):'}</s>{'name': 'TestAd... | 1 |
{'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>MQPL_TPF = 23 | 0 |
{'name': 'get_signature_string@src/makefun/main.py', 'description': 'Returns the string to be used as signature.\nIf there is a non-native symbol in the defaults, it is created as a variable in the evaldict\n:param func_name:\n:param func_signature:\n:return:', 'signature': 'def get_signature_string(func_name, func_sig... | 0 |
{'name': 'RFXtrxProtocolTest.test_complete_packet@test/test_rfxtrx_protocol.py', 'description': 'Protocol should assemble incoming lines into complete packet.', 'signature': 'def test_complete_packet(self):'}</s>INSTANTANEOUS_REACTIVE_POWER_L2_NEGATIVE = "^\d-\d:44\.7\.0.+?\r\n" | 0 |
{'name': 'Message.to_dict@src/betterproto/__init__.py', 'description': 'Returns a JSON serializable dict representation of this object.\n\nParameters\n-----------\ncasing: :class:`Casing`\n The casing to use for key values. Default is :attr:`Casing.CAMEL` for\n compatibility purposes.\ninclude_default_values: :cl... | 0 |
{'name': 'test_socket_options.test_transport_repr_issue_361@t/unit/test_transport.py', 'description': 'Regression test for https://github.com/celery/py-amqp/issues/361', 'signature': 'def test_transport_repr_issue_361(self):'}</s>{'name': 'test_TCPTransport@t/unit/test_transport.py', 'description': 'DOCSTRING', 'base_c... | 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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIA_SUB_SCOPE = 218 | 0 |
{'name': 'MainWindow.load_standalone_modules@SpicesUpdate@claudiux/files/SpicesUpdate@claudiux/cs/6.0_FUTURE/cinnamon-settings_OLD.py', 'description': 'Loads all standalone settings modules.', 'signature': 'def load_standalone_modules(self):'}</s>WIN_WIDTH = 800 | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIACF_SYSP_DUAL_BSDS = 1185 | 0 |
{'name': 'parse_param@src/civis/resources/_resources.py', 'description': 'Parse a parameter into a list of dictionaries which can\nbe used to add the parameter to a dynamically generated function.', 'signature': 'def parse_param(param):'}</s>_BRACKETED_REGEX = re.compile(r"^{.*}$") | 0 |
{'name': 'BaseImage.polaroid@wand/image.py', 'description': "Creates a special effect simulating a Polaroid photo.\n\n:see: Example of :ref:`polaroid`.\n\n:param angle: applies a shadow effect along this angle.\n:type angle: :class:`numbers.Real`\n:param caption: Writes a message at the bottom of the photo's border.\n:... | 0 |
{'name': 'BaseCheckTypesTestCase.test_base_check_types_are_public@oslo_policy/tests/test_policy.py', 'description': 'Check that those check types are part of public API.\n\nThey are blessed to be used by library consumers.', 'signature': 'def test_base_check_types_are_public(self):'}</s>{'name': 'EnforcerTest@oslo_poli... | 0 |
{'name': 'ContinuousWaveformClient._request_cont_waveform@HinetPy/client.py', 'description': 'Request continuous waveform.\n\nParameters\n----------\ncode: str\n Network code.\nstarttime: :py:class:`datetime.datetime`\n Starttime of data request.\nspan: int\n Time span in minutes.\n\nReturns\n-------\nid: str\... | 0 |
{'name': 'test_skip_decorators@tests/test_coverage.py', 'description': 'Tests ignoring of property decorators', 'signature': 'def test_skip_decorators(ignore_setter, ignore_deleter, ignore_property, coverage):'}</s>{'name': 'MarkdownPrinter@docstr_coverage/printers.py', 'description': 'Printer for Markdown format.', 'b... | 0 |
{'name': 'CheckPrintf@tools/cpplint.py', 'description': 'Check for printf related issues.\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 found.', 'signature': 'd... | 0 |
{'name': 'NewDatabase.__import_inventories@premise/new_database.py', 'description': 'This method will trigger the import of a number of pickled inventories\nand merge them into the database dictionary.', 'signature': 'def __import_inventories(self) -> List[dict]:'}</s>{'name': '_update_biomass@premise/biomass.py', 'des... | 0 |
{'name': 'export_args_namespace@log.py', 'description': 'args: argparse.Namespace\n arguments to save\nfilename: string\n filename to save at', 'signature': 'def export_args_namespace(args, filename):'}</s>{'name': 'setup_logging@log.py', 'description': 'Setup logging configuration', 'code': 'def setup_logging(lo... | 0 |
{'name': 'diff_entire_folder_against_full_history_subcommand@ascmhl/commands.py', 'description': 'Checks MHL hashes from all generations against all file hash entries.\n\nROOT_PATH: the root path to use for the asc mhl history\n\nTraverses through the content of a folder. The command finds all files that are existent i... | 0 |
{'name': 'AGraph.draw@pygraphviz/agraph.py', 'description': 'Output graph to path in specified format.\n\n.. caution:: EXPERIMENTAL\n\nThis version of the draw command uses libgvc for drawing instead\nof command line GraphViz tools like in versions <1.6 and the default.\n\nAn attempt will be made to guess the output fo... | 0 |
{'name': 'build_schema@custom_components/thermal_comfort/config_flow.py', 'description': 'Build configuration schema.\n\n:param config_entry: config entry for getting current parameters on None\n:param hass: Home Assistant instance\n:param show_advanced: bool: should we show advanced options?\n:param step: for which st... | 1 |
{'name': '_importable@dill/source.py', 'description': "get an import string (or the source code) for the given object\n\nThis function will attempt to discover the name of the object, or the repr\nof the object, or the source code for the object. To attempt to force\ndiscovery of the source code, use source=True, to at... | 1 |
{'name': 'BaseTestCase.tearDown@automated_logging/tests/base.py', 'description': 'tearDown the DAL specific environment', 'signature': 'def tearDown(self) -> None:'}</s>{'name': 'AutomatedLoggingMiddleware@automated_logging/middleware.py', 'description': 'Middleware used by django-automated-logging\nto provide request ... | 0 |
{'name': 'PFDivert._to_string@pf/rule.py', 'description': 'Return a string representation of the object.', 'signature': 'def _to_string(self):'}</s>TCPS_LISTEN = 1 | 0 |
{'name': 'localhost@jupyter_client/localinterfaces.py', 'description': 'return ip for localhost (almost always 127.0.0.1)', 'signature': 'def localhost() -> str:'}</s>{'name': '_get_output@jupyter_client/localinterfaces.py', 'description': 'Get output of a command, raising IOError if it fails', 'code': 'def _get_output... | 0 |
{'name': 'ParserElement.runTests@venv/Lib/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Execute the parse expression on a series of test strings, showing each\ntest, the parsed results or where the parse failed. Quick and easy way to\nrun a parse expression against a list of sample strings.\n \nP... | 0 |
{'name': 'CDF.write_globalattrs@cdflib/cdfwrite.py', 'description': "Writes the global attributes.\n\nParameters\n----------\nglobalAttrs: dict\n Global attribute name(s) and their value(s) pair(s).\n\n The value(s) is a dictionary of entry number and value pair(s).\n For example::\n\n globalAttrs={}\n ... | 1 |
{'name': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo... | 0 |
{'name': 'nestedExpr@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and closing\ndelimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list (default=C{"("}); can also be a pyparsing expres... | 0 |
{'name': 'build@bioconda_utils/build.py', 'description': "Build a single recipe for a single env\n\nArguments:\n recipe: Path to recipe\n pkg_paths: List of paths to expected packages\n testonly: Only run the tests described in the meta.yaml\n mulled_test: Run tests in minimal docker container\n channels: Channels... | 0 |
{'name': 'process_assignments_and_deletions@da/compiler/incgen.py', 'description': 'Generate stub and hook for assignments and deletions.\n\nThis should be called after the query parameters have been accumulated.', 'signature': 'def process_assignments_and_deletions(state):'}</s>{'name': 'ForStmt@da/compiler/dast.py', ... | 1 |
{'name': 'batch_mode@agfusion/cli.py', 'description': 'Batch mode for annotation fusions from output from a fusion-finding\nalgorithm', 'signature': 'def batch_mode(args, agfusion_db, pyensembl_data, rename, colors):'}</s>{'name': 'STARFusion@agfusion/parsers.py', 'description': 'STARFusion parser.', 'base_classes': ['... | 0 |
{'name': 'engine.number_to_words@src/bids/external/inflect.py', 'description': 'Return a number in words.\n\ngroup = 1, 2 or 3 to group numbers before turning into words\ncomma: define comma\n\nandword:\n word for \'and\'. Can be set to \'\'.\n e.g. "one hundred and one" vs "one hundred one"\n\nzero: word for \'0... | 0 |
{'name': 'SQL@grizli/aws/db.py', 'description': "Send a query to a database through `pandas.read_sql_query`\n\nParameters\n----------\nquery_text : str\n Query text, e.g., 'SELECT count(*) FROM table;'.\n\nengine : `sqlalchemy.engine.Engine`\n DB connection engine initialized with `~grizli.aws.db.get_db_engine`. ... | 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': 'random_sized_crop_list@models/SlowFast/slowfast/datasets/cv2_transform.py', 'description': 'Perform random sized cropping on the given list of images. Random crop with\n size 8% - 100% image area and aspect ratio in [3/4, 4/3].\nArgs:\n images (list): image to crop.\n size (int): size to crop.\n a... | 1 |
{'name': 'JobQueue.dequeue@worker/bioqueue.py', 'description': 'Pop a job out of the queue and finish the following steps\n\n1.\nParameters\n----------\njob :\n\nReturns\n-------', 'signature': 'def dequeue(self, job, is_error=0):'}</s>root_path = os.path.split(os.path.realpath(__file__))[0] | 0 |
{'name': 'SensorHandler.validate_arming_event@custom_components/alarmo/sensors.py', 'description': 'check whether all sensors have the correct state prior to arming.', 'signature': 'def validate_arming_event(self, area_id: str, target_state: str = None, **kwargs):'}</s>INTEGRATION_FOLDER = DOMAIN | 0 |
{'name': 'AdbDevice._clse@adb_shell/adb_device.py', 'description': "Send a ``b'CLSE'`` message and then read a ``b'CLSE'`` message.\n\n.. warning::\n\n This is not to be confused with the :meth:`AdbDevice.close` method!\n\n\nParameters\n----------\nadb_info : _AdbTransactionInfo\n Info and settings for this ADB tr... | 0 |
{'name': 'run_eruption_env@self_organising_systems/biomakerca/extensions/eruption.py', 'description': 'Create a video running Eruption.', 'signature': 'def run_eruption_env('}</s>{'name': 'make_material_exclusive_interface@self_organising_systems/biomakerca/env_logic.py', 'description': 'Constructs an interface for mat... | 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': 'on_load_data@src/server/server.py', 'description': 'Allow pages to load needed data', 'signature': 'def on_load_data(data):'}</s>{'name': 'check_req_entry@src/server/server.py', 'description': 'DOCSTRING', 'code': 'def check_req_entry(req_line, entry):\n try:\n if entry and len(entry) > 0:\n ... | 0 |
{'name': 'Logistic.checkToDoList@foo/logisticDepartment/Logistic.py', 'description': '收获制造站产出,交付订单,获取信赖', 'signature': 'def checkToDoList(self):'}</s>{'name': 'ocr_operatorMood@foo/pictureR/ocr.py', 'description': 'DOCSTRING', 'code': "def ocr_operatorMood(pic, roi = (0, 0, 0, 0), isDorm = False):\n ans = []\n ma... | 0 |
{'name': 'BaseRequest.POST@3rdparty/mongo-c-driver-1.26.2/build/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>{'... | 0 |
{'name': 'IUClock.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data', 'signature': 'def load(self, config: OrderedDict) -> "IUClock":'}</s>TIMELINE_SCHEDULE = "schedule" | 0 |
{'name': 'register_websocket_handlers@custom_components/nodered/websocket.py', 'description': 'Register the websocket handlers.', 'signature': 'def register_websocket_handlers(hass: HomeAssistant):'}</s>{'name': 'NodeRedJSONEncoder@custom_components/nodered/utils.py', 'description': 'JSONEncoder that supports timedelta... | 0 |
{'name': 'BaseFilterSet.get_form_class@django_filters/filterset.py', 'description': 'Returns a django Form suitable of validating the filterset data.\n\nThis method should be overridden if the form class needs to be\ncustomized relative to the filterset instance.', 'signature': 'def get_form_class(self):'}</s>{'name': ... | 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': 'test_MultiBaseTilerFactory@src/titiler/core/tests/test_factories.py', 'description': 'test MultiBaseTilerFactory.', 'signature': 'def test_MultiBaseTilerFactory(rio):'}</s>{'name': 'AssetsBidxParams@src/titiler/core/titiler/core/dependencies.py', 'description': "Assets, Asset's band Indexes and Asset's band E... | 0 |
{'name': 'test_email_validation_with_none@voluptuous/tests/tests.py', 'description': 'Test with invalid None email address', 'signature': 'def test_email_validation_with_none():'}</s>{'name': 'test_equality@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': "def test_equality():\n assert Schema('foo') =... | 0 |
{'name': 'db@backend/app/tests/conftest.py', 'description': "Return a database connection that can be used to commit items during testing.\n\nBecause this method is 'autouse=True', it will be ran before *every* test method.\nThis means that every test will have a test database with tables created to use\nhowever the te... | 0 |
{'name': 'openLabJack@src/LabJackPython.py', 'description': 'openLabJack(deviceType, connectionType, firstFound = True, pAddress = 1, LJSocket = None)\n\nNote: On Windows, UE9 over Ethernet, pAddress MUST be the IP address. ', 'signature': 'def openLabJack(deviceType, connectionType, firstFound = True, pAddress = None,... | 0 |
{'name': 'Numeral.__rgt__@src/api/python/z3/z3num.py', 'description': 'Return True if `other > self`.\n\n>>> 2 > Numeral(Sqrt(2))\nTrue', 'signature': 'def __rgt__(self, other):'}</s>{'name': '_global_on_model@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def _global_on_model(ctx):\n (fn, mdl) = _on... | 0 |
{'name': 'plot_sounding_data_csv@pymeteo/skewt.py', 'description': 'Plot SkewT from a CSV sounding data file\n\n:param filename: The name of the file to open.\n:type filename: str\n:param output: The name of the file to output plot\n:type output: str\n\nThe datafile format is CSV with the following columns: \n\n- press... | 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': 'UniqueTypesTestCase.test@lldb/packages/Python/lldbsuite/test/lang/cpp/unique-types/TestUniqueTypes.py', 'description': 'Test for unique types of std::vector<long> and std::vector<short>.', 'signature': 'def test(self):'}</s>PROCESS_IS_VALID = "Process is valid" | 0 |
{'name': 'compute_bbox_stats@lib/rpn_util.py', 'description': 'Computes the mean and standard deviation for each regression\nparameter (usually pertaining to [dx, dy, sw, sh] but sometimes\nfor 3d parameters too).\n\nOnce these stats are known we normalize the regression targets\nto have 0 mean and 1 variance, to hypot... | 0 |
{'name': 'render@src/nccutil/_version.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'render_pep440@src/nccutil/_version.py', 'description': 'Build up version string, with post-release "local version identifier".\n\nOur goal: TAG[+... | 1 |
{'name': 'InverseCompton._iso_ic_on_monochromatic@src/naima/radiative.py', 'description': 'IC cross-section for an isotropic interaction with a monochromatic\nphoton spectrum following Eq. 22 of Aharonian & Atoyan 1981, Ap&SS 79,\n321 (`http://adsabs.harvard.edu/abs/1981Ap%26SS..79..321A`_)', 'signature': 'def _iso_ic_... | 1 |
{'name': 'split_header_words@Contents/Libraries/Shared/ss/mechanize/_headersutil.py', 'description': 'Parse header values into a list of lists containing key,value pairs.\n\nThe function knows how to deal with ",", ";" and "=" as well as quoted\nvalues after "=". A list of space separated tokens are parsed as if they\... | 0 |
{'name': 'scnym_predict@scnym/api.py', 'description': 'Predict cell identities using an scNym model.\n\nParameters\n----------\nadata : AnnData\n [Cells, Genes] experiment containing annotated\n cells to train on.\nconfig : dict\n configuration options.\n\nReturns\n-------\nNone. Adds `adata.obs[config["key_ad... | 1 |
{'name': 'matchOnlyAtCol@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining parse actions that require matching at a specific\ncolumn in the input text.', 'signature': 'def matchOnlyAtCol(n):'}</s>{'name': 'ZeroOrMore@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py'... | 0 |
{'name': 'render_positive_time_period@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Resolve a template that specifies a timedelta', 'signature': 'def render_positive_time_period(data: dict, key: str) -> None:'}</s>{'name': 'IUHistory@custom_components/irrigation_unlimited/history.py',... | 0 |
{'name': 'P2PConnection.disconnect_node@test/functional/test_framework/mininode.py', 'description': 'Disconnect the p2p connection.\n\nCalled by the test logic thread. Causes the p2p connection\nto be disconnected on the next iteration of the asyncore loop.', 'signature': 'def disconnect_node(self):'}</s>{'name': 'ToHe... | 0 |
{'name': '_smaller_indices@vamb/cluster.py', 'description': 'Get all indices where the tensor is smaller than the threshold.', 'signature': 'def _smaller_indices('}</s>_MEDOID_RADIUS = 0.05 | 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': 'EquivarianceMetric.compute_equivariance_diff@metrics/equivariance.py', 'description': 'Computes the equivariance difference with the generator.', 'signature': 'def compute_equivariance_diff(self, generator, generator_kwargs):'}</s>{'name': 'lanczos_window@metrics/equivariance.py', 'description': 'Applies Lanc... | 0 |
{'name': 'main@onnxruntime/python/tools/tensorrt/perf/post.py', 'description': 'Entry point of this script. Uploads data produced by benchmarking scripts to the database.', 'signature': 'def main():'}</s>{'name': 'get_memory_over_time@onnxruntime/python/tools/tensorrt/perf/post.py', 'description': 'Returns a new Pandas... | 1 |
{'name': 'process_query@da/compiler/incgen.py', 'description': "Generates stub and hook for 'query'.", 'signature': 'def process_query(query, state):'}</s>{'name': 'NameExpr@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['SimpleExpr'], 'methods': [{'name': 'NameExpr.name@da/compiler/dast.py', 'descr... | 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': 'get_pseud_id@AO3/utils.py', 'description': 'DOCSTRING', 'code': 'def get_pseud_id(ao3object, session=None, specified_pseud=None):\n if se... | 0 |
{'name': 'TestContextProperty.test_secret_key_raise_runtime_error_on_outside_context@tests/test_app/context/test_context_property.py', 'description': 'request context 밖에서 secret key 접근 시 RuntimeError 발생', 'signature': 'def test_secret_key_raise_runtime_error_on_outside_context(self):'}</s>{'name': 'TestContextProperty@... | 1 |
{'name': 'main@src/tools/phased_out/lofreq2_filter.py', 'description': 'main function\n ', 'signature': 'def main():'}</s>__author__ = "Grace Hui Ting Yeo" | 0 |
{'name': 'ItemsManager.archive@todoist/managers/items.py', 'description': 'Marks item as archived remotely.', 'signature': 'def archive(self, item_id):'}</s>{'name': 'Model@todoist/models.py', 'description': 'Implements a generic object.', 'base_classes': ['object'], 'methods': [{'name': 'Model.__init__@todoist/models.... | 0 |
{'name': 'CorpusMixin.normalize_text@montreal_forced_aligner/corpus/base.py', 'description': "Normalize the text of the corpus using a dictionary's sanitization functions and word mappings", 'signature': 'def normalize_text(self) -> None:'}</s>{'name': 'Pronunciation@montreal_forced_aligner/db.py', 'description': 'Data... | 1 |
{'name': '_Selector._freeze_relations@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Freeze relation.', 'signature': 'def _freeze_relations(self, relations):'}</s>{'name': 'Inputs@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_match.py', 'description': 'Class ... | 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': '_GenerateMSVSProject@gyp/pylib/gyp/generator/msvs.py', 'description': 'Generates a .vcproj file. It may create .rules and .user files too.\n\nArguments:\n project: The project object we will generate the file for.\n options: Global options passed to the generator.\n version: The VisualStudioVersion object... | 0 |
{'name': 'setup_fs@Python/Distribution_Iterator/examples/example_first_timestamp.py', 'description': 'Helper function to setup the file system for the examples.\n ', 'signature': 'def setup_fs() -> fsspec:'}</s>{'name': 'example_first_timestamp@Python/Distribution_Iterator/examples/example_first_timestamp.py', 'desc... | 0 |
{'name': 'device_added@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'A device is added or updated', 'signature': 'def device_added(notification):'}</s>{'name': 'set_irk@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Send Identity Resolving Key (IRK) to device', 'code': 'def set_irk(sniffe... | 0 |
{'name': 'comm@tests/input/test_InputFromData.py', 'description': 'Creates a MPI.COMM_WORLD object for working with multi-process information.', 'signature': 'def comm():'}</s>data_file_names = ["spring_mass_1D_inputs.txt", "2D_test_data.csv"] | 0 |
{'name': 'Request.get_response@spider/network/request.py', 'description': '获取带有selector功能的response\n@param save_cached: 保存缓存 方便调试时不用每次都重新下载\n@return:', 'signature': 'def get_response(self, save_cached=False):'}</s>SAVE_FAILED_REQUEST = True | 0 |
{'name': 'PacketFilter.get_queues@pf/filter.py', 'description': 'Retrieve the currently loaded queues.\n\nReturn a tuple of PFQueue objects.', 'signature': 'def get_queues(self):'}</s>ICMP6_DST_UNREACH_ADMIN = 1 | 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': 'Record.body_string@shingetsu/cache.py', 'description': 'Remove attach field.', 'signature': 'def body_string(self):'}</s>tiedfile_cache_size = 30 | 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': 'ReadAlignmentStats.getReadAlignmentStats@src/margin/utils.py', 'description': 'Gets a list of ReadAlignmentStats objects, one for each alignment in the same file\n ', 'signature': 'def getReadAlignmentStats(samFile, readFastqFile, referenceFastaFile, globalAlignment=True):'}</s>{'name': 'paralleliseSam... | 0 |
{'name': 'CheckLanguage@tools/cpplint.py', 'description': "Checks rules from the 'C++ language rules' section of cppguide.html.\n\nSome of these rules are hard to test (function overloading, using\nuint32 inappropriately), but we do the best we can.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A ... | 0 |
{'name': 'field_for_schema@src/desert/_make.py', 'description': 'Get a marshmallow Field corresponding to the given python type.\nThe metadata of the dataclass field is used as arguments to the marshmallow Field.\n>>> int_field = field_for_schema(int, default=9, metadata=dict(required=True))\n>>> int_field.__class__\n<... | 0 |
{'name': 'GitlabTree.get_projects@gitlabber/gitlab_tree.py', 'description': 'Get projects for a group.\n\nArgs:\n group: Group to get projects for\n parent: Parent node', 'signature': 'def get_projects(self, group: Group, parent: Node) -> None:'}</s>{'name': 'sync_tree@gitlabber/git.py', 'description': 'Synchroni... | 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': 'CheckForNonConstReference@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Check for non-const references.\n\nSeparate from CheckLanguage since it scans backwards from current\nline, instead of scanning forward.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines in... | 0 |
{'name': 'MarketstoreStub.__init__@pymarketstore/proto/marketstore_pb2_grpc.py', 'description': 'Constructor.\n\nArgs:\n channel: A grpc.Channel.', 'signature': 'def __init__(self, channel):'}</s>{'name': 'MarketstoreStub@pymarketstore/proto/marketstore_pb2_grpc.py', 'description': 'Missing associated documentation ... | 1 |
{'name': 'OpticalProduct._open_bands@eoreader/products/optical/optical_product.py', 'description': 'Open bands from disk.\n\nArgs:\n band_paths (dict): Band dict: {band_enum: band_path}\n pixel_size (float): Band pixel size in meters\n size (Union[tuple, list]): Size of the array (width, height). Not used if p... | 0 |
{'name': '_pick_proper_endpoint@clarifai_grpc/channel/grpc_json_channel.py', 'description': 'Fills in the url template with the actual url params from the request body.\nPicks the most appropriate url depending on which parameters are present in the request body.\nArgs:\n resources: all available resource endpoints fo... | 0 |
{'name': 'ApiValueError.__init__@sdk/python/v2beta1/mpijob/exceptions.py', 'description': 'Args:\n msg (str): the exception message\n\nKeyword Args:\n path_to_item (list) the path to the exception in the\n received_data dict. None if unset', 'signature': 'def __init__(self, msg, path_to_item=None):'}</s>{'... | 1 |
{'name': 'BitcoinTestFramework.main@test/functional/test_framework/test_framework.py', 'description': 'Main function. This should not be overridden by the subclass test scripts.', 'signature': 'def main(self):'}</s>{'name': 'AuthServiceProxyWrapper@test/functional/test_framework/coverage.py', 'description': 'An object ... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.