text string | label int64 |
|---|---|
{'name': 'DeleteTest.test_set_null_on_one_to_one@softdelete/tests/test_sd.py', 'description': 'Make sure reverse `OneToOne` fields are set to `None` upon soft delete.\n\nWhen an instance is soft deleted and other instances have a `OneToOne`\nrelation to this instance with `on_delete=SET_NULL`, the other\ninstances shou... | 0 |
{'name': 'GefHelpCommand.__rebuild@gef.py', 'description': 'Rebuild the documentation.', 'signature': 'def __rebuild(self) -> None:'}</s>{'name': 'continue_handler@gef.py', 'description': 'GDB event handler for new object continue cases.', 'code': 'def continue_handler(_: "gdb.ContinueEvent") -> None:\n """GDB event... | 0 |
{'name': 'OrderFileTestCase.test@llvm-project/lldb/test/API/macosx/order/TestOrderFile.py', 'description': 'Test debug symbols follow the correct order by the order file.', 'signature': 'def test(self):'}</s>{'name': 'expectedFailureOS@llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py', 'description': 'DOC... | 0 |
{'name': 'test_fit_verbose_raises_error@sysidentpy/neural_network/tests/test_narxnn.py', 'description': 'Fit raises ValueError if verbose=True but no validation data is provided.', 'signature': 'def test_fit_verbose_raises_error():'}</s>{'name': 'Fourier@sysidentpy/basis_function/_fourier.py', 'description': 'Build Fou... | 0 |
{'name': 'ReplaceByFeeTest.test_doublespend_chain@qa/rpc-tests/replace-by-fee.py', 'description': 'Doublespend of a long chain', 'signature': 'def test_doublespend_chain(self):'}</s>{'name': 'msg_sendheaders@qa/rpc-tests/test_framework/mininode.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'... | 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>MQIA_SUB_CONFIGURATION_EVENT = 242 | 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': 'mutate@gget/gget_mutate.py', 'description': "Takes in nucleotide sequences and mutations (in standard mutation annotation - see below)\nand returns mutated versions of the input sequences according to the provided mutations.\n\nReuiqred input argument:\n- sequences (str) Path to the fasta file containing ... | 1 |
{'name': 'ShelveryEngine.get_resource_type@shelvery/engine.py', 'description': "Returns entity type that's about to be backed up", 'signature': 'def get_resource_type(self) -> str:'}</s>{'name': 'ShelveryInvoker@shelvery/shelvery_invoker.py', 'description': 'Helper to orchestrate execution of shelvery operations on AWS... | 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_DESCRIBE_SPARKS = "DescribeSparks" | 0 |
{'name': 'SQLCompiler.__init__@rest_models/backend/compiler.py', 'description': ':param django.db.models.sql.query.Query query: the query\n:param rest_models.backend.base.DatabaseWrapper connection: the connection\n:param str using:', 'signature': 'def __init__(self, query, connection, using, elide_empty=True):'}</s>{'... | 0 |
{'name': 'test_pkg_test_conda_package_format@test/test_utils.py', 'description': 'Running a mulled-build test with .tar.bz2/.conda package formats', 'signature': 'def test_pkg_test_conda_package_format('}</s>{'name': 'skopeo_upload@bioconda_utils/upload.py', 'description': 'Upload an image to docker registy\n\nUses ``s... | 0 |
{'name': 'Aioredlock._validate_internal_lock_timeout@aioredlock/algorithm.py', 'description': 'Validate if internal_lock_timeout is greater than 0', 'signature': 'def _validate_internal_lock_timeout(self, attribute, value):'}</s>{'name': 'Redis@aioredlock/redis.py', 'description': 'DOCSTRING', 'base_classes': [], 'meth... | 0 |
{'name': 'ParseNolintSuppressions@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Updates the global list of line error-suppressions.\n\nParses any NOLINT comments on the current line, updating the global\nerror_suppressions store. Reports an error if the NOLINT comment\nwas malformed.\n\nArgs:\n filename: s... | 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': 'loadFilesFromDisk@FastProject/CLI.py', 'description': 'Loads files from disk into data structures\n\nTypically called before calling Pipelines.Analysis()\n\nParameters\n----------\nargs : dict\n Contains file locations on disk\n\nReturns\n-------\nexpressionMatrix : ExpressionData\nsignatures : list of Sig... | 0 |
{'name': 'get_hostname_from_ip_addr@core/friendly_organizer.py', 'description': 'Returns the hostname associated with an IP address.\n\nReturns an empty string if the hostname is not found.', 'signature': 'def get_hostname_from_ip_addr(ip_addr: str, in_memory_only=False) -> str:'}</s>host_active_interface = "" | 0 |
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>CSR_MINSTRETH = 2946 | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQ_BATCH_INTERFACE_ID_LENGTH = 8 | 0 |
{'name': 'ServiceBrowser.__init__@stino/pyarduino/base/zeroconf.py', 'description': 'Creates a browser for a specific type', 'signature': 'def __init__(self, zc, type, listener):'}</s>{'name': 'DNSPointer@stino/pyarduino/base/zeroconf.py', 'description': 'A DNS pointer record', 'base_classes': ['DNSRecord'], 'methods':... | 0 |
{'name': 'init_screen@displays/inkyphat.py', 'description': 'Prepare the screen for drawing and return the draw variables\n ', 'signature': 'def init_screen(color):'}</s>lnurl_cancel_notice_2 = "¿No es LNURL compatible?" | 0 |
{'name': 'read@GeoHealthCheck/util.py', 'description': 'read file contents', 'signature': "def read(filename, encoding='utf-8'):"}</s>{'name': 'format_run_status@GeoHealthCheck/util.py', 'description': 'common formatting success boolean field', 'code': 'def format_run_status(run, default=\'-\'):\n """common formatti... | 0 |
{'name': 'IUCoordinator.register_entity@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'A HA entity has been registered', 'signature': 'def register_entity('}</s>CONF_FINISH = "finish" | 0 |
{'name': 'predict_query@ddparser/run.py', 'description': 'Predict one query', 'signature': 'def predict_query(env):'}</s>{'name': 'decode@ddparser/parser/model.py', 'description': 'Decode function', 'code': 'def decode(args, s_arc, s_rel, mask):\n """Decode function"""\n mask = mask.numpy()\n lens = np.sum(mas... | 1 |
{'name': 'ReplaceByFeeTest.test_new_unconfirmed_inputs@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that add new unconfirmed inputs are rejected', 'signature': 'def test_new_unconfirmed_inputs(self):'}</s>{'name': 'CTxOut@qa/rpc-tests/test_framework/mininode.py', 'description': 'DOCSTRING', 'base_class... | 1 |
{'name': 'get_bustools_binary_path@kb_python/config.py', 'description': 'Dummy function that simply returns the current value of :data:`BUSTOOLS_PATH`.\n ', 'signature': 'def get_bustools_binary_path() -> str:'}</s>KALLISTO_REPO_URL = urljoin(GITHUB_API_URL, 'repos/pachterlab/kallisto/') | 0 |
{'name': 'InstanceGroupsAction.delete_instance_groups@qingcloud/iaas/actions/instance_groups.py', 'description': 'Delete the specific instance group.\n@param instance_groups: An id list contains the group(s) id which will be deleted.', 'signature': 'def delete_instance_groups(self, instance_groups,'}</s>EIP_BILLING_MOD... | 0 |
{'name': 'SelectMultipleField.deconstruct@select_multiple_field/models.py', 'description': 'How to reduce the field to a serializable form.\n\nThe arguments to pass to field constructor to reconstruct it.\n\nReturns a tuple of four items:\n the field’s attribute name,\n the full import path of the field class,\n ... | 0 |
{'name': '__listAllUE9Unix@src/LabJackPython.py', 'description': 'Private listAll function for use on unix and mac machines to find UE9s.\n ', 'signature': 'def __listAllUE9Unix(connectionType):'}</s>LJE_IOTYPE_SYNCH_ERROR = 49 | 0 |
{'name': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p... | 0 |
{'name': 'PredictionEnsemble._bootstrap@src/climpred/classes.py', 'description': "PredictionEnsemble.bootstrap() parent method.\n\nexplain: OPTIONS['bootstrap_resample_skill_func']\n\nSee also:\n* :py:meth:`~climpred.PerfectModelEnsemble.bootstrap`\n* :py:meth:`~climpred.HindcastEnsemble.bootstrap`", 'signature': 'def ... | 0 |
{'name': 'filter_new@qm9_filter_generated.py', 'description': "Check whether generated molecules correspond to structures in the training database\nused for either training, validation, or as test data and update statistics array of\ngenerated molecules accordingly.\n\nArgs:\n mols (list of utility_classes.Molecule)... | 0 |
{'name': 'PFAddr._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, a):'}</s>PF_DEFER = 11 | 0 |
{'name': '_parse_list_rule@oslo_policy/_parser.py', 'description': 'Translates the old list-of-lists syntax into a tree of Check objects.\n\nProvided for backwards compatibility.', 'signature': 'def _parse_list_rule(rule):'}</s>{'name': 'RuleCheck@oslo_policy/_checks.py', 'description': 'DOCSTRING', 'base_classes': ['C... | 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': 'load_aut_xml@tulip/interfaces/gr1c.py', 'description': 'Return strategy constructed from output of `gr1c`.\n\n@return:\n - if a strategy is given in the XML string,\n then return it as a graph.\n - else, return `(GRSpec, None)`,\n where the first element is the specification\n as read fro... | 0 |
{'name': 'TestRedisCache.test_distinct@tests/test_cache.py', 'description': 'distinct() returns all unique package names', 'signature': 'def test_distinct(self):'}</s>{'name': 'TestSQLiteCache@tests/test_cache.py', 'description': 'Tests for the SQLAlchemy cache', 'base_classes': ['unittest.TestCase'], 'methods': [{'nam... | 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': 'render_git_describe_long@versioneer.py', 'description': "TAG-DISTANCE-gHEX[-dirty].\n\nLike 'git describe --tags --dirty --always -long'.\nThe distance/hash is unconditional.\n\nExceptions:\n1: no tags. HEX[-dirty] (note: no 'g' prefix)", 'signature': 'def render_git_describe_long(pieces):'}</s>{'name': 'ver... | 0 |
{'name': 'save_alias@d2lbook/library.py', 'description': 'Save alias into the library file', 'signature': 'def save_alias(tab_lib):'}</s>{'name': 'get_cell_tab@d2lbook/notebook.py', 'description': 'Get the cell tab', 'code': 'def get_cell_tab(cell: notebooknode.NotebookNode,\n default_tab: str = \'\') -... | 0 |
{'name': 'InfoExtractor._search_regex@script.module.youtube.dl/lib/youtube_dl/extractor/common.py', 'description': 'Perform a regex search on the given string, using a single or a list of\npatterns returning the first matching group.\nIn case of failure return a default value or raise a WARNING or a\nRegexNotFoundError... | 0 |
{'name': 'PPOTrainer.train@habitat_baselines/rl/ppo/ppo_trainer.py', 'description': 'Main method for training PPO.\n\nReturns:\n None', 'signature': 'def train(self, ckpt_path="", ckpt=-1, start_updates=0) -> None:'}</s>MAP_TARGET_POINT_INDICATOR = 6 | 0 |
{'name': 'MSGPACKRPCRequest.error_respond@tinyrpc/protocols/msgpackrpc.py', 'description': 'Create an error response to this request.\n\nWhen processing the request produces an error condition this method can be used to\ncreate the error response object.\n\n:param error: Specifies what error occurred.\n:type error: Exc... | 0 |
{'name': 'test_empty_string_with_url@tests/test_bare.py', 'description': 'Originally for https://github.com/mverleg/pyjson_tricks/issues/51 ', 'signature': 'def test_empty_string_with_url():'}</s>ordered_map = OrderedDict((
('elephant', None),
('chicken', None),
('dolphin', None),
('wild boar', None),
('grasshoppe... | 0 |
{'name': 'save_alias@d2lbook/library.py', 'description': 'Save alias into the library file', 'signature': 'def save_alias(tab_lib):'}</s>{'name': 'read@d2lbook/notebook.py', 'description': 'DOCSTRING', 'code': "def read(fname: str):\n if not os.path.exists(fname) or os.stat(fname).st_size == 0:\n return None\... | 0 |
{'name': 'TeamCloudClientOperationsMixin.get_schedule@client/tc/azext_tc/vendored_sdks/teamcloud/operations/_team_cloud_client_operations.py', 'description': 'Gets the Schedule.\n\nGets the Schedule.\n\n:param schedule_id:\n:type schedule_id: str\n:param organization_id:\n:type organization_id: str\n:param project_id:\... | 0 |
{'name': 'AmcrestCam.assumed_state@custom_components/amcrest/camera.py', 'description': 'Return if state is assumed.', 'signature': 'def assumed_state(self):'}</s>DEPENDENCIES = ['amcrest', 'ffmpeg'] | 0 |
{'name': '_build_tokenizer@joeynmt/tokenizers.py', 'description': 'Builds tokenizer.', 'signature': 'def _build_tokenizer(cfg: Dict) -> BasicTokenizer:'}</s>{'name': 'build_tokenizer@joeynmt/tokenizers.py', 'description': 'DOCSTRING', 'code': 'def build_tokenizer(cfg: Dict) -> Dict[str, BasicTokenizer]:\n src_lang =... | 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': 'show@mpld3/_display.py', 'description': "Open figure in a web browser\n\nSimilar behavior to plt.show(). This opens the D3 visualization of the\nspecified figure in the web browser. On most platforms, the browser\nwill open automatically.\n\nParameters\n----------\nfig : matplotlib figure\n The figure to... | 1 |
{'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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQ_REMOTE_VERSION_LENGTH = 8 | 0 |
{'name': 'generate_summary_report@premise/report.py', 'description': 'Generate a summary report of the scenarios.', 'signature': 'def generate_summary_report(scenarios: list, filename: Path) -> None:'}</s>{'name': 'empty_log_files@premise/logger.py', 'description': 'Delete all log files found in DIR_LOG_REPORT.', 'code... | 0 |
{'name': 'TopologyView.retrieve@moi/views.py', 'description': 'Read information about an individual Topology resource.\n\nThe GET method reads the information of a Topology.', 'signature': 'def retrieve(self, request, *args, **kwargs):'}</s>{'name': 'MultipleSerializerViewSet@moi/views.py', 'description': 'DOCSTRING', ... | 0 |
{'name': 'preprocess@grizli/pipeline/auto_script.py', 'description': 'Preprocessing script\n\nParameters\n----------\nfield_root : str\n Basename of the exposure group processed together\n\nHOME_PATH : str\n Base path for file processing\n\nmaster_radec : str\n Force use this radec file for astrometric alignme... | 0 |
{'name': 'ExtrinsicReceipt.triggered_events@substrateinterface/base.py', 'description': 'Gets triggered events for submitted extrinsic. block_hash where extrinsic is included is required, manually\nset block_hash or use `wait_for_inclusion` when submitting extrinsic\n\nReturns\n-------\nlist', 'signature': 'def trigger... | 0 |
{'name': 'synchronize_cams_all@Pose2Sim/synchronization.py', 'description': 'Post-synchronize your cameras in case they are not natively synchronized.\n\nFor each camera, computes mean vertical speed for the chosen keypoints, \nand find the time offset for which their correlation is highest. \n\nDepending on the analys... | 0 |
{'name': 'Dataset.link_to_here@accelerator/dataset.py', 'description': "Use this to expose a subjob as a dataset in your job:\nDataset(subjid).link_to_here()\nwill allow access to the subjob dataset under your jid.\nSpecify column_filter as an iterable of columns to include\nif you don't want all of them.\nUse override... | 0 |
{'name': 'parse_time@utils/utils.py', 'description': 'Parses a time string in dhms format to seconds', 'signature': 'def parse_time(time_string: str) -> int:'}</s>{'name': 'gen_color@utils/utils.py', 'description': 'DOCSTRING', 'code': 'def gen_color(seed) -> discord.Color:\n random.seed(seed)\n c_r = random.rand... | 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_LOADBALANCER_POLICY = "CreateLoadBalancerPolicy" | 0 |
{'name': 'RenderCar._resize@car/render_car.py', 'description': 'Parameters\n----------\npil_img: pil image\n input image\nmin_scale: float\n minimum ratio of resize\nmax_scale: float\n maximum ratio of resize\nr1: float\n resize ratio of height to width\n\nReturns\n----------\nresize: float\n resize ratio\nresize_... | 0 |
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'Probe@src/api/python/z3/z3.py', 'description': 'Probes are used to inspect a goal (aka problem) and collect information that ... | 0 |
{'name': 'apply_flt_dq@grizli/utils.py', 'description': 'Read and apply the compact exposure information file\n\nParameters\n----------\nfilename : str\n FLT/FLC filename.\n\nreplace : (str, str)\n Replace arguments for output DQ filename:\n\n >>> output_filename = filename.replace(replace[0], replace[1])\n\no... | 0 |
{'name': 'CheckForNewlineAtEOF@third_party/cpplint/cpplint.py', 'description': 'Logs an error if there is no newline char at the end of the file.\n\nArgs:\n filename: The name of the current file.\n lines: An array of strings, each representing a line of the file.\n error: The function to call with any errors found.... | 0 |
{'name': 'PrintUsage@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Prints a brief usage string and exits, optionally with an error message.\n\nArgs:\n message: The optional error message.', 'signature': 'def PrintUsage(message):'}</s>{'name': 'GetLineWidth@ament_cpplint/ament_cpplint/cpplint.py', 'descripti... | 0 |
{'name': 'BL3Profile.set_vaultcard3_keys@bl3save/bl3profile.py', 'description': 'Sets the number of Vault Card 3 keys to `num_keys`', 'signature': 'def set_vaultcard3_keys(self, num_keys):'}</s>fts_to_map = {
'/game/gamedata/fasttravel/fts_atlashq.fts_atlashq': 'AtlasHQ_P',
'/game/gamedata/fasttravel/ft... | 0 |
{'name': 'Controller.get_selected_configs@tools/ipp_custom_library_tool_python/gui/controller.py', 'description': 'Collecting all user-specified information about future dynamic library into dictionary', 'signature': 'def get_selected_configs(self):'}</s>TBB = "tbb" | 1 |
{'name': 'get_structure_from_poscar@phonolammps/iofile.py', 'description': 'Read crystal structure from a VASP POSCAR type file\n\n:param file_name: POSCAR filename\n:param number_of_dimensions: number of dimensions of the crystal structure\n:return: Atoms (phonopy) type object containing the crystal structure', 'signa... | 0 |
{'name': 'TfIdfFeaturizer.create@rasa_nlu_examples/featurizers/sparse/tfidf_featurizer.py', 'description': 'Creates a new untrained component (see parent class for full docstring).', 'signature': 'def create('}</s>logger = logging.getLogger(__name__) | 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>MQIA_QSG_DISP = 63 | 0 |
{'name': 'run@datasets/download_and_convert_mnist.py', 'description': 'Runs the download and conversion operation.\n\nArgs:\n dataset_dir: The dataset directory where the dataset is stored.', 'signature': 'def run(dataset_dir):'}</s>_NUM_CHANNELS = 1 | 0 |
{'name': 'xml2dict@examples/huya/tars/__util.py', 'description': '@brief: 将xml解析树转成字典\n@param node: 树的根节点\n@type node: cElementTree.Element\n@param dic: 存储信息的字典\n@type dic: dict\n@return: 转换好的字典\n@rtype: dict', 'signature': 'def xml2dict(node, dic={}):'}</s>{'name': 'TarsException@examples/huya/tars/exception.py', 'des... | 0 |
{'name': 'griffinlim_cqt@librosa/core/constantq.py', 'description': 'Approximate constant-Q magnitude spectrogram inversion using the "fast" Griffin-Lim\nalgorithm.\n\nGiven the magnitude of a constant-Q spectrogram (``C``), the algorithm randomly initializes\nphase estimates, and then alternates forward- and inverse-C... | 0 |
{'name': 'init_visuals@rts/visualization/rts_pygame.py', 'description': 'Creates canvas to draw upon and creates tick\n:param world_width: ...\n:param world_height: ...\n:param verbose: if verbose is set to false, game will not be initialized\n:return: game_display, clock', 'signature': 'def init_visuals(world_width: i... | 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': 'get_trigger_subtypes@custom_components/hubitat/device_trigger.py', 'description': 'Return the list of trigger subtypes for a device and a trigger type.', 'signature': 'def get_trigger_subtypes(device: Device, trigger_type: str) -> list[str]:'}</s>ATTR_VALUE = "value" | 0 |
{'name': 'draw_lnurl_qr@displays/waveshare2in13v3.py', 'description': 'Draw a lnurl qr code on the e-ink screen\n ', 'signature': 'def draw_lnurl_qr(qr_img):'}</s>{'name': 'update_lnurl_cancel_notice@displays/waveshare2in13v3.py', 'description': 'DOCSTRING', 'code': 'def update_lnurl_cancel_notice():\n image, wid... | 0 |
{'name': 'get_dims_with_index_levels@linopy/common.py', 'description': "Get the dimensions of a Dataset with their index levels.\n\nExample usage with a dataset that has:\n- regular dimension 'time'\n- multi-indexed dimension 'station' with levels ['country', 'city']\nThe output would be: ['time', 'station (country, ci... | 0 |
{'name': 'Format.flow_style@strictyaml/ruamel/comments.py', 'description': 'if default (the flow_style) is None, the flow style tacked on to\nthe object explicitly will be taken. If that is None as well the\ndefault flow style rules the format down the line, or the type\nof the constituent values (simple -> flow, map/l... | 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': 'GtkydInfo.read_all_hdrs@src/python_scripts/afnipy/lib_gtkyd.py', 'description': 'go through all infiles and get header info. This populates a list\nof headers, one-for-one with the infiles', 'signature': 'def read_all_hdrs(self):'}</s>{'name': 'make_CENSORTR_string@src/python_scripts/afnipy/afni_util.py', 'de... | 0 |
{'name': 'test_forward_reference@tests/test_make.py', 'description': 'Build schemas from classes that are defined below their containing class.', 'signature': 'def test_forward_reference('}</s>{'name': '_assert_dump_load@tests/test_make.py', 'description': 'DOCSTRING', 'code': 'def _assert_dump_load(\n schema: marsh... | 0 |
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>UInt64Sizer = _SimpleSizer(_VarintSize) | 0 |
{'name': 'TestSnmp1.testSetIpAddress@tests/test_snmp.py', 'description': 'Set IpAddress.', 'signature': 'def testSetIpAddress(self):'}</s>{'name': 'getTables@snimpy/mib.py', 'description': 'Return all tables from a given MIB.\n\n:param mib: The MIB name\n:return: The list of all tables for the MIB\n:rtype: list of :cla... | 0 |
{'name': 'process_reply@tor/core/inbox.py', 'description': 'Process a reply to the bots messages and posts.', 'signature': 'def process_reply(reply: Comment, cfg: Config) -> None:'}</s>{'name': 'get_blossom_submission@tor/core/posts.py', 'description': 'Retrieve a submission object from Blossom.', 'code': 'def get_blos... | 1 |
{'name': 'ValidateIPTests.test_ip_whitelist_blacklist_conflict@test/test_advocate.py', 'description': 'Manual whitelist should take precedence over manual blacklist', 'signature': 'def test_ip_whitelist_blacklist_conflict(self):'}</s>{'name': 'TestWrapperTests@test/test_advocate.py', 'description': 'DOCSTRING', 'base_c... | 0 |
{'name': 'NonTokens.test6@Cheetah/Tests/SyntaxAndOutput.py', 'description': '1 dollar sign followed by EOL Slurp Token', 'signature': 'def test6(self):'}</s>{'name': 'ReturnDirective@Cheetah/Tests/SyntaxAndOutput.py', 'description': 'DOCSTRING', 'base_classes': ['OutputTest'], 'methods': [{'name': 'ReturnDirective.test... | 0 |
{'name': 'compile@mako/codegen.py', 'description': 'Generate module source code given a parsetree node,\nuri, and optional source filename', 'signature': 'def compile(node,'}</s>{'name': 'legacy_html_escape@mako/filters.py', 'description': 'legacy HTML escape for non-unicode mode.', 'code': 'def legacy_html_escape(s):\... | 0 |
{'name': 'MCMCAxes.visualize_metropolis_hastings_chain_sampling@manim_ml/diffusion/mcmc.py', 'description': 'Makes an animation for visualizing a 2D markov chain using\nmetropolis hastings samplings\n\nParameters\n----------\naxes : manim.mobject.graphing.coordinate_systems.Axes\n Manim 2D axes to plot the chain on\... | 1 |
{'name': 'person_ui@Pose2Sim/synchronization.py', 'description': 'Step 2: Initializes the UI for person and frame selection.\n\nINPUTS:\n- frame_rgb: The initial RGB frame to display\n- cam_name: Name of the current camera\n- frame_number: Initial frame number to display\n- search_around_frames: Frame ranges to search ... | 0 |
{'name': 'test_fit_verbose_false_does_not_raise@sysidentpy/neural_network/tests/test_narxnn.py', 'description': 'Fit does not raise an error when verbose=False and validation data is missing.', 'signature': 'def test_fit_verbose_false_does_not_raise():'}</s>X_test = np.reshape(X_test, (len(X_test), 1)) | 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': 'TestManager.test_custom_manager2@modeltranslation/tests/tests.py', 'description': 'Test if user-defined queryset is still working', 'signature': 'def test_custom_manager2(self):'}</s>{'name': 'FallbackModelTranslationOptions@modeltranslation/tests/translation.py', 'description': 'DOCSTRING', 'base_classes': [... | 0 |
{'name': 'extract_kalman_boxes@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': 'def extract_kalman_boxes(dataset_test, net, rpn_conf, test_path, data_folder):'}</s>{'name': 'project_3d@lib/math_3d.py', 'description': 'Projects a 3D box into 2D vertices\n\nArgs:\n ... | 0 |
{'name': 'CDF._write_vxr@cdflib/cdfwrite.py', 'description': 'Creates a VXR at the end of the file.\nReturns byte location of the VXR\nThe First, Last, and Offset fields will need to be filled in later', 'signature': 'def _write_vxr(self, f: io.BufferedWriter, numEntries: Optional[int] = None) -> int:'}</s>LEAPSEC_FILE... | 0 |
{'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': 'safe_run2@amptk/process_illumina_folder.py', 'description': 'Call run(), catch exceptions.', 'signature': 'def safe_run2(*args, **kwargs):'}</s>{'name': 'GuessRL@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': 'def GuessRL(input):\n #read first 50 records, get length then exit\n lengths = []\n ... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>sco = SCO | 0 |
{'name': 'TestReadMemCString.test_read_memory_c_string@llvm-project/lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py', 'description': 'Test corner case behavior of SBProcess::ReadCStringFromMemory', 'signature': 'def test_read_memory_c_string(self):'}</s>{'name': 'SETTING_MSG@llvm-project/lldb/pa... | 0 |
{'name': 'PFDivert._to_string@pf/rule.py', 'description': 'Return a string representation of the object.', 'signature': 'def _to_string(self):'}</s>{'name': 'pf_rule@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []} | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.