text
string
label
int64
{'name': 'net_bond_obj@kayobe/plugins/filter/networks.py', 'description': 'Return a dict representation of a network bond interface.\n\nThe returned dict is compatible with the interfaces_bond_interfaces\nvariable in the MichaelRigaert.interfaces role.', 'signature': 'def net_bond_obj(context, name, inventory_hostname=...
0
{'name': 'skew@pymeteo/skewt.py', 'description': 'Puts the skew in skew-T\n\n:parameter p: pressure level of the point.\n\nThis calculates the skew of the T axis for a point to plot. \nThis assumes a logarithmic y axes and uses the variable\n:py:data:skew_angle to determine the skew. This is the \nmagic that turns a ...
0
{'name': 'MqttTasmotaCounter.__init__@cfg/hass/custom_components/mytasmota/sensor.py', 'description': 'Initialize the sensor.', 'signature': 'def __init__(self, hass, config):'}</s>{'name': 'MqttTasmotaCounter@cfg/hass/custom_components/mytasmota/sensor.py', 'description': 'Representation of a Tasmota counter using MQT...
1
{'name': 'document_plugins_tokens_list@docs/source/conf.py', 'description': 'Generate the plugins list documentation page from application extraction.', 'signature': 'def document_plugins_tokens_list(list_path: Path, output_path: Path) -> None:'}</s>exclude_patterns = [ "api/media/*.md", ]
0
{'name': 'get_process@pyngrok/process.py', 'description': "Get the current ``ngrok`` process for the given config's ``ngrok_path``.\n\nIf ``ngrok`` is not running, calling this method will first start a process with\n:class:`~pyngrok.conf.PyngrokConfig`.\n\n:param pyngrok_config: The ``pyngrok`` configuration to use wh...
0
{'name': 'is_x86_64@gef.py', 'description': 'Checks if current target is x86-64', 'signature': 'def is_x86_64() -> bool:'}</s>{'name': 'HighlightCommand@gef.py', 'description': 'Highlight user-defined text matches in GEF output universally.', 'base_classes': ['GenericCommand'], 'methods': [{'name': 'HighlightCommand.__...
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': 'BatchUtilTest.test_batch_expectation@tensorflow_quantum/core/ops/batch_util_test.py', 'description': 'Test expectation.', 'signature': 'def test_batch_expectation(self, sim):'}</s>{'name': '_sample_helper@tensorflow_quantum/core/ops/batch_util_test.py', 'description': 'DOCSTRING', 'code': 'def _sample_helper(...
0
{'name': 'RepeatChart.interactive@altair/vegalite/v3/api.py', 'description': 'Make chart axes scales interactive\n\nParameters\n----------\nname : string\n The selection name to use for the axes scales. This name should be\n unique among all selections within the chart.\nbind_x : boolean, default True\n If tru...
0
{'name': 'diff_entire_folder_against_full_history_subcommand@ascmhl/commands.py', 'description': 'Checks MHL hashes from all generations against all file hash entries.\n\nROOT_PATH: the root path to use for the asc mhl history\n\nTraverses through the content of a folder. The command finds all files that are existent i...
0
{'name': 'ObjCDataFormatterTestCase.plain_data_formatter_commands@lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py', 'description': 'Test basic ObjC formatting behavior.', 'signature': 'def plain_data_formatter_commands(self):'}</s>{'name': 'skipUnlessFeatu...
0
{'name': 'Video.get_audio_idx@plex_mpv_shim/media.py', 'description': 'Returns the index of the selected stream', 'signature': 'def get_audio_idx(self):'}</s>settings = Settings()
0
{'name': 'test_rewrite_image@geetest_online/test/testgeetestjs.py', 'description': 'load image from file, recombined to new image by offset array', 'signature': 'def test_rewrite_image(image_name, offset_array):'}</s>{'name': 'fun_d@geetest_online/test/testgeetestjs.py', 'description': 'reversed from geetest.js', 'code...
0
{'name': 'Data.get_scores@verif/data.py', 'description': "Retrieves scores from all files\n\nClimatology is handled by subtracting clim's fcst field from any\nobs or determinsitic fields.\n\nArguments:\nfields Which verif.field should be retreived? Either a list or a\n single field can be supplied...
0
{'name': 'fsn2text@Monika After Story/game/python-packages/mutagen/_senf/_fsnative.py', 'description': 'Args:\n path (fsnative): The path to convert\n strict (bool): Fail in case the conversion is not reversible\nReturns:\n `text`\nRaises:\n TypeError: In case no `fsnative` has been passed\n ValueError: ...
0
{'name': 'LossModel.load_model_parameters@pelicun/model/loss_model.py', 'description': 'Load loss model parameters.\n\nParameters\n----------\ndata_paths: list of (string | DataFrame)\n List of paths to data or files with loss model\n information. Default XY datasets can be accessed as\n PelicunDefault/XY. Ord...
0
{'name': 'excape@spider/utils/tools.py', 'description': '转译', 'signature': 'def excape(str):'}</s>{'name': 'urldecode@spider/utils/tools.py', 'description': "将字符串类型的参数转为json\n@param url: xxx?a=1&b=2\n@return:\n{\n 'a': 1,\n 'b': 2\n}", 'code': 'def urldecode(url):\n """\n 将字符串类型的参数转为json\n @param url: xx...
0
{'name': 'build_supervised_layer@ivis/nn/network.py', 'description': 'Constructs a dense layer suitable for the requested supervision metric and labels.', 'signature': "def build_supervised_layer(supervision_metric, Y, name='supervised'):"}</s>{'name': 'is_hinge@ivis/nn/losses.py', 'description': 'DOCSTRING', 'code': '...
1
{'name': 'Metar.__init__@metar/Metar.py', 'description': 'Parse raw METAR code.', 'signature': 'def __init__( self, metarcode, month=None, year=None, utcdelta=None):'}</s>MODIFIER_RE = re.compile(r"^(?P<mod>AUTO|FINO|NIL|TEST|CORR?|RTD|CC[A-G])\s+")
0
{'name': '_AddMessageMethods@python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>EnumEncoder = _SimpleEncoder( wire_format.WIRETYPE_VARINT, _EncodeSignedVarint, _SignedVarintSize...
0
{'name': 'VectorEnv.__init__@habitat/core/vector_env.py', 'description': "..\n\n:param make_env_fn: function which creates a single environment. An\n environment can be of type :ref:`env.Env` or :ref:`env.RLEnv`\n:param env_fn_args: tuple of tuple of args to pass to the\n :ref:`_make_env_fn`.\n:param auto_reset_d...
0
{'name': 'ProAntiSaccades.upload_stimuli@demo_experiments/anti_saccades.py', 'description': 'Uploads all relevant stimuli to Pro Lab. They are\n\n* Central fixation point\n\n* Prosaccade left\n* Prosaccade right\n* Practice instruction text prosaccade\n* Instruction text prosaccade\n\n* Antisaccade left\n* Antisaccade ...
0
{'name': 'make_SEP_catalog@grizli/prep.py', 'description': "Make a catalog from drizzle products using the SEP implementation of SourceExtractor\n\nParameters\n----------\nroot : str\n Rootname of the FITS images to use for source extraction. This\n function is designed to work with the single-image products fro...
0
{'name': 'test_merge_dicts_v2_00200@tests/unit/module_utils/common/test_merge_dicts_v2.py', 'description': '### Property\n- ``dict2``\n\n### Test\n- Verify ``dict2`` raises ``TypeError`` if passed anything other\n than a dict.', 'signature': 'def test_merge_dicts_v2_00200(merge_dicts_v2, value, expected) -> None...
0
{'name': 'render_pep440_branch@versioneer.py', 'description': 'TAG[[.dev0]+DISTANCE.gHEX[.dirty]] .\n\nThe ".dev0" means not master branch. Note that .dev0 sorts backwards\n(a feature branch will appear "older" than the master branch).\n\nExceptions:\n1: no tags. 0[.dev0]+untagged.DISTANCE.gHEX[.dirty]', 'signature': '...
0
{'name': 'apply_along_axis@venv/Lib/site-packages/numpy/ma/extras.py', 'description': '(This docstring should be overwritten)', 'signature': 'def apply_along_axis(func1d, axis, arr, *args, **kwargs):'}</s>{'name': 'notmasked_contiguous@venv/Lib/site-packages/numpy/ma/extras.py', 'description': 'Find contiguous unmasked...
0
{'name': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>ICMP_UNREACH_TOSHOST = 12
0
{'name': '_transform_attrs@vendor/attr/_make.py', 'description': "Transform all `_CountingAttr`s on a class into `Attribute`s.\n\nIf *these* is passed, use that and don't look for them on the class.\n\n*collect_by_mro* is True, collect them in the correct MRO order, otherwise\nuse the old -- incorrect -- order. See #4...
0
{'name': 'TrimmedMatchGeoXDesign.__init__@trimmed_match/design/trimmed_match_design.py', 'description': "Initializes the instance.\n\nArgs:\n geox_type: str, type of the experiment. See supported values in GeoXType.\n pretest_data: pd.DataFrame (date, geo, ...).\n time_window_for_design: TimeWindow, representing the...
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': '_covhelper@venv/Lib/site-packages/numpy/ma/extras.py', 'description': 'Private function for the computation of covariance and correlation\ncoefficients.', 'signature': 'def _covhelper(x, y=None, rowvar=True, allow_masked=True):'}</s>{'name': '_ezclump@venv/Lib/site-packages/numpy/ma/extras.py', 'description':...
0
{'name': 'generator_custom_text_edge_cases@tests/test-tokenizer-random.py', 'description': 'Edge cases found while debugging', 'signature': 'def generator_custom_text_edge_cases() -> Iterator[str]:'}</s>{'name': 'Tokenizer@tests/test-tokenizer-random.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'na...
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': 'BitBoxCommonAPI.__init__@py/bitbox02/bitbox02/communication/bitbox_api_protocol.py', 'description': 'Can raise LibraryVersionOutdatedException. check_min_version() should be called following\nthe instantiation.\nIf device_info is None, it is infered using the OP_INFO API call, available since\nfirmware versio...
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': 'quit@ui/sidebar.py', 'description': 'Stop the Streamlit server', 'signature': 'def quit():'}</s>INSPECTOR_DATA_DONATION_SERVER = "https://inspector.engineering.nyu.edu/backend_api"
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>{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils subclass...
0
{'name': 'is_resource_modified@blockchain-env/lib/python3.7/site-packages/werkzeug/http.py', 'description': 'Convenience method for conditional requests.\n\n:param environ: the WSGI environment of the request to be checked.\n:param etag: the etag for the response for comparison.\n:param data: or alternatively the data ...
1
{'name': 'PaneManager.__init__@shutit_global.py', 'description': 'only_one - singleton insurance', 'signature': 'def __init__(self, shutit_global_object):'}</s>{'name': 'pre_build@shutit_session_setup/vagrant.py', 'description': 'DOCSTRING', 'code': 'def pre_build(shutit,\n vagrant_version=\'1....
0
{'name': 'add_workspace_notifications@bin/crankd.py', 'description': 'Add workspace notifications.', 'signature': 'def add_workspace_notifications(nsw_config):'}</s>{'name': 'load_config@bin/crankd.py', 'description': 'Load our configuration from plist or create if none exists.', 'code': 'def load_config(options):\n "...
0
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQRC_CLUSTER_PUT_INHIBITED = 2268
0
{'name': 'training_loop@tensor2tensor_envi/rl/trainer_model_based.py', 'description': 'Run the main training loop.', 'signature': 'def training_loop(hparams, output_dir, report_fn=None, report_metric=None):'}</s>{'name': 'update_hparams_from_hparams@tensor2tensor_envi/rl/trainer_model_based.py', 'description': 'Copy a ...
0
{'name': 'send_spoofed_arp@core/arp_spoofer.py', 'description': 'Sends out bidirectional ARP spoofing packets to the victim so that the host running Inspector appears to have the `dest_ip_addr` IP address.', 'signature': 'def send_spoofed_arp(victim_mac_addr, victim_ip_addr, dest_mac_addr, dest_ip_addr):'}</s>{'name': ...
0
{'name': 'SensorHandler.start_arm_timer@custom_components/alarmo/sensors.py', 'description': 'start timer for automatical arming', 'signature': 'def start_arm_timer(self, entity):'}</s>ATTR_VERSION = "version"
0
{'name': 'IDispatch.Invoke@comtypes/automation.py', 'description': 'Invoke a method or property.', 'signature': 'def Invoke(self, dispid: int, *args: Any, **kw: Any) -> Any:'}</s>VT_DISPATCH = 9
0
{'name': 'build_xlsx_response@export_action/report.py', 'description': 'Take a workbook and return a xlsx file response ', 'signature': 'def build_xlsx_response(wb, title="report"):'}</s>{'name': 'list_to_html_response@export_action/report.py', 'description': 'DOCSTRING', 'code': "def list_to_html_response(data, title=...
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': 'files@tasks/_inv/shell.py', 'description': "Determine a filelist\n\nParameters:\n base (str):\n Base path to start from\n\n wildcard (str):\n Glob to match against\n\n recursive (bool):\n Deep walk into the tree? Default: true\n\n prune (iterable):\n List of directory basenames to ignore.\n ...
0
{'name': 'OpinionStandardModel._GetDataForAttribute@pxr/usdQt/opinionModel.py', 'description': 'Parameters\n----------\nproxy : UsdQtProxyBase\ncolumn : str\nrole : QtCore.Qt.ItemDataRole\n\nReturns\n-------\nOptional[Any]', 'signature': 'def _GetDataForAttribute(self, proxy, column, role):'}</s>QT_VERSION_PARTS = map(...
0
{'name': 'Daemon._interfaces_removed@udiskie/udisks2.py', 'description': 'Internal method.', 'signature': 'def _interfaces_removed(self, object_path, interfaces):'}</s>{'name': 'PropertyHub@udiskie/udisks2.py', 'description': 'Provide attribute accessors for queried interfaces of a DBus object.', 'base_classes': [], 'm...
0
{'name': 'DynamicThreadClassLoader.stop@botfw/etc/loader.py', 'description': 'Stop {class_name} which is loaded by "load()"', 'signature': 'def stop(self, module_name, class_name):'}</s>{'name': 'Loadable@botfw/etc/loader.py', 'description': 'DOCSTRING', 'base_classes': ['threading.Thread'], 'methods': [{'name': 'Loada...
0
{'name': 'cif2cell@mcu/cell/cell_io.py', 'description': 'Read a cif file and return a cell spglib object', 'signature': 'def cif2cell(filename):'}</s>{'name': 'check_exist@mcu/utils/misc.py', 'description': 'Check if a file exists in the running directory ', 'code': "def check_exist(file):\n '''Check if a file exist...
1
{'name': '_handleAnswerFileParams@packstack/installer/run_setup.py', 'description': 'handle loading and validating\nparams from answer file\nsupports reading single or group params', 'signature': 'def _handleAnswerFileParams(answerFile):'}</s>{'name': '_getanswerfilepath@packstack/installer/run_setup.py', 'description'...
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...
1
{'name': 'babel_extract@third_party/dawn/third_party/jinja2/ext.py', 'description': 'Babel extraction method for Jinja templates.\n\n.. versionchanged:: 2.3\n Basic support for translation comments was added. If `comment_tags`\n is now set to a list of keywords for extraction, the extractor will\n try to find th...
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>MQMATCH_ALL = 3
0
{'name': 'student_known@github_no_partners.py', 'description': 'Given a GitHub IDs, returns whether that student is a known student in\nthe student-data CSV file.', 'signature': 'def student_known(github_id: str) -> bool:'}</s>{'name': 'parallel_get_github_endpoint@github_scanner.py', 'description': "Similar to get_git...
0
{'name': 'process_line@scripts/pdns/lib/python2.7/site-packages/pip/req/req_file.py', 'description': 'Process a single requirements line; This can result in creating/yielding\nrequirements, or updating the finder.\n\nFor lines that contain requirements, the only options that have an effect\nare from SUPPORTED_OPTIONS_R...
1
{'name': 'parse_args@scripts/dump_to_lmdb.py', 'description': 'Parse input arguments', 'signature': 'def parse_args():'}</s>{'name': 'make_dataset@scripts/dump_to_lmdb.py', 'description': 'DOCSTRING', 'code': 'def make_dataset(dir, extension):\n images = []\n dir = os.path.expanduser(dir)\n for root, _, fnames...
0
{'name': 'parse_uvs_file@make_bw_font.py', 'description': "Parses an Unicode Variation Sequences text file.\nReturns a list of tuples in the form\n(unicodeValue, variationSelector, glyphName).\n'unicodeValue' and 'variationSelector' are integer code points.\n'glyphName' may be None, to indicate this is the default vari...
0
{'name': 'roles_required@flask_security/decorators.py', 'description': "Decorator which specifies that a user must have all the specified roles.\nExample::\n\n @app.route('/dashboard')\n @roles_required('admin', 'editor')\n def dashboard():\n return 'Dashboard'\n\nThe current user must have both the `ad...
0
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>{'name': 'is_mod@src/api/python/z3/z3.py', 'descript...
0
{'name': 'on_load_data@src/server/server.py', 'description': 'Allow pages to load needed data', 'signature': 'def on_load_data(data):'}</s>{'name': 'set_all_frequencies@src/server/server.py', 'description': 'Set frequencies for all nodes (but do not update hardware) ', 'code': 'def set_all_frequencies(freqs):\n \'\'...
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': 'wideresnet50@encoding/models/backbone/wideresnet.py', 'description': 'Constructs a WideResNet-50 model.\n\nArgs:\n pretrained (bool): If True, returns a model pre-trained on ImageNet', 'signature': "def wideresnet50(pretrained=False, root='~/.encoding/models', **kwargs):"}</s>{'name': 'get_model_file@encod...
1
{'name': 'TranslationBundle._np@jupyterlab_server/translation_utils.py', 'description': 'Shorthand for npgettext.\n\nParameters\n----------\nmsgctxt: str\n The message context.\nmsgid: str\n The singular string to translate.\nmsgid_plural: str\n The plural string to translate.\nn: int\n The number for plura...
0
{'name': 'Toolset.set_language_standard@clang/tools/scan-build-py/libear/__init__.py', 'description': 'part of public interface ', 'signature': 'def set_language_standard(self, standard):'}</s>{'name': 'DarwinToolset@clang/tools/scan-build-py/libear/__init__.py', 'description': 'DOCSTRING', 'base_classes': ['Toolset'],...
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': 'compute_uninitialized@src/climpred/reference.py', 'description': 'Verify an uninitialized ensemble against verification data.\n\n.. note::\n Based on Decadal Prediction protocol, this should only be computed for the\n first lag and then projected out to any further lags being analyzed.\n\nArgs:\n ini...
0
{'name': 'safe_dump@Others_Labs/code/Survey-Survey/yaml/__init__.py', 'description': 'Serialize a Python object into a YAML stream.\nProduce only basic YAML tags.\nIf stream is None, return the produced string instead.', 'signature': 'def safe_dump(data, stream=None, **kwds):'}</s>{'name': 'StreamStartToken@Others_Labs...
0
{'name': 'GlacierDirectory.__init__@oggm/utils/_workflow.py', 'description': "Creates a new directory or opens an existing one.\n\nParameters\n----------\nrgi_entity : a ``geopandas.GeoSeries`` or str\n glacier entity read from the shapefile (or a valid RGI ID if the\n directory exists)\nbase_dir : str\n path ...
0
{'name': 'QtAbstractItemView._refresh_visible_row@enamlx/qt/qt_abstract_item_view.py', 'description': 'Subclasses must implement this method to refresh the content in the\nrow with the content at the given index.\n\nParameters\n----------\n value: int\n Index of the row that needs to be refreshed', 'signature...
0
{'name': 'load_yaml_dict@src/conda_devenv/devenv.py', 'description': 'Loads the given devenv.yml file, recursively processing it, using the selectors for the given\nplatform -- when not given, use the current platform.', 'signature': 'def load_yaml_dict('}</s>{'name': 'write_activate_deactivate_scripts@src/conda_devenv...
0
{'name': 'LanguageIdentifier.instance2fv@filters/Lang_Identifier/langid.py', 'description': 'Map an instance into the feature space of the trained model.', 'signature': 'def instance2fv(self, text):'}</s>identifier = None
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': 'ProcessExtensionsOption@ament_cpplint/ament_cpplint/cpplint.py',...
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': 'TestToivanen.test_euclidean_dist_output@tests/test_toivanen.py', 'description': 'Explanation:\n\nTaking euclidean distance with x==0 below:\nx-------------\n| |\n| |\n| |\n| |\n| |\n| |\n--------------\n\nThe max distance in euclidean output wi...
0
{'name': 'Plant.get_observation@src/astrobotany/models.py', 'description': "A long-form description of the plant.\n\nThis includes a random observations and other specific details about\nthe plant's current stage.", 'signature': 'def get_observation(self, ansi_enabled: bool = False) -> str:'}</s>badge_114 = Badge("pers...
0
{'name': 'run@slim/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>{'name': 'bytes_feature@slim/datasets/dataset_utils.py', 'description': 'Returns ...
0
{'name': 'watch_player@lyvi/__init__.py', 'description': 'Main loop which checks for new song and updates the metadata.', 'signature': 'def watch_player():'}</s>{'name': 'find@lyvi/players/__init__.py', 'description': 'Return the initialized player class, or None if no player was found.', 'code': 'def find():\n """R...
0
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>{'name': 'pf_queue_scspec@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []}
0
{'name': 'sinc@metrics/equivariance.py', 'description': 'Applies the `sinc` function.', 'signature': 'def sinc(x):'}</s>_upfirdn2d_cuda_cache = dict()
0
{'name': '_FunctionDataTypeDef.__call__@lib/rule_engine/types.py', 'description': '.. versionadded:: 4.0.0\n\n:param str name: The name of the function, e.g. "split".\n:param return_type: The data type of the functions return value.\n:param tuple argument_types: The data types of the functions arguments.\n:param int mi...
0
{'name': 'get_user@backend/app/routers/user.py', 'description': "Endpoint to get a user's info by id.\n\nWarnings:\n Need security on this endpoint.", 'signature': 'def get_user(user_id: int, db: Session = Depends(get_db)):'}</s>{'name': 'PositionBase@backend/app/schemas.py', 'description': 'DOCSTRING', 'base_classe...
0
{'name': 'MessengerBase.send@sitemessage/messengers/base.py', 'description': 'Main send method must be implemented by all heirs.\n\n:param message_cls: a MessageBase heir\n:param message_model: message model\n:param dispatch_models: Dispatch models for this Message', 'signature': "def send(self, message_cls: Type['Mess...
1
{'name': 'profile_dump@lib/charliecloud.py', 'description': 'If profiling, dump the profile data.', 'signature': 'def profile_dump():'}</s>{'name': 'init@lib/charliecloud.py', 'description': 'DOCSTRING', 'code': 'def init(cli):\n # logging\n global log_festoon, log_fp, log_level, trace_fatal, xattrs_save\n incomp...
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': 'convert_developers@code/html/generate_static_website.py', 'description': ':param developers:\n:param entries:\n:return:', 'signature': 'def convert_developers(developers, entries):'}</s>regex_sanitize_name = re.compile(r"[^A-Za-z 0-9-+]+")
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': 'field_psf@grizli/pipeline/auto_script.py', 'description': 'Generate PSFs for the available filters in a given field', 'signature': "def field_psf(root='j020924-044344', PREP_PATH='../Prep', RAW_PATH='../RAW', EXTRACT_PATH='../Extractions', factors=[1, 2, 4], get_drizzle_scale=True, subsample=256, size=6, get_...
0
{'name': 'XWiki20Renderer.__init__@mistletoe/contrib/xwiki20_renderer.py', 'description': 'Args:\n extras (list): allows subclasses to add even more custom tokens.', 'signature': 'def __init__(self, *extras):'}</s>{'name': 'Paragraph@mistletoe/block_token.py', 'description': 'Paragraph token. (["some\\n", "continuou...
0
{'name': 'ParserSpec.p_service@thriftrw/idl/parser.py', 'description': "service : SERVICE IDENTIFIER '{' function_seq '}' annotations\n| SERVICE IDENTIFIER EXTENDS IDENTIFIER '{' function_seq '}' annotations", 'signature': 'def p_service(self, p):'}</s>{'name': 'ConstValue@thriftrw/idl/ast.py', 'de...
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': 'find_on_path@scripts/pdns/lib/python2.7/site-packages/pkg_resources/__init__.py', 'description': 'Yield distributions accessible on a sys.path directory', 'signature': 'def find_on_path(importer, path_item, only=False):'}</s>{'name': 'ResolutionError@scripts/pdns/lib/python2.7/site-packages/pkg_resources/__in...
0
{'name': 'create_for_folder_subcommand@ascmhl/commands.py', 'description': 'Creates a new generation with all files in a folder hierarchy.\n\nROOT_PATH: the root path to use for the asc mhl history\n\nAll files are hashed and will be compared to previous records in the `asc-mhl` folder if they exists.\nThe command find...
0
{'name': 'localtime@tool/mkarchive.py', 'description': 'Return YYYY-mm-dd HH:MM.', 'signature': 'def localtime(stamp=0):'}</s>wait_update = 10
0
{'name': 'get_child_access3@Inventory_Modules.py', 'description': "- faws_acct is a custom class (account_class.aws_acct_access)\n- fChildAccount expects an AWS account number (ostensibly of a Child Account)\n- rRegion expects a string representing one of the AWS regions ('us-east-1', 'eu-west-1', etc.)\n- fRoleList ex...
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>_CLASS_HS = 4
0
{'name': 'overwrite_existing@tools/flecsit/flecsit/services/service_utils.py', 'description': 'Query the user before overwrite an existing file.', 'signature': 'def overwrite_existing(filename):'}</s>{'name': 'add_command_line_compiler_options@tools/flecsit/flecsit/services/service_utils.py', 'description': 'Add option...
0
{'name': 'kill@pyngrok/ngrok.py', 'description': "Terminate the ``ngrok`` processes, if running, for the given config's ``ngrok_path``. This method will not\nblock, it will just issue a kill request.\n\n:param pyngrok_config: A ``pyngrok`` configuration to use when interacting with the ``ngrok`` binary,\n overriding...
0