text string | label int64 |
|---|---|
{'name': 'CStreamingFile.upload@bin/spa/clientside/clientstreamhelper.py', 'description': 'Post a context to upload a local file onto a remote server\n:param localFile: A path to a local file at client side for uploading\n:param remoteFile: A path to a remote file at server side\n:param trans: A callback for tracking u... | 0 |
{'name': '_populate_edge_centroids@uxarray/grid/coordinates.py', 'description': 'Finds the centroids using cartesian averaging of the edges based off the\nvertices. The centroid is defined as the average of the x, y, z\ncoordinates, normalized.\n\nParameters\n----------\nrepopulate : bool, optional\n Bool used to tu... | 0 |
{'name': 'Cluster._parse_snapshot_restore_command@qds_sdk/cluster.py', 'description': 'Parse command line arguments for snapshot command.', 'signature': 'def _parse_snapshot_restore_command(cls, args, action):'}</s>{'name': 'OptionParsingError@qds_sdk/util.py', 'description': 'DOCSTRING', 'base_classes': ['RuntimeError... | 0 |
{'name': 'main@freezer/main.py', 'description': 'freezer-agent binary main execution', 'signature': 'def main():'}</s>_DEFAULT_LOG_LEVELS = ['amqp=WARN', 'amqplib=WARN', 'boto=WARN',
'stevedore=WARN', 'oslo_log=INFO',
'iso8601=WARN',
'requests.package... | 0 |
{'name': 'display_result@onlinejudge_command/subcommand/test.py', 'description': 'display_result prints the result of the test and its statistics.\n\nThis function prints many logs and does some I/O.', 'signature': 'def display_result(proc: subprocess.Popen, answer: str, memory: Optional[float], test_input_path: pathli... | 0 |
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>{'name': '_IsMessageMapField@python/google/protobuf/internal/python_message.py', 'description': 'DOCSTRING', 'code': "def _IsMess... | 1 |
{'name': 'TrimmedMatchDesignTest.testReportCandidateDesignWithNoResponseDuringEval@trimmed_match/design/tests/trimmed_match_design_test.py', 'description': 'Checks the calculation with no response during evaluation period.', 'signature': 'def testReportCandidateDesignWithNoResponseDuringEval(self):'}</s>{'name': 'Trimm... | 1 |
{'name': 'GetObjectsForUser.test_varchar_primary_key@guardian/testapp/tests/test_shortcuts.py', 'description': 'Verify that the function works when the objects that should be returned\nhave varchar primary keys.', 'signature': 'def test_varchar_primary_key(self):'}</s>{'name': 'AssignPermTest@guardian/testapp/tests/tes... | 0 |
{'name': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>{'name': 'RoundTowardPositive@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def RoundTowardPositive(ctx=None):\n ctx = _get_ctx(ctx)\n return FPRM... | 0 |
{'name': 'loadConfig@apim-traffic-tool/lib/traffic-tool/src/python/multi_tenant_create_scenario.py', 'description': 'This function will load and set the configuration data\n:return: None', 'signature': 'def loadConfig():'}</s>{'name': 'createApplication@apim-traffic-tool/lib/traffic-tool/src/python/utils/request_method... | 0 |
{'name': 'ImputationKernel._get_candidate_preds_mice@miceforest/imputation_kernel.py', 'description': 'This function also records the candidate predictions', 'signature': 'def _get_candidate_preds_mice('}</s>{'name': 'logodds@miceforest/utils.py', 'description': 'DOCSTRING', 'code': 'def logodds(probability):\n try:... | 1 |
{'name': 'Pipe.pull@d6tpipe/pipe.py', 'description': "Pull remote files to local\n\nArgs:\n files (list): override list of filenames\n dryrun (bool): preview only\n include (str): pattern of files to include, eg `*.csv` or `a-*.csv|b-*.csv`\n exclude (str): pattern of files to exclude\n nrecent (int): us... | 1 |
{'name': 'RequestsCookieJar.list_paths@scripts/pdns/lib/python2.7/site-packages/requests/cookies.py', 'description': 'Utility method to list all the paths in the jar.', 'signature': 'def list_paths(self):'}</s>{'name': 'remove_cookie_by_name@scripts/pdns/lib/python2.7/site-packages/requests/cookies.py', 'description': ... | 0 |
{'name': 'splittag@bleach/_vendor/parse.py', 'description': "splittag('/path#tag') --> '/path', 'tag'.", 'signature': 'def splittag(url):'}</s>{'name': 'quote_from_bytes@bleach/_vendor/parse.py', 'description': "Like quote(), but accepts a bytes object rather than a str, and does\nnot perform string-to-bytes encoding. ... | 0 |
{'name': 'MethodReferenceSyntaxTest.test_method_reference_to_the_new_method_with_explict_type@baseline_tokenization/javalang/test/test_java_8_syntax.py', 'description': "test support for method references to 'new' with an\nexplicit type.", 'signature': 'def test_method_reference_to_the_new_method_with_explict_type(self... | 0 |
{'name': 'CScript.GetSigOpCount@qa/rpc-tests/test_framework/script.py', 'description': 'Get the SigOp count.\n\nfAccurate - Accurately count CHECKMULTISIG, see BIP16 for details.\n\nNote that this is consensus-critical.', 'signature': 'def GetSigOpCount(self, fAccurate):'}</s>OP_BOOLOR = CScriptOp(0x9b) | 0 |
{'name': 'parallel_handler@xmnlp/utils/__init__.py', 'description': 'parallel handler\nArgs:\n callback: callback function\n texts: List[str]\n n_jobs: int, pool size of threads\nReturn:\n Generator[List[str]]', 'signature': 'def parallel_handler(callback: Callable, texts: List[str], n_jobs: int = 2, **kwargs) -> G... | 0 |
{'name': 'extract_raster_features@tobler/dasymetric/raster_tools.py', 'description': 'Generate a geodataframe from raster data by polygonizing contiguous pixels with the same value using rasterio\'s features module.\n\nParameters\n----------\ngdf : geopandas.GeoDataFrame\n geodataframe defining the area of interest... | 0 |
{'name': 'TestMessage_BruteForce.test_Mandatory2@tests/python/runtime/messaging/test_brute_force.py', 'description': 'Ensures messages are correct on 2nd step', 'signature': 'def test_Mandatory2(self): '}</s>{'name': 'InitPopulationEvenOutputOnly@tests/python/runtime/messaging/test_brute_force.py', 'description': 'DOCS... | 0 |
{'name': 'RigidTransform.apply@autolab_core/rigid_transformations.py', 'description': "Applies the rigid transformation to a set of 3D objects.\n\nParameters\n----------\npoints : :obj:`BagOfPoints`\n A set of objects to transform. Could be any subclass\n of BagOfPoints.\n\nReturns\n-------\n:obj:`BagOfPoints`\n ... | 0 |
{'name': 'less_three_percentage@model.py', 'description': 'less three accuracy for one batch ', 'signature': 'def less_three_percentage(y_true, y_pred, interval):'}</s>{'name': 'get_homographies_inv_depth@homography_warping.py', 'description': 'DOCSTRING', 'code': "def get_homographies_inv_depth(left_cam, right_cam, de... | 0 |
{'name': 'StatementSplitter.process@libs/sqlparse/engine/statement_splitter.py', 'description': 'Process the stream', 'signature': 'def process(self, stream):'}</s>Wildcard = Token.Wildcard | 0 |
{'name': 'get_versions@versioneer.py', 'description': "Get the project version from whatever source is available.\n\nReturns dict with two keys: 'version' and 'full'.", 'signature': 'def get_versions(verbose=False):'}</s>CONFIG_ERROR = "
setup.cfg is missing the necessary Versioneer configuration. You need
a section li... | 0 |
{'name': 'TestSnmp1.testGetMacAddress@tests/test_snmp.py', 'description': 'Get a MAC address', 'signature': 'def testGetMacAddress(self):'}</s>{'name': 'Integer@snimpy/basictypes.py', 'description': 'Class for any integer.', 'base_classes': ['Type', 'int'], 'methods': [{'name': 'Integer._internal@snimpy/basictypes.py',... | 0 |
{'name': 'IedbBasePredictor.predict_subsequences@mhctools/iedb.py', 'description': 'Given a dictionary mapping unique keys to amino acid sequences,\nrun MHC binding predictions on all candidate epitopes extracted from\nsequences and return a EpitopeCollection.\n\nParameters\n----------\nfasta_dictionary : dict or strin... | 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>logger = logging.getLogger("f... | 0 |
{'name': 'wasm_vec_to_list@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a vector or a POINTER(vector) to a list\nvector of type pointers -> list of type pointers', 'signature': 'def wasm_vec_to_list(vec):'}</s>{'name': '__repr_wasm_exporttype_t@language-bindings/python/src/wamr/wasmcapi/... | 0 |
{'name': 'region_graph_to_dense_spn@libspn_keras/region.py', 'description': "Convert a region graph (built from :class:`RegionNode` and :class:`RegionVar`) to a dense SPN.\n\nArgs:\n region_graph_root: Root of the region graph\n leaf_node: Node to insert at the leaf of the SPN\n num_sums_iterable: Number of su... | 0 |
{'name': 'env_perform_reproduce_update@self_organising_systems/biomakerca/env_logic.py', 'description': "Perform reproduce operations in the environment.\n\nThis is the function that should be used for high level step_env design.\n\nArguments:\n key: a jax random number generator.\n env: the input environment to be m... | 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': 'ReplaceByFeeTest.test_spends_of_conflicting_outputs@test/functional/feature_rbf.py', 'description': 'Replacements that spend conflicting tx outputs are rejected', 'signature': 'def test_spends_of_conflicting_outputs(self):'}</s>{'name': 'wait_until@test/functional/test_framework/util.py', 'description': 'DOCS... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCD_VERSION_6 = 6 | 1 |
{'name': 'from_msgpack@rpcq/_base.py', 'description': 'Convert a msgpack byte array into Python objects (including rpcq objects)', 'signature': 'def from_msgpack(b, *, max_bin_len=MAX_BIN_LEN, max_str_len=MAX_STR_LEN):'}</s>{'name': 'UnknownMessageType@rpcq/_base.py', 'description': 'Raised when trying to decode an unk... | 0 |
{'name': 'MachoUnwindInfo.__init__@dwex/machounwind.py', 'description': 'section_data:\n A bytes or a Buffer-compatible object with the unwind_info section contents\n\ncputype:\n The machine architecture code from the MachO file or fat slice header\n\nbig_endian:\n True for a big-endian MachO file or fat slice... | 0 |
{'name': 'configure_logging@app/app.py', 'description': 'Configure file(info) and email(error) logging.', 'signature': 'def configure_logging(app):'}</s>{'name': 'register_blueprints@app/app.py', 'description': 'Register all blueprints.', 'code': 'def register_blueprints(app):\n """Register all blueprints."""\n a... | 0 |
{'name': 'FirmwareUpgradeDebugConsoleListener.__init__@blue_st_sdk/firmware_upgrade/firmware_upgrade_nucleo.py', 'description': "Costructor.\n\nArgs:\n firmware_upgrade_console (FirmwareUpgrade): Firmware upgrade console\n used to call user-defined listener's methods.", 'signature': 'def __init__(self, firmware_u... | 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>MQMD_VERSION_1 = 1 | 0 |
{'name': 'slopes@bambi/interpret/effects.py', 'description': 'Compute Conditional Adjusted Slopes\n\nParameters\n----------\nmodel : bambi.Model\n The model for which we want to plot the predictions.\nidata : arviz.InferenceData\n The InferenceData object that contains the samples from the posterior distribution ... | 0 |
{'name': 'add_implicit_resolver@strictyaml/ruamel/main.py', 'description': 'Add an implicit scalar detector.\nIf an implicit scalar value matches the given regexp,\nthe corresponding tag is assigned to the scalar.\nfirst is a sequence of possible initial characters or None.', 'signature': 'def add_implicit_resolver('}<... | 0 |
{'name': 'train@train.py', 'description': 'Training and validation logging results to tensorboard and stdout\n\nParams\n------\noutput_directory (string): directory to save checkpoints\nlog_directory (string) directory to save tensorboard logs\ncheckpoint_path(string): checkpoint path\nn_gpus (int): number of gpus\nran... | 1 |
{'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': 'Plant.pick_petal@src/astrobotany/models.py', 'description': "Pick a petal from a flowering plant.\n\nArgs:\n user: The user picking the petal, if not the plant's owner.\n\nReturns: A string with a description of the resulting action.", 'signature': 'def pick_petal(self, user: User | None = None) -> str:'}<... | 0 |
{'name': 'test_image_upgrade_01030@tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_upgrade.py', 'description': '### Classes and Methods\n- ``ImageUpgrade``\n - ``_build_payload``\n - ``commit``\n\n### Test\n\n- User explicitly sets default values for several options.\n- ``policy_changed`` ... | 0 |
{'name': 'render_quoted_form@hy/core/result_macros.py', 'description': 'Render a quoted form as a new hy Expression.\n\n`level` is the level of quasiquoting of the current form. We can\nunquote if level is 0.\n\nReturns a two-tuple (`expression`, `splice`).\n\nThe `splice` return value is used to mark `unquote-splice`d... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQBO_VERSION_1 = 1 | 0 |
{'name': 'Api.render_doc@flask_restx/api.py', 'description': 'Override this method to customize the documentation page', 'signature': 'def render_doc(self):'}</s>{'name': 'Resource@flask_restx/resource.py', 'description': 'Represents an abstract RESTX resource.\n\nConcrete resources should extend from this class\nand e... | 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': 'Unit.__new__@unyt/unit_object.py', 'description': "Create a new unit. May be an atomic unit (like a gram) or combinations\nof atomic units (like g / cm**3).\n\nParameters\n----------\nunit_expr : Unit object, sympy.core.expr.Expr object, or str\n The symbolic unit expression.\nbase_value : float\n The u... | 0 |
{'name': 'result_list@CherryConText/trunk/pyConTextKit/templates/media/admin/templatetags/admin_list.py', 'description': 'Displays the headers and data list together', 'signature': 'def result_list(cl):'}</s>DOT = "." | 0 |
{'name': 'DashRouter.__init__@src/fitly/utils.py', 'description': "Initialise the router.\n\nParams:\napp: A Dash instance to associate the router with.\nurls: Ordered iterable of routes: tuples of (route, layout). 'route' is a\n string corresponding to the URL path of the route (will be prefixed\n with ... | 0 |
{'name': 'SysTrayIcon.update@python/site-packages/winsystray/traybar.py', 'description': 'update icon image and/or hover text ', 'signature': 'def update(self, icon=None, hover_text=None, menu=None):'}</s>GetMessage = ctypes.windll.user32.GetMessageA | 0 |
{'name': 'CreateDatatypes@src/api/python/z3/z3.py', 'description': "Create mutually recursive Z3 datatypes using 1 or more Datatype helper objects.\n\nIn the following example we define a Tree-List using two mutually recursive datatypes.\n\n>>> TreeList = Datatype('TreeList')\n>>> Tree = Datatype('Tree')\n>>> # Tre... | 0 |
{'name': 'video@yark/viewer.py', 'description': 'Detailed video information and viewer', 'signature': 'def video(name, kind, id):'}</s>{'name': 'TimestampException@yark/errors.py', 'description': 'Invalid timestamp inputted for note', 'base_classes': ['Exception'], 'methods': [{'name': 'TimestampException.__init__@yark... | 1 |
{'name': 'PrintFormatCommand.do_invoke@gef.py', 'description': 'Default value for print-format command.', 'signature': 'def do_invoke(self, _: list[str], **kwargs: Any) -> None:'}</s>{'name': 'gef_on_regchanged_hook@gef.py', 'description': 'DOCSTRING', 'code': 'def gef_on_regchanged_hook(func: Callable[["gdb.RegisterCh... | 0 |
{'name': 'test_sorting@voluptuous/tests/tests.py', 'description': 'Expect alphabetic sorting', 'signature': 'def test_sorting():'}</s>{'name': 'test_object@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': "def test_object():\n s = Schema(Object({'value': 1}), required=True)\n s(MyValueClass(value=1... | 0 |
{'name': 'build_test_project@third-party/draco/src/draco/tools/install_test/test.py', 'description': 'Builds the test application in shared and static configurations.', 'signature': 'def build_test_project():'}</s>DRACO_STATIC_BUILD_PATH = os.path.join(TEST_SOURCES_PATH, '_draco_build_static') | 0 |
{'name': 'generate_pyramid_anchors@Mask_RCNN/mrcnn/utils.py', 'description': 'Generate anchors at different levels of a feature pyramid. Each scale\nis associated with a level of the pyramid, but each ratio is used in\nall levels of the pyramid.\n\nReturns:\nanchors: [N, (y1, x1, y2, x2)]. All generated anchors in one ... | 0 |
{'name': 'sync_blocks@qa/rpc-tests/test_framework/util.py', 'description': "Wait until everybody has the same tip.\n\nsync_blocks needs to be called with an rpc_connections set that has least\none node already synced to the latest, stable tip, otherwise there's a\nchance it might return before all nodes are stably sync... | 0 |
{'name': 'taproot_construct@test/functional/test_framework/script.py', 'description': 'Construct a tree of Taproot spending conditions\n\npubkey: a 32-byte xonly pubkey for the internal pubkey (bytes)\nscripts: a list of items; each item is either:\n - a (name, CScript or bytes, leaf version) tuple\n - ... | 0 |
{'name': 'Paragraph.breakLines@xhtml2pdf/reportlab_paragraph.py', 'description': 'Returns a broken line structure. There are two cases.\n\nA) For the simple case of a single formatting input fragment the output is\n A fragment specifier with\n - kind = 0\n - fontName, fontSize, leading, textColor\n ... | 0 |
{'name': 'update@hokusai/cli/review_app.py', 'description': 'Updates the Kubernetes based resources defined in ./hokusai/{APP_NAME}.yml', 'signature': 'def update(app_name, verbose):'}</s>{'name': 'delete@hokusai/cli/review_app.py', 'description': 'Deletes the Kubernetes based resources defined in ./hokusai/{APP_NAME}.... | 0 |
{'name': 'NewDatabase.write_superstructure_db_to_brightway@premise/new_database.py', 'description': 'Register a super-structure database,\naccording to https://github.com/dgdekoning/brightway-superstructure\n:param name: name of the super-structure database\n:param filepath: filepath of the "scenarios difference file"\... | 0 |
{'name': 'PrePostChange.get_change_raw_sql@operations.py', 'description': "Generates PrePost-adjusted values for PercentChange computation.\n\nThis function generates subqueries like\nWITH PrePostRaw AS (SELECT\n split_by,\n stratified_by,\n condition_column,\n child_metric,\n covariate\nFROM T\nGROUP BY split_by,... | 0 |
{'name': 'get_and_publish_timeseries@get_timeseries/main.py', 'description': 'Handle the Pub/Sub push messages\nGiven a metricDescriptor object described below and a batch_id, as input\nhttps://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors#MetricDescriptor\n\nGet the timeseries for the metri... | 0 |
{'name': 'IUController.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data for the controller', 'signature': 'def load(self, config: OrderedDict) -> "IUController":'}</s>ICON_ZONE_ON = "mdi:valve-open" | 0 |
{'name': 'MyUser.has_module_perms@supporting-layer/uiux-authoring-tool/accounts/models.py', 'description': 'Does the user have permissions to view the app `app_label`?', 'signature': 'def has_module_perms(self, app_label):'}</s>{'name': 'ActivationProfile@supporting-layer/uiux-authoring-tool/accounts/models.py', 'descr... | 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': 'cross_entropy@rnn/notebooks/support.py', 'description': 'y_pred is n x k for n samples and k output classes and y_true is n x 1\nand is often softmax of final layer.\ny_pred values must be probability that output is a specific class.\nBinary case: When we have y_pred close to 1 and y_true is 1,\nloss is -1*lo... | 0 |
{'name': 'LessParser.__init__@lesscpy/lessc/parser.py', 'description': 'Parser object\n\nKwargs:\n lex_optimize (bool): Optimize lexer\n yacc_optimize (bool): Optimize parser\n tabfile (str): Yacc tab filename\n yacc_debug (bool): yacc debug mode\n scope (Scope): Inherited scope\n outputdir (str): Out... | 0 |
{'name': 'build_datetime@yaql/standard_library/date_time.py', 'description': ':yaql:datetime\n\nReturns datetime object built on year, month, day, hour, minute, second,\nmicrosecond, offset.\n\n:signature: datetime(year, month, day, hour => 0, minute => 0, second => 0,\n microsecond => 0, offset => ... | 0 |
{'name': 'GetOutputOfAllCommands@googletest/test/googletest-output-test.py', 'description': 'Returns concatenated output from several representative commands.', 'signature': 'def GetOutputOfAllCommands():'}</s>{'name': 'GetTempDir@googletest/test/gtest_test_utils.py', 'description': 'DOCSTRING', 'code': 'def GetTempDir... | 0 |
{'name': 'Muse._subscribe_eeg@muselsl/muse.py', 'description': 'subscribe to eeg stream.', 'signature': 'def _subscribe_eeg(self):'}</s>MUSE_GATT_ATTR_GYRO = "273e0009-4c4d-454d-96be-f03bac821358" | 0 |
{'name': '_sanitise_hostvar@kayobe/ansible.py', 'description': 'Sanitise a host variable.', 'signature': 'def _sanitise_hostvar(var):'}</s>{'name': 'intersect_limits@kayobe/utils.py', 'description': 'Create an Ansible host pattern of the intersection of two patterns.\n\n:param args_limit: user-specified limit, or None.... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIA_INHIBIT_PUT = 10 | 0 |
{'name': 'rdf_type_candidates@utils/query_graph_to_sparql.py', 'description': ' Takes in path ID (continous IDs, not glove vocab).\n And return type candidates (in continous IDs)\n based on whether we want URI or X candidates\n:param data:\n:param path_id:\n:param relations:\n:param reverse_vocab:\n:param ... | 0 |
{'name': 'basicConfig@Monika After Story/game/python-packages/logging/__init__.py', 'description': "Do basic configuration for the logging system.\n\nThis function does nothing if the root logger already has handlers\nconfigured. It is a convenience method intended for use by simple scripts\nto do one-shot configuratio... | 0 |
{'name': 'parse_1dplot_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for Pythony 1dplotter.\n\nInput\n-----\nargv : list of args (not including prog name)\n\nReturn\n------\n\niopts : an object with the argument values stored, including a\n self-"check_req()" method, as well.', 'sig... | 0 |
{'name': 'TopLevelMixin.save@altair/vegalite/v3/api.py', 'description': "Save a chart to file in a variety of formats\n\nSupported formats are json, html, png, svg, pdf; the last three require\nthe altair_saver package to be installed.\n\nParameters\n----------\nfp : string filename or file-like object\n file in whi... | 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': 'Client.get_export_dates@recurly/client.py', 'description': 'List the dates that have an available export to download.\n\nReturns\n-------\n\nExportDates\n Returns a list of dates.', 'signature': 'def get_export_dates(self, **options):'}</s>{'name': 'Pager@recurly/pager.py', 'description': 'DOCSTRING', 'bas... | 0 |
{'name': 'remove_path_segments@furl/furl.py', 'description': "Removes the path segments of <remove> from the end of the path\nsegments <segments>.\n\nExamples:\n # ('/a/b/c', 'b/c') -> '/a/'\n remove_path_segments(['','a','b','c'], ['b','c']) == ['','a','']\n # ('/a/b/c', '/b/c') -> '/a'\n remove_path_segments(['',... | 0 |
{'name': 'PFDivert._to_string@pf/rule.py', 'description': 'Return a string representation of the object.', 'signature': 'def _to_string(self):'}</s>tcpstates = {TCPS_CLOSED: "CLOSED",
TCPS_LISTEN: "LISTEN",
TCPS_SYN_SENT: "SYN_SENT",
TCPS_SYN_RECEIVED: "SYN_RCVD",
... | 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_CREATE_VOLUME_FROM_SNAPSHOT = "CreateVolumeFromSnapshot" | 0 |
{'name': 'AutoTorrent.index_torrent@autotorrent/at.py', 'description': 'Indexes the files in the torrent.', 'signature': 'def index_torrent(self, torrent):'}</s>COLOR_ALREADY_SEEDING = Color.BLUE | 0 |
{'name': 'xcresulttool@scripts/xcresult_logs.py', 'description': 'Runs xcresulttool and returns its output as a string.', 'signature': 'def xcresulttool(*args):'}</s>{'name': 'find_log_id@scripts/xcresult_logs.py', 'description': "Finds the id of the last action's logs.\n\nArgs:\n xcresult_path: The path to an xcresul... | 0 |
{'name': 'scnym_train@scnym/api.py', 'description': 'Train 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.\nSaves model outputs to `config["out_path"]` and adds mo... | 0 |
{'name': '_GenerateRenderMethod.write_toplevel@mako/codegen.py', 'description': 'Traverse a template structure for module-level directives and\ngenerate the start of module-level code.', 'signature': 'def write_toplevel(self):'}</s>{'name': 'NameConflictError@mako/exceptions.py', 'description': 'raised when a reserved ... | 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': 'PrePostChange.get_change_raw_sql@operations.py', 'description': "Generates PrePost-adjusted values for PercentChange computation.\n\nThis function generates subqueries like\nWITH PrePostRaw AS (SELECT\n split_by,\n stratified_by,\n condition_column,\n child_metric,\n covariate\nFROM T\nGROUP BY split_by,... | 0 |
{'name': 'DataSet.clone@datasets/common.py', 'description': 'Return an independent copy of this Dataset with the same underlying\ndata and batching state, but keep the new batching state completely\nindependent from the original.\n\n:return: An independent clone of the DataSet.', 'signature': 'def clone(self):'}</s>{'n... | 0 |
{'name': 'do_setup@versioneer.py', 'description': 'Main VCS-independent setup function for installing Versioneer.', 'signature': 'def do_setup():'}</s>LONG_VERSION_PY = {} | 1 |
{'name': 'SymSpell.lookup@symspellpy/symspellpy.py', 'description': 'Finds suggested spellings for a given phrase word.\n\nArgs:\n phrase: The word being spell checked.\n verbosity: The value controlling the quantity/closeness of the\n returned suggestions.\n max_edit_distance: The maximum edit distance... | 0 |
{'name': '_is_running_tests@src/supporting-files/txn_safety.py', 'description': "An imperfect check for whether we're in a test: we see *_test.py.", 'signature': 'def _is_running_tests():'}</s>{'name': '_examine_ts_policy@src/supporting-files/txn_safety.py', 'description': 'What invariant we check for depends on the ts... | 0 |
{'name': 'TestCase.assertAlmostEqual@vertx-web/src/test/sockjs-protocol/unittest2/case.py', 'description': 'Fail if the two objects are unequal as determined by their\ndifference rounded to the given number of decimal places\n(default 7) and comparing to zero, or by comparing that the\nbetween the two objects is more t... | 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': 'locust_classes@transformer/locust.py', 'description': 'Transforms scenarios into all Python classes needed by Locust (TaskSet and\nLocust classes).\n\nThe only missing parts before a fully functional locustfile are:\n- integrating all necessary set-up/tear-down statements:\n - Python imports,\n - apply ... | 1 |
{'name': 'Circuit.id@discopy/quantum/circuit.py', 'description': 'The identity circuit on a given domain.\n\nParameters:\n dom : The domain (and codomain) of the identity,\n or ``qubit ** dom`` if ``dom`` is an ``int``.', 'signature': 'def id(cls, dom: int | Ty = None):'}</s>{'name': 'Box@discopy/frobenius.... | 0 |
{'name': 'GaussianDiffusion.ddim_reverse_sample@point_e/diffusion/gaussian_diffusion.py', 'description': 'Sample x_{t+1} from the model using DDIM reverse ODE.', 'signature': 'def ddim_reverse_sample('}</s>{'name': 'space_timesteps@point_e/diffusion/gaussian_diffusion.py', 'description': 'Create a list of timesteps to ... | 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': 'bustools_project@kb_python/count.py', 'description': 'Runs `bustools project`.\n\n bus_path: Path to BUS file to sort\n out_dir: Path to output directory\n map_path: Path to file containing source-to-destination mapping\n ecmap_path: Path to ecmap file, as generated by `kallisto bus`\n txnames_... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.