text
string
label
int64
{'name': 'IncInterfaceGenerator.do_table4_transformation@da/compiler/incgen.py', 'description': 'Transformation defined in Table 4 of OOPSLA paper.\n\nThis transformation breaks up quantification conditions involving\nlogical operators (and/or) in the hopes of creating opportunities to\napply table 3.\n\nNote 1: unlike...
0
{'name': 'db_open@versions/speed-cam_11.26.py', 'description': 'Insert speed data into database table', 'signature': 'def db_open(db_file):'}</s>{'name': 'PiVideoStream@versions/speed-cam_11.26.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'PiVideoStream.__init__@versions/speed-cam_11.26.py'...
0
{'name': 'pytest_fixture_setup@pytest_asyncio/plugin.py', 'description': 'Adjust the event loop policy when an event loop is produced.', 'signature': 'def pytest_fixture_setup('}</s>{'name': '_close_event_loop@pytest_asyncio/plugin.py', 'description': 'DOCSTRING', 'code': 'def _close_event_loop() -> None:\n policy =...
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': 'load_config@kubespawner/clients.py', 'description': 'Loads global configuration for the Python client we use to communicate with\na Kubernetes API server, and optionally tweaks that configuration based on\nspecific settings on the passed caller object.\n\nThis needs to be called before creating a kubernetes c...
0
{'name': 'Beam.add_supports@indeterminatebeam/indeterminatebeam.py', 'description': 'Associate support objects with the beam object.\n\nParameters\n----------\n*supports : iterable\n An iterable containing Support objects to be applied to\n the Beam object. Note that the load application point\n (or segment) m...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_MIXED_CONTENT_NOT_ALLOWED = 2498
0
{'name': 'document@api/project/__init__.py', 'description': 'Returns the matching document(s) from the specified index\n\nParameters\n----------\nrequest : Request\n Uses \'from\', \'to\', \'limit\', \'filter\', and \'doctype\' from request arguments\n\nReturns\n-------\nfilter\n dict containing the filters, e.g....
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': 'BaseTestDDSketches.test_merge_equal@tests/test_ddsketch.py', 'description': 'Test merging equal-sized DDSketches', 'signature': 'def test_merge_equal(self):'}</s>TEST_REL_ACC = 0.05
1
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQIAMO_MSGS = 728
0
{'name': 'CheckStyle@tools/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces inside code, etc.\n\nArgs:\n f...
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': 'TestH8mail.setUp@tests/test_h8mail.py', 'description': 'Generating local files', 'signature': 'def setUp(self):'}</s>{'name': 'worker@h8mail/utils/localsearch.py', 'description': 'Searches for every email from target_list in every line of filepath.\nAttempts to decode line using cp437. If it fails, catch and ...
0
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>{'name': 'pfsync_state_key@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []}
0
{'name': 'control_write_defaults@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Write default control values', 'signature': 'def control_write_defaults():'}</s>{'name': 'get_global_header@tools/ble_sniffer/extcap/SnifferAPI/Pcap.py', 'description': 'Get the PCAP global header.', 'code': 'def get_global_h...
0
{'name': 'Pattern.fix_identities@support/docopt.py', 'description': 'Make pattern-tree tips point to same object if they are equal.', 'signature': 'def fix_identities(self, uniq=None):'}</s>{'name': 'Tokens@support/docopt.py', 'description': 'DOCSTRING', 'base_classes': ['list'], 'methods': [{'name': 'Tokens.__init__@s...
0
{'name': 'write_readme@scripts/python-skywater-pdk/skywater_pdk/cells/generate/readme.py', 'description': 'Generates README for a given cell.\n\nArgs:\n cellpath - path to a cell [str of pathlib.Path]\n define_data - cell data from json [dic]', 'signature': 'def write_readme(cellpath, define_data):'}</s>{'name': ...
0
{'name': 'ParseArguments@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args)...
0
{'name': 'bash_unset_variable@src/conda_devenv/gen_scripts.py', 'description': 'Render the code to unset a variable and/or restore its backup in bash.\n\n:param variable_name: The name of the variable.\n:return: The code to restore and/or unset the variable.', 'signature': 'def bash_unset_variable(variable_name: str) -...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQXF_GET = 10
0
{'name': 'filter_with_bustools@kb_python/count.py', 'description': "Generate filtered count matrices with bustools.\n\nArgs:\n bus_path: Path to sorted, corrected, sorted BUS file\n ecmap_path: Path to matrix ec file\n txnames_path: Path to list of transcripts\n t2g_path: Path to transcript-to-gene mapping\...
0
{'name': 'process_direct_grism_visit@grizli/prep.py', 'description': 'Full processing of a direct (+grism) image visit.\n\nParameters\n----------\ndirect : dict\n Dictionary with keys \'files\' and \'product\' for the direct images.\n\ngrism : dict\n Dictionary with keys \'files\' and \'product\' for the grism im...
0
{'name': 'train@gns/train_multinode.py', 'description': 'Train the model.\n\nArgs:\n rank: local rank\n world_size: total number of ranks\n device: cuda device local rank\n# ', 'signature': 'def train(rank, flags, world_size, verbose):'}</s>NUM_PARTICLE_TYPES = 9
0
{'name': 'PowerfulWord.generate_powerful_word@Preprocessing/PowerfulWord.py', 'description': '计算数据中词语的影响力,格式如下:\n 词语 --> [0. 出现语句对数量,1. 出现语句对比例,2. 正确语句对比例,3. 单侧语句对比例,4. 单侧语句对正确比例,5. 双侧语句对比例,6. 双侧语句对正确比例]', 'signature': 'def generate_powerful_word(self):'}</s>{'name': 'PowerfulWord@Preprocessing/PowerfulWord.py', 'de...
1
{'name': 'ParseArguments@tools/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args):'}</s>{'name': 'Check...
0
{'name': 'ControlInterface.udpclient@xled/control.py', 'description': 'Client for sending UDP packets to the realtime port\n\n:return: the UDP client\n :py:class:`~.udp_client.UDPClient()`.\n:rtype: udp_client.UDPClient', 'signature': 'def udpclient(self):'}</s>{'name': 'encrypt_wifi_password@xled/security.py', 'des...
0
{'name': 'ERAN.__init__@tf_verify/eran.py', 'description': "This constructor takes a reference to a TensorFlow Operation, TensorFlow Tensor, or Keras model. The two TensorFlow functions graph_util.convert_variables_to_constants and \ngraph_util.remove_training_nodes will be applied to the graph to cleanse it of any nod...
0
{'name': 'homography_adaptation@models/homographies.py', 'description': "Perfoms homography adaptation.\nInference using multiple random warped patches of the same input image for robust\npredictions.\nArguments:\n image: A `Tensor` with shape `[N, H, W, 1]`.\n net: A function that takes an image as input, perfor...
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': 'compMatch@InteractiveHtmlBom/core/units.py', 'description': 'Return a normalized value and units for a given component value string\ne.g. compMatch("10R2") returns (1000, R)\ne.g. compMatch("3.3mOhm") returns (0.0033, R)', 'signature': 'def compMatch(component):'}</s>PREFIX_KILO = ["kilo", "k"]
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>BITCOIND_PROC_WAIT_TIMEOUT = 60
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': 'TestConnection.test_identify@test/test_connection.py', 'description': 'The connection sends the identify commands', 'signature': 'def test_identify(self):'}</s>{'name': 'UnsupportedException@nsq/exceptions.py', 'description': 'When a requested feature cannot be used', 'base_classes': ['NSQException'], 'method...
0
{'name': 'Hashing.encode_image@imagededup/methods/hashing.py', 'description': "Generate hash for a single image.\n\nArgs:\n image_file: Path to the image file.\n image_array: Optional, used instead of image_file. Image typecast to numpy array.\n\nReturns:\n hash: A 16 character hexadecimal string hash for the ...
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': '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': 'P2PHeaderAndShortIDs@qa/rpc-tests/test_framework/mininode.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods'...
0
{'name': 'actual_channel_locations@ecephys_spike_sorting/modules/noise_templates/id_noise_templates.py', 'description': 'Physical locations of Neuropixels electrodes, relative to the probe tip\nJIC replaced this inference of position from channel map with \ndirect read of the positions from channel_pos.npy\n\nInputs:\n...
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': 'Application._load_environment@robopianist/viewer/application.py', 'description': 'Loads a new environment.', 'signature': 'def _load_environment(self, zoom_to_scene):'}</s>_SCROLL_SPEED_FACTOR = 0.05
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': 'HTTPConnectionPool.is_same_host@src/ahip/connectionpool.py', 'description': 'Check if the given ``url`` is a member of the same host as this\nconnection pool.', 'signature': 'def is_same_host(self, url):'}</s>{'name': '_add_doc@src/ahip/packages/six.py', 'description': 'Add documentation to a function.', 'cod...
0
{'name': 'format_filename@nhentai/utils.py', 'description': 'It used to be a whitelist approach allowed only alphabet and a part of symbols.\nbut most doujinshi\'s names include Japanese 2-byte characters and these was rejected.\nso it is using blacklist approach now.\nif filename include forbidden characters (\'/:,;*?...
0
{'name': 'Serial.open@serial/rfc2217.py', 'description': 'Open port with current settings. This may throw a SerialException\nif the port cannot be opened.', 'signature': 'def open(self):'}</s>SERVER_FLOWCONTROL_RESUME = b'm'
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': '_Command._decode_transfer_data@pyocd/probe/pydapaccess/dap_access_cmsis_dap.py', 'description': 'Take a byte array and extract the data from it\n\nDecode the response returned by a DAP_Transfer CMSIS-DAP command\nand return it as an array of bytes.', 'signature': 'def _decode_transfer_data(self, data):'}</s>{...
0
{'name': 'SingleSubjectWindow.CB_line_text@src/python_scripts/afnipy/gui_uber_subj.py', 'description': 'call-back for text updates in the level 3 gbox', 'signature': 'def CB_line_text(self):'}</s>{'name': 'ttest_paired@src/python_scripts/afnipy/afni_util.py', 'description': 'easy: return 1 sample t-test of the differen...
0
{'name': 'IUZone.zone_id@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the zone_id. Should match the zone_id used in sequences', 'signature': 'def zone_id(self) -> str:'}</s>CONF_EXPECTED = "expected"
0
{'name': 'HyperFrameRecord.add_frames@disdat/hyperframe.py', 'description': "Add frames to the PB. If UUID, just add the UUID. If a FrameRecord,\nthen add both the UUID in the pb.frames map and the FrameRecord in the frame_cache.\n\nArgs:\n frames (:list:'FrameRecord' or :list:tuple:str,str): List of Frames to app...
0
{'name': 'get_status@tools/pydfu.py', 'description': 'Get the status of the last operation.', 'signature': 'def get_status():'}</s>__DFU_DNLOAD = 1
0
{'name': 'algorithmPriority@algorithms.py', 'description': 'Priority heuristic algorithm for job shop problem', 'signature': 'def algorithmPriority(aJobsList):'}</s>{'name': 'algorithmLIFO@algorithms.py', 'description': 'LIFO/LCFS heuristic algorithm for job shop problem', 'code': 'def algorithmLIFO(aJobsList):\n ""...
0
{'name': 'test_put_get_delete_replication@ut/test.py', 'description': '设置、获取、删除跨园区复制配置', 'signature': 'def test_put_get_delete_replication():'}</s>client_for_aes = CosEncryptionClient(conf, aes_provider)
0
{'name': 'connect@trino/dbapi.py', 'description': 'Constructor for creating a connection to the database.\n\nSee class :py:class:`Connection` for arguments.\n\n:returns: a :py:class:`Connection` object.', 'signature': 'def connect(*args, **kwargs):'}</s>{'name': 'IntegrityError@trino/exceptions.py', 'description': 'DOC...
0
{'name': 'IUClock.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data', 'signature': 'def load(self, config: OrderedDict) -> "IUClock":'}</s>TIMELINE_STATUS = "status"
0
{'name': 'JSONRPCProtocol.request_factory@tinyrpc/protocols/jsonrpc.py', 'description': 'Factory for request objects.\n\nAllows derived classes to use requests derived from :py:class:`JSONRPCRequest`.\n\n:rtype: :py:class:`JSONRPCRequest`', 'signature': "def request_factory(self) -> 'JSONRPCRequest':"}</s>{'name': 'Inv...
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': 'BaseTemplate.search@src/back/kite/bottle.py', 'description': 'Search name in all directories specified in lookup.\nFirst without, then with common extensions. Return first hit. ', 'signature': 'def search(cls, name, lookup=[]):'}</s>{'name': 'abort@src/back/kite/bottle.py', 'description': 'Aborts execution an...
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': 'localtime@tool/mkarchive.py', 'description': 'Return YYYY-mm-dd HH:MM.', 'signature': 'def localtime(stamp=0):'}</s>pid = run_dir + "/pid.txt"
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': 'dcm2niix_json_fname@bidskit/dcm2niix.py', 'description': 'Construct a dcm2niix filename from parse_dcm2niix_fname dictionary\nSee dcm2niix call in __main__.py for output file format string\n\nAllows custom ser_no, echo_no and suffix different from d2n_meta entries\n\n:param info d2n_meta: dict\n dcm2niix f...
0
{'name': 'IUCoordinator.service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Entry point for all service calls.', 'signature': 'def service_call('}</s>ICON_SEQUENCE_PAUSED = "mdi:pause-circle-outline"
0
{'name': 'EVPTestCase.test_get_ec@tests/test_evp.py', 'description': 'Testing retrieving the EC key from the PKey instance.', 'signature': 'def test_get_ec(self):'}</s>NID_c2tnb191v2 = m2.NID_X9_62_c2tnb191v2
0
{'name': 'buildmodule@venv/Lib/site-packages/numpy/f2py/rules.py', 'description': 'Return', 'signature': 'def buildmodule(m, um):'}</s>{'name': 'isintent_overwrite@venv/Lib/site-packages/numpy/f2py/auxfuncs.py', 'description': 'DOCSTRING', 'code': "def isintent_overwrite(var):\n return 'overwrite' in var.get('intent...
0
{'name': 'S2V_Tests.test2@blockchain-env/lib/python3.7/site-packages/Cryptodome/SelfTest/Protocol/test_KDF.py', 'description': 'Verify that no more than 127(AES) and 63(TDES)\ncomponents are accepted.', 'signature': 'def test2(self):'}</s>_raw_md5_lib = load_pycryptodome_raw_lib("Cryptodome.Hash._MD5", ...
0
{'name': 'Receipt.formatted_number@django_afip/models.py', 'description': "This receipt's number in the usual format: ``0001-00003087``.", 'signature': 'def formatted_number(self) -> str | None:'}</s>{'name': 'AuthTicketManager@django_afip/models.py', 'description': 'DOCSTRING', 'base_classes': ["models.Manager['AuthTi...
0
{'name': 'Metric.to_sql@metrics.py', 'description': 'Generates SQL query for the metric.', 'signature': 'def to_sql(self, table, split_by: Optional[Union[Text, List[Text]]] = None):'}</s>{'name': 'SqlComponents@sql.py', 'description': 'Base class for a bunch of SQL components like columns and filters.', 'base_classes':...
0
{'name': 'Token.flatten@libs/sqlparse/sql.py', 'description': 'Resolve subgroups.', 'signature': 'def flatten(self):'}</s>{'name': '_TokenType@libs/sqlparse/tokens.py', 'description': 'DOCSTRING', 'base_classes': ['tuple'], 'methods': [{'name': '_TokenType.__contains__@libs/sqlparse/tokens.py', 'description': 'DOCSTRIN...
0
{'name': 'SensorHandler.validate_arming_event@custom_components/alarmo/sensors.py', 'description': 'check whether all sensors have the correct state prior to arming.', 'signature': 'def validate_arming_event(self, area_id: str, target_state: str = None, **kwargs):'}</s>EVENT_TRIGGER = "trigger"
0
{'name': 'PoolManager.connection_from_url@src/ahip/poolmanager.py', 'description': 'Similar to :func:`hip.connectionpool.connection_from_url`.\n\nIf ``pool_kwargs`` is not provided and a new pool needs to be\nconstructed, ``self.connection_pool_kw`` is used to initialize\nthe :class:`hip.connectionpool.ConnectionPool`....
0
{'name': 'generate_ast@project-material/project_1_for_students/misc.py', 'description': 'return the AST using the output of process() here.', 'signature': 'def generate_ast(intermediate) -> Program:'}</s>{'name': 'SLiteral@project-material/project_1_for_students/ast_tools.py', 'description': 'string literal. the gramma...
0
{'name': 'Validator.__init__@signac/_vendor/configobj/validate.py', 'description': '>>> vtri = Validator()', 'signature': 'def __init__(self, functions=None):'}</s>{'name': 'VdtParamError@signac/_vendor/configobj/validate.py', 'description': 'An incorrect parameter was passed', 'base_classes': ['SyntaxError'], 'methods...
0
{'name': 'Field.transform@ddparser/parser/data_struct/field.py', 'description': 'Sequences transform function, such as converting word to id, adding bos tags to sequences, etc.', 'signature': 'def transform(self, sequences):'}</s>{'name': 'download_model_from_url@ddparser/parser/data_struct/utils.py', 'description': 'D...
0
{'name': 'get_omega_from_PES@nonrad/ccd.py', 'description': 'Calculate the harmonic phonon frequency for the given PES.\n\nParameters\n----------\nQ : np.array(float)\n array of Q values (amu^{1/2} Angstrom) corresponding to each vasprun\nenergy : np.array(float)\n array of energies (eV) corresponding to each vas...
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': 'TestRequestViewerHook.test_deal_with_pecan_configs@pecan/tests/test_hooks.py', 'description': 'If config comes from pecan.conf convert it to dict', 'signature': 'def test_deal_with_pecan_configs(self):'}</s>{'name': 'RequestViewerHook@pecan/hooks.py', 'description': ":param config: A (optional) dictionary t...
1
{'name': 'ProxyPool.get_proxy_item@spider/network/proxy_pool.py', 'description': '获取代理对象\n:param proxy_id:\n:param proxies:\n:return:', 'signature': 'def get_proxy_item(self, proxy_id="", proxies=None):'}</s>ADD_ITEM_TO_MYSQL = True
0
{'name': 'compute_climatology@src/climpred/reference.py', 'description': "Compute the skill of a climatology forecast.\n\nArgs:\n initialized: The initialized ensemble.\n verif: control data, not needed\n metric: Metric name to apply at each lag for the persistence computation.\n Default: 'pearson_r'\n ...
0
{'name': 'Decoder.forward@model.py', 'description': 'encoder_out: shape(N, L, D)\ntgt: shape(N, L)', 'signature': 'def forward(self, encoder_out, tgt):'}</s>{'name': 'CFG@config.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': []}
0
{'name': 'find_on_path@tests/_lib_vendors/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': '_macosx_arch@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'DOCSTRING', 'code': "...
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': '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': 'Cache.search@shingetsu/cache.py', 'description': 'Search node from network and get records.', 'signature': 'def search(self, searchlist=None, myself4=None, myself6=None):'}</s>xsl = root_path + "rss1.xsl"
0
{'name': 'ContinuousWaveformClient._request_cont_waveform@HinetPy/client.py', 'description': 'Request continuous waveform.\n\nParameters\n----------\ncode: str\n Network code.\nstarttime: :py:class:`datetime.datetime`\n Starttime of data request.\nspan: int\n Time span in minutes.\n\nReturns\n-------\nid: str\...
0
{'name': 'intersect_downstream_lines@oggm/core/centerlines.py', 'description': 'Find tributaries to a main glacier by intersecting downstream lines\n\nThe GlacierDirectories must at least contain a `downstream_line`.\nIf you have a lot of candidates, only execute the necessary tasks for that\nand do the rest of the pre...
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': 'prettyFrameStack@boxx/tool/toolLog.py', 'description': 'get frame return pretty str of stack\n\n>>> prettyFrameLocation(frame)\n__init__ <-f <-ff <-demo.py\n\nParameters\n----------\nframe : frame or int, default 0\n if int:相对于调用此函数frame的 int 深度的对应frame\nendByMain : bool, default True\n 为 True 则在第一个 fra...
1
{'name': 'Chapter.text@AO3/chapters.py', 'description': "This chapter's text", 'signature': 'def text(self):'}</s>{'name': 'AuthError@AO3/utils.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': [{'name': 'AuthError.__init__@AO3/utils.py', 'description': 'DOCSTRING', 'code': 'def __init__(self, ...
0
{'name': 'BaseMessageBus.add_message_handler@dbus_next/message_bus.py', 'description': 'Add a custom message handler for incoming messages.\n\nThe handler should be a callable that takes a :class:`Message\n<dbus_next.Message>`. If the message is a method call, you may return\nanother Message as a reply and it will be m...
0
{'name': 'plotRdimsMarkers@pipelines/pipeline_scxl.py', 'description': 'Visualise expression of discovered markers on rdims plots.', 'signature': 'def plotRdimsMarkers(infile, outfile):'}</s>{'name': 'summariseMarkersBetweenConditions@pipelines/pipeline_scxl.py', 'description': 'Make summary tables and plots of within-...
0
{'name': 'Serial._reconfigure_port@serial/rfc2217.py', 'description': 'Set communication parameters on opened port.', 'signature': 'def _reconfigure_port(self):'}</s>WILL = b'\xfb'
0
{'name': 'get_dataset@muspy/datasets/wrapper.py', 'description': 'Return a certain dataset class by key.\n\nParameters\n----------\nkey : str\n Dataset key (case-insensitive).\n\nReturns\n-------\nThe corresponding dataset class.', 'signature': 'def get_dataset(key: str) -> Type[Dataset]:'}</s>{'name': 'Music21Datas...
1
{'name': 'test_get_atoms_errors@vermouth/tests/test_ffinput.py', 'description': 'Test _get_atoms fails when expected.', 'signature': 'def test_get_atoms_errors(tokens, natoms):'}</s>{'name': 'test_parse_meta@vermouth/tests/test_ffinput.py', 'description': 'Test that _parse_meta works as expected.', 'code': 'def test_pa...
0
{'name': 'Transformer.handle_error@src/sagemaker_inference/transformer.py', 'description': 'Set context appropriately for error response.\n\nArgs:\n context (mms.context.Context): The inference context.\n inference_exception (sagemaker_inference.errors.BaseInferenceToolkitError): An exception\n raised duri...
0
{'name': 'test_sorting@voluptuous/tests/tests.py', 'description': 'Expect alphabetic sorting', 'signature': 'def test_sorting():'}</s>{'name': 'ContainsInvalid@voluptuous/error.py', 'description': 'List does not contain item', 'base_classes': ['Invalid'], 'methods': []}
0
{'name': 'test_escaped_html@tests/test_linkify.py', 'description': 'If I pass in escaped HTML, it should probably come out escaped.', 'signature': 'def test_escaped_html():'}</s>{'name': 'test_add_rel_nofollow@tests/test_linkify.py', 'description': 'Verify that rel="nofollow" is added to an existing link', 'code': 'def...
0
{'name': 'IPDatabase.export_verilator@ipstools/ipstools/IPDatabase.py', 'description': 'Exports a Makefile to be used to build a verilator simulation flow\n\n :param script_path: The path where the Makefiles are collected\n :type script_path: str\n\n :param root: The path to which t...
0
{'name': 'test_watchers@tests/test_watchers.py', 'description': 'Stress test Watcher implementations', 'signature': 'def test_watchers(Watcher, tmpdir):'}</s>{'name': 'test_qtwatcher@tests/test_watchers.py', 'description': 'Test QtWatcher implementation.', 'code': 'def test_qtwatcher(tmpdir):\n """Test QtWatcher imp...
0
{'name': 'HTTPConnectionPool._make_request@Retired Content/MimeCast/SumoLogic-Mimecast-Data-Collection/requests/packages/urllib3/connectionpool.py', 'description': 'Perform a request on a given urllib connection object taken from our\npool.\n\n:param conn:\n a connection from one of our connection pools\n\n:param ti...
0
{'name': 'IterateProtocol.__call__@quapy/protocol.py', 'description': 'Yields one sample from the initial list at a time\n\n:return: yields a tuple `(sample, prev) at a time, where `sample` is a set of instances\n and in which `prev` is an `nd.array` with the class prevalence values', 'signature': 'def __call__(self...
0