text string | label int64 |
|---|---|
{'name': 'TestCore.test_bad_schema@tests/test_core.py', 'description': 'Test illegal JSON schema', 'signature': 'def test_bad_schema(self, bad_schema):'}</s>{'name': 'notify@notifiers/core.py', 'description': 'Quickly sends a notification without needing to get a notifier via the :func:`get_notifier` method.\n\n:param ... | 0 |
{'name': 'pantiltGoHome@source/pi-timolo.py', 'description': 'Move pantilt to home position. If pantilt installed then this\ncan position pantilt to a home position for consistent\nmotion tracking and timelapse camera pointing.', 'signature': 'def pantiltGoHome():'}</s>{'name': 'shut2sec@source/pi-timolo.py', 'descript... | 0 |
{'name': 'create_optparser@python-build-with-qt/sip-4.11.2/configure.py', 'description': 'Create the parser for the command line.\n ', 'signature': 'def create_optparser():'}</s>{'name': 'show_macros@python-build-with-qt/sip-4.11.2/configure.py', 'description': 'Display the different build macros.\n ', 'code': 'd... | 0 |
{'name': 'TestingParser.set_parser@tests/run_all_tests.py', 'description': 'Sets a new argument parser.\n\nThis method sets a new instance of the argument parser.\n\nParameters:\n- newParser (argparse.ArgumentParser): The new argument parser to set.', 'signature': 'def set_parser(self, newParser: argparse.ArgumentParse... | 0 |
{'name': 'TestAPI.test_load_unused_semantics@tests/test_api.py', 'description': "Test #102\nIf unused Semantics Objects are stored on the geometry, it shouldn't break the\nAPI.", 'signature': 'def test_load_unused_semantics(self, mt_1_path):'}</s>{'name': 'load@cjio/cityjson.py', 'description': 'Load a CityJSON file fo... | 1 |
{'name': 'load@steamfiles/manifest.py', 'description': 'Loads the contents of a Manifest file into a Python object.\n:param fp: A file object.\n:param wrapper: A wrapping object for key-value pairs.\n:return: A dictionary with Manifest data.', 'signature': 'def load(fp, wrapper=dict):'}</s>{'name': 'loads@steamfiles/ma... | 1 |
{'name': 'TestInput.test_input_checking3@tests/test_input.py', 'description': 'Test to ensure that we correctly merge featuresets.', 'signature': 'def test_input_checking3(self):'}</s>other_dir = tests_dir / "other" | 0 |
{'name': 'process_log@tools/warn/warn_common.py', 'description': 'Function that handles processing of a log.\n\nThis is isolated into its own function (rather than just taking place in main)\nso that it can be used by both warn.py and the borg job process_gs_logs.py, to\navoid duplication of code.\nNote that if the arg... | 0 |
{'name': 'rmtree@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/distlib/_backport/shutil.py', 'description': 'Recursively delete a directory tree.\n\nIf ignore_errors is set, errors are ignored; otherwise, if onerror\nis set, it is called to handle the error with arguments (func,\npath, exc_info) where func is... | 0 |
{'name': 'ReplaceByFeeTest.test_too_many_replacements@test/functional/feature_rbf.py', 'description': 'Replacements that evict too many transactions are rejected', 'signature': 'def test_too_many_replacements(self):'}</s>OP_WITHIN = CScriptOp(0xa5) | 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': 'softmax@RULSTM/utils.py', 'description': 'Compute softmax values for each sets of scores in x.', 'signature': 'def softmax(x):'}</s>{'name': 'topk_recall_multiple_timesteps@RULSTM/utils.py', 'description': 'DOCSTRING', 'code': 'def topk_recall_multiple_timesteps(preds, labels, k=5, classes=None):\n accs = ... | 0 |
{'name': 'DebPkgToolsTestCase.test_update_conffiles_exclude@deb_pkg_tools/tests.py', 'description': 'Test ``build_package(update_conffiles=True)`` with an exclude.', 'signature': 'def test_update_conffiles_exclude(self):'}</s>{'name': 'strip_object_files@deb_pkg_tools/package.py', 'description': 'Use :man:`strip` to ma... | 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': 'Lambda@src/api/python/z3/z3.py', 'description': "Create a Z3 lambda expression.\n\n>>> f = Function('f', IntSort(), IntSort(), ... | 0 |
{'name': 'preprocess@tensorflow_tts/bin/preprocess.py', 'description': 'Run preprocessing process and compute statistics for normalizing.', 'signature': 'def preprocess():'}</s>{'name': 'save_features_to_file@tensorflow_tts/bin/preprocess.py', 'description': 'Save transformed dataset features in disk.\nArgs:\n featu... | 1 |
{'name': 'is_valid_object_name@kubespawner/slugs.py', 'description': "is_valid check for object names\n\nEnsures all strictest object rules apply,\nsatisfying both RFC 1035 and 1123 dns label name rules\n\n- 63 characters\n- starts with letter, ends with letter or number\n- only lowercalse letters, numbers, '-'", 'sign... | 0 |
{'name': 'main@github_invite_to_org.py', 'description': 'Read a JSON file with a dictionary mapping organization roles to lists of members usernames.\n\nArguments:\n\n--token XXX = GitHub Personal Access Token (default = defined in github_coinfig.py)\n--file XXX = JSON file with format: { role:[username, ...] } whe... | 0 |
{'name': 'User.christmas_mode@src/astrobotany/models.py', 'description': 'Return if the user is in "christmas" mode.\n\nCache the results because this is a relatively expensive query that\nwill be checked multiple times per request.', 'signature': 'def christmas_mode(self) -> bool:'}</s>romantic_postcard = Postcard(
... | 0 |
{'name': '_type_expression@swagger_to/ts_angular5_client.py', 'description': 'Translate the type definition in Typescript representation to a type expression as Typescript code.\n\n:param typedef: Typescript representation of the type definition\n:param path: path in the Swagger spec\n:return: Typescript code', 'signat... | 0 |
{'name': 'LossModel._apply_consequence_scaling@pelicun/model/loss_model.py', 'description': 'Apply a scale factor to selected loss sample columns.\n\nThe scaling conditions are passed as a dictionary mapping\nlevel names with their required value for the condition to be\nmet. It has to contain `dv` as one of its keys, ... | 0 |
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>PFRULE_RULESRCTRACK = 64 | 0 |
{'name': 'Win32Serial.setRTS@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Set terminal status line: Request To Send', 'signature': 'def setRTS(self, level=1):'}</s>PURGE_TXCLEAR = 4 | 0 |
{'name': 'plot@phi/vis/_vis.py', 'description': "Creates one or multiple figures and sub-figures and plots the given fields.\n\nTo show the figures, use `show()`.\n\nThe arguments `row_dims`, `col_dims`, `animate` and `overlay` control how data is presented.\nEach accepts dimensions as a `str`, `Shape`, tuple, list or ... | 1 |
{'name': '_NoThreadingLIFOQueue.get@src/pybnb/priority_queue.py', 'description': 'Removes and returns the next item in the\nqueue. If the queue is empty, returns None.', 'signature': 'def get(self):'}</s>_registered_queue_types = {} | 0 |
{'name': 'timeline@twtxt/cli.py', 'description': 'Retrieve your personal timeline.', 'signature': 'def timeline(ctx, pager, limit, twtfile, sorting, timeout, porcelain, source, cache, force_update):'}</s>{'name': 'run_post_tweet_hook@twtxt/helper.py', 'description': 'DOCSTRING', 'code': 'def run_post_tweet_hook(hook, o... | 0 |
{'name': 'SendMessage._setup_workflow@py/send_message.py', 'description': 'TODO: Document', 'signature': 'def _setup_workflow(self) -> None:'}</s>{'name': 'AttestationPubkeyInfo@py/bitbox02/bitbox02/communication/bitbox_api_protocol.py', 'description': 'DOCSTRING', 'base_classes': ['TypedDict'], 'methods': []} | 0 |
{'name': 'scan_build@libscanbuild/analyze.py', 'description': 'Entry point for scan-build command. ', 'signature': 'def scan_build():'}</s>{'name': 'classify_source@libscanbuild/compilation.py', 'description': 'Classify source file names and returns the presumed language,\nbased on the file name extension.\n\n:param fi... | 0 |
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>PF_NAT = 4 | 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': 'Widget._should_send_property@python/ipywidgets/ipywidgets/widgets/widget.py', 'description': 'Check the property lock (property_lock)', 'signature': 'def _should_send_property(self, key, value):'}</s>TRAITLETS_FILE = inspect.getfile(HasTraits) | 0 |
{'name': 'NetworkAgent.choose@network_agent.py', 'description': 'choose the best action for current state ', 'signature': 'def choose(self, count, if_pretrain):'}</s>{'name': 'Selector@network_agent.py', 'description': 'DOCSTRING', 'base_classes': ['Layer'], 'methods': [{'name': 'Selector.__init__@network_agent.py', '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>MQINBD_Q_MGR = 0 | 0 |
{'name': 'search_ast@core/text.py', 'description': 'Returns the number of descendants of `node` that match `template`\n(either a type or tuple that is passed to `isinstance`,\nor a partial AST that is passed to `is_ast_like`)\nand satisfy the optional predicate.', 'signature': 'def search_ast(node, template, predicate=... | 0 |
{'name': 'plot_seasonality@python/prophet/plot.py', 'description': "Plot a custom seasonal component.\n\nParameters\n----------\nm: Prophet model.\nname: Seasonality name, like 'daily', 'weekly'.\nax: Optional matplotlib Axes to plot on. One will be created if\n this is not provided.\nuncertainty: Optional boolean t... | 0 |
{'name': 'ExceptionState.dump@javaobj/v2/beans.py', 'description': 'Returns a dump representation of the exception', 'signature': 'def dump(self, indent=0):'}</s>{'name': 'ExceptionRead@javaobj/v2/beans.py', 'description': 'Exception used to indicate that an exception object has been parsed', 'base_classes': ['Exceptio... | 0 |
{'name': 'OutputRender.render_subscribe@iredis/renders.py', 'description': 'message type;\nchannel;\nmessage;\nsee: https://redis.io/topics/pubsub#format-of-pushed-messages', 'signature': 'def render_subscribe(raw):'}</s>{'name': '_render_pair@iredis/renders.py', 'description': 'DOCSTRING', 'code': 'def _render_pair(pa... | 0 |
{'name': 'TreeView.count@qt4c/wincontrols.py', 'description': '返回TreeView的item数\n ', 'signature': 'def count(self):'}</s>{'name': 'Mouse@qt4c/mouse.py', 'description': '鼠标操作静态类\n ', 'base_classes': ['object'], 'methods': [{'name': 'Mouse.handle_position@qt4c/mouse.py', 'description': '坐标转换', 'code': 'def hand... | 0 |
{'name': 'discover_vpcs@aws-inventory/lambda/inventory-vpc.py', 'description': 'Iterate across all regions to discover VPCs', 'signature': 'def discover_vpcs(target_account, region):'}</s>{'name': 'set_debug@aws-inventory/lambda/common.py', 'description': 'Given the event, and using the environment, decide if the logge... | 0 |
{'name': 'IB.cancelOrder@ib_insync/ib.py', 'description': 'Cancel the order and return the Trade it belongs to.\n\nArgs:\n order: The order to be canceled.\n manualCancelOrderTime: For audit trail.', 'signature': "def cancelOrder(self, order: Order, manualCancelOrderTime: str = '') \\"}</s>{'name': 'formatIBDatet... | 0 |
{'name': 'non_max_suppression@yolov3/utils/utils.py', 'description': "Removes detections with lower object confidence score than 'conf_thres'\nNon-Maximum Suppression to further filter detections.\nReturns detections with shape:\n (x1, y1, x2, y2, object_conf, conf, class)", 'signature': 'def non_max_suppression(pre... | 0 |
{'name': 'TileCreator.concatTiles@tensorflow/tools/tilecreator.py', 'description': 'build a frame by concatenation of the given tiles.\ntiles: numpy array of same shaped tiles [batch,z,y,x,c]\nframeShape: the shape of the frame in tiles [z,y,x]\ntileBorder: cut off borders of the tiles. [z,y,x,c]', 'signature': 'def co... | 0 |
{'name': 'writePreamble@cxxtest/cxxtestgen.py', 'description': 'Write the CxxTest header (#includes and #defines)', 'signature': 'def writePreamble( output ):'}</s>{'name': 'writeSuites@cxxtest/cxxtestgen.py', 'description': 'Write all TestDescriptions and SuiteDescriptions', 'code': "def writeSuites(output):\n '''W... | 0 |
{'name': 'Node.has_children@hamlish_jinja.py', 'description': 'returns False if children is empty or contains only empty lines else True.', 'signature': 'def has_children(self):'}</s>{'name': 'ExtendingJinjaTag@hamlish_jinja.py', 'description': 'DOCSTRING', 'base_classes': ['JinjaTag', 'SelfClosingTag'], 'methods': []} | 0 |
{'name': 'transactions@n26/cli.py', 'description': 'Show transactions (default: 5) ', 'signature': 'def transactions(categories: str, pending: bool, param_from: datetime or None, param_to: datetime or None,'}</s>CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help']) | 0 |
{'name': 'BackgroundAppServer.server@dwave/cloud/auth/server.py', 'description': 'HTTP server accessor that creates the actual server instance\n(and binds it to host:port) on first access.', 'signature': 'def server(self) -> ThreadingWSGIServer:'}</s>{'name': 'SingleRequestAppServer@dwave/cloud/auth/server.py', 'descri... | 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': 'Feed.get@feed/feed_request.py', 'description': ':return: GetFeedResponse', 'signature': 'def get(self):'}</s>PROD_CHUNK_SIZE = 104857600 | 0 |
{'name': 'MurrForm.clean_tags@MurrCard/forms.py', 'description': 'Cleaning tags from backslashes and strip html-tags', 'signature': 'def clean_tags(self):'}</s>{'name': 'TinyMCEWidget@MurrCard/forms.py', 'description': 'DOCSTRING', 'base_classes': ['TinyMCE'], 'methods': [{'name': 'TinyMCEWidget.use_required_attribute@... | 0 |
{'name': 'Transformer._build_graph@nematus/transformer.py', 'description': 'Defines the model graph. ', 'signature': 'def _build_graph(self):'}</s>FLOAT_DTYPE = tf.float32 | 1 |
{'name': '__plugin_list@plecost_lib/libs/db.py', 'description': 'Get plugin list in vulnerability database\n\n:param data: PlecostDatabaseQuery object\n:type data: PlecostDatabaseQuery\n\n:return: results of query\n:rtype: str', 'signature': 'def __plugin_list(data, db):'}</s>{'name': 'PlecostDatabaseQuery@plecost_lib/... | 0 |
{'name': 'setup_training_attention_classification@main.py', 'description': 'Does setup before starting training (run_training)', 'signature': 'def setup_training_attention_classification(model):'}</s>{'name': 'Batch@Batch_iter.py', 'description': 'Class representing a minibatch of train/val/test examples for text summa... | 0 |
{'name': 'ReplaceByFeeTest.test_too_many_replacements@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that evict too many transactions are rejected', 'signature': 'def test_too_many_replacements(self):'}</s>OP_CHECKSIGVERIFY = CScriptOp(0xad) | 0 |
{'name': 'Client.get_partitions_ps_with_auth@runner/tez/apache-hive-0.13.0.2.1.0.0-92-bin/lib/py/hive_metastore/ThriftHiveMetastore.py', 'description': 'Parameters:\n - db_name\n - tbl_name\n - part_vals\n - max_parts\n - user_name\n - group_names', 'signature': 'def get_partitions_ps_with_auth(self, db_name, tbl_name,... | 0 |
{'name': 'AnkiDataFrame.raw@ankipandas/ankidf.py', 'description': 'Bring a :class:`AnkiDataFrame` into the ``raw`` format (i.e. the\nexact format that Anki uses in its internal representation) .\n\nArgs:\n inplace: If False, return new dataframe, else update old one\n force: If a previous conversion fails, :meth:... | 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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIACF_AUTH_OPTIONS = 1228 | 0 |
{'name': 'BIDSLayout.add_derivatives@src/bids/layout/layout.py', 'description': 'Add BIDS-Derivatives datasets to tracking.\n\nParameters\n----------\npath : str or list\n One or more paths to BIDS-Derivatives datasets.\n Each path can point to either a derivatives/ directory\n containing one or more pipeline ... | 0 |
{'name': 'cblaster@cblaster/main.py', 'description': "Run cblaster.\n\nThis function is the central workflow for the entire cblaster package.\n\nArguments:\n query_file (str): Path to FASTA format query file\n query_ids (list): NCBI protein sequence identifiers\n query_profiles(list): Pfam profile identifiers\... | 0 |
{'name': 'LocusEntry.__init__@module/BeadPoolManifest.py', 'description': 'Constructor\n\nArgs:\n handle (file): File handle at start of locus entry record\n\nReturns:\n LocusEntry', 'signature': 'def __init__(self, handle):'}</s>{'name': 'RefStrand@module/BeadPoolManifest.py', 'description': 'DOCSTRING', 'base_... | 1 |
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24... | 0 |
{'name': 'PropKB.tell@Projects/2_Classical Planning/aimacode/logic.py', 'description': "Add the sentence's clauses to the KB.", 'signature': 'def tell(self, sentence):'}</s>{'name': 'inspect_literal@Projects/2_Classical Planning/aimacode/logic.py', 'description': 'The symbol in this literal, and the value it should tak... | 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>MQZAO_AUTHORIZE = 8388608 | 0 |
{'name': 'ClusterAction.start_clusters@qingcloud/iaas/actions/cluster.py', 'description': 'Start one or more clusters.\n@param clusters: the array of clusters IDs.', 'signature': 'def start_clusters(self, clusters,'}</s>ACTION_MODIFY_SUB_USER_ATTRIBUTES = "ModifySubUserAttributes" | 0 |
{'name': 'ProcessGlobalSuppresions@third_party/cpplint/cpplint.py', 'description': 'Updates the list of global error suppressions.\n\nParses any lint directives in the file that have global effect.\n\nArgs:\n lines: An array of strings, each representing a line of the file, with the\n last element being empty ... | 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': 'error_screen@displays/papiruszero2in.py', 'description': 'Error screen\n ', 'signature': 'def error_screen(message="ERROR"):'}</s>qr_request_2 = "your invoice in" | 0 |
{'name': 'Serial._telnet_read_loop@serial/rfc2217.py', 'description': 'Read loop for the socket.', 'signature': 'def _telnet_read_loop(self):'}</s>SET_CONTROL_USE_NO_FLOW_CONTROL_IN = b'\x0e' | 0 |
{'name': 'ServiceInfo.request@stino/pyarduino/base/zeroconf.py', 'description': 'Returns true if the service could be discovered on the\nnetwork, and updates this object with details discovered.', 'signature': 'def request(self, zc, timeout):'}</s>__version__ = "0.15.1" | 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>ping_cycle = 5*60 | 0 |
{'name': 'CBSAuthMixin.handle_token@uamqp/authentication/cbs_auth.py', 'description': "This function is called periodically to check the status of the current\ntoken if there is one, and request a new one if needed.\nIf the token request fails, it will be retried according to the retry policy.\nA token refresh will be ... | 0 |
{'name': 'Merger.get_mod_edit_info@bcml/mergers/__init__.py', 'description': 'Gets a list of modified items in mod for this merger', 'signature': 'def get_mod_edit_info(self, mod: util.BcmlMod) -> set:'}</s>{'name': 'get_aoc_dir@bcml/util.py', 'description': 'DOCSTRING', 'code': 'def get_aoc_dir() -> Path:\n dlc_str... | 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': 'is_is_int@src/api/python/z3/z3.py', 'description': "Return `True` if `a` is an expression of the form IsInt(b).\n\n>>> x = Real... | 0 |
{'name': 'cleanup_mems@panoramix/simplify.py', 'description': "for every setmem, replace future occurences of it with it's value,\nif possible", 'signature': 'def cleanup_mems(trace):'}</s>{'name': 'swap_cond@panoramix/simplify.py', 'description': 'DOCSTRING', 'code': 'def swap_cond(cond):\n replacement = {\n ... | 0 |
{'name': 'TestEmbeddedDocumentField.test__parent__init__method_included_in_init_chain@tests/test_db_fields.py', 'description': 'Test to protect from accidental incorrect __init__ method overwrite.', 'signature': 'def test__parent__init__method_included_in_init_chain(self, db, mocker):'}</s>{'name': 'GenericLazyReferenc... | 0 |
{'name': 'AdversarialLearner.collect_summaries@models/adversarial_learner.py', 'description': 'Collects all summaries to be shown in the tensorboard', 'signature': 'def collect_summaries(self):'}</s>{'name': 'charbonnier_loss@models/utils/loss_utils.py', 'description': 'This function computes the charbonnier loss betwe... | 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': 'post_operation_with_one_ofs@tests/unit/conftest.py', 'description': 'Creates a new OpenAPI operation that makes heavy use of oneOfs and anyOfs.', 'signature': 'def post_operation_with_one_ofs() -> OpenAPIOperation:'}</s>{'name': 'open_fixture@tests/unit/conftest.py', 'description': "Gets the reader for a give... | 0 |
{'name': 'IMAP.email@imapy/imap.py', 'description': 'Helper function for self.emails(). Returns email by its\nsequence number', 'signature': 'def email(self, sequence_number: int) -> Optional[EmailMessage]:'}</s>{'name': 'UnknownEmailMessageType@imapy/exceptions.py', 'description': 'Raised when user tries to use email ... | 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>ICON_SEQUENCE_OFF = "mdi:stop-circle-outline" | 0 |
{'name': 'CheckHeaderFileIncluded@third_party/cpplint/cpplint.py', 'description': 'Logs an error if a source file does not include its header.', 'signature': 'def CheckHeaderFileIncluded(filename, include_state, error):'}</s>{'name': 'CheckForNamespaceIndentation@third_party/cpplint/cpplint.py', 'description': 'DOCSTRI... | 0 |
{'name': 'test_fail_with_invalid_dbname_and_automatic_recovery_disabled@test/io/test_io.py', 'description': 'Should fail without retries when automatic recovery is disabled and dbname is invalid', 'signature': 'def test_fail_with_invalid_dbname_and_automatic_recovery_disabled(defaultenv):'}</s>{'name': 'test_db_error_l... | 0 |
{'name': 'spenders_taproot_active@test/functional/feature_taproot.py', 'description': 'Return a list of Spenders for testing post-Taproot activation behavior.', 'signature': 'def spenders_taproot_active():'}</s>TAPROOT_FLAGS = "P2SH,DERSIG,CHECKLOCKTIMEVERIFY,CHECKSEQUENCEVERIFY,WITNESS,NULLDUMMY,TAPROOT" | 0 |
{'name': 'test_check_tuples_invalid_shape@test/test_utils.py', 'description': 'Checks that a value error with the appropriate message is raised if\nshape is invalid (not 2D with preprocessor or 3D with no preprocessor)', 'signature': 'def test_check_tuples_invalid_shape(estimator, context, tuples, found,'}</s>{'name': ... | 0 |
{'name': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>PFSTATE_SLOPPY = 2 | 0 |
{'name': 'Message.to_pydict@src/betterproto/__init__.py', 'description': 'Returns a python 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: :class:`bool... | 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': 'qald_run@utils/data_preparation_rdf_type.py', 'description': "'\n\nIf the query contains only rdf constraint and no other triple, it will push the rdf type to the\nconstraint candidate and there will be no positive or negative path in the query.\n\n'path_id': [u'+25212']", 'signature': 'def qald_run(test = T... | 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.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': '_single_conversion@convert.py', 'description': "THIS WON'T WORK RIGHT NOW, USE THE WORLD CONVERSION LOOP IN MAIN\n\nCall only from __main__ section in this module. Generates sample converted\ninto each emotion.\n\n(str) filename - name.wav file to be converted\n(StarGAN-emo-VC1) model - pretrained model to pe... | 0 |
{'name': 'LoadBalancerAction.create_loadbalancer@qingcloud/iaas/actions/loadbalancer.py', 'description': 'Create new load balancer.\n@param eips: the IDs of the eips that will be associated to load balancer.\n@param loadbalancer_name: the name of the loadbalancer.\n@param security_group: the id of the security_group yo... | 0 |
{'name': 'test_conv2d@tests/sampling/priors/test_fourier_conv2d.py', 'description': 'TODO: Consider separating out the test for Conv2dTranspose since it only\nsupports a subset of strides/dilatons.', 'signature': 'def test_conv2d(config: ConfigFourierConv2d = None):'}</s>__all__ = (
'Conv2d',
'Conv2dTranspose',
'... | 0 |
{'name': '_get_prefixes_for_action@policyuniverse/expander_minimizer.py', 'description': ':param action: iam:cat\n:return: [ "iam:", "iam:c", "iam:ca", "iam:cat" ]', 'signature': 'def _get_prefixes_for_action(action):'}</s>{'name': '_invert_actions@policyuniverse/expander_minimizer.py', 'description': 'DOCSTRING', 'cod... | 0 |
{'name': 'Alignment.split@maf/impl/naiveLiftUp.py', 'description': 'Return two new alignments created by splitting this alignment at an offset relative to its start.', 'signature': 'def split(self, split_point):'}</s>{'name': 'get_alignment_to_child@maf/impl/naiveLiftUp.py', 'description': 'Get a file representing maxi... | 0 |
{'name': 'process_bird_wav@avgn/segment_song/preprocessing.py', 'description': 'This function is the primary workhorse of the preprocessing script - it takes in a wav file,\n breaks it up into several constitutant wav files, then saves them in save_to_folder, with their corresponding timestamp', 'signature': 'def pr... | 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': 'run_model_on_ep@onnxruntime/python/tools/tensorrt/perf/benchmark.py', 'description': 'Benchmarks and/or validates the given model on the given EP.\n\n:param args: The command-line arguments to this script.\n:param model_name: The name of the model to run.\n:param model_info: A dictionary that contains paths t... | 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': 'Client.set_new_food@myfitnesspal/client.py', 'description': 'Function to submit new foods / groceries to the MyFitnessPal database. Function will return True if successful.', 'signature': 'def set_new_food('}</s>BRITISH_UNIT_MATCHER = re.compile(r"(?:(?P<st>\d+) st)\W*(?:(?P<lbs>\d+) lb)?") | 0 |
{'name': 'Hub.mode@custom_components/hubitat/hub.py', 'description': 'Return the current mode of this hub.', 'signature': 'def mode(self) -> str | None:'}</s>DOMAIN = "hubitat" | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.