text
string
label
int64
{'name': 'FieldCompiler.py_type@src/betterproto/plugin/models.py', 'description': 'String representation of Python type.', 'signature': 'def py_type(self) -> str:'}</s>{'name': 'is_map@src/betterproto/plugin/models.py', 'description': 'True if proto_field_obj is a map, otherwise False.', 'code': 'def is_map(\n proto...
0
{'name': 'Hamlish._create_extended_jinja_tags@hamlish_jinja.py', 'description': 'Loops through the nodes and looks for special jinja tags that\ncontains more than one tag but only one ending tag.', 'signature': 'def _create_extended_jinja_tags(self, nodes):'}</s>{'name': 'TextNode@hamlish_jinja.py', 'description': 'DOC...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIACF_SYSP_TRACE_SIZE = 1201
0
{'name': 'Bottleneck.__init__@mmdet/models/backbones/resnet.py', 'description': 'Bottleneck block for ResNet.\nIf style is "pytorch", the stride-two layer is the 3x3 conv layer,\nif it is "caffe", the stride-two layer is the first 1x1 conv layer.', 'signature': 'def __init__(self,'}</s>{'name': 'ContextBlock@mmdet/ops/...
1
{'name': 'darknet_body@text/keras_yolo3.py', 'description': 'Darknent body having 52 Convolution2D layers', 'signature': 'def darknet_body(x):'}</s>{'name': 'yolo_loss@text/keras_yolo3.py', 'description': 'Return yolo_loss tensor\n\nParameters\n----------\nyolo_outputs: list of tensor, the output of yolo_body or tiny_y...
0
{'name': 'Model.feed_sample@pygad/cnn/cnn.py', 'description': 'Feeds a sample in the CNN layers.\n\nsample: The samples to be fed to the CNN layers.\n\nReturns results of the last layer in the CNN.', 'signature': 'def feed_sample(self, sample):'}</s>{'name': 'Flatten@pygad/cnn/cnn.py', 'description': 'Implementing the ...
1
{'name': 'AmharicLocale.describe@arrow/locales.py', 'description': 'Describes a delta within a timeframe in plain language.\n\n:param timeframe: a string representing a timeframe.\n:param delta: a quantity representing a delta in a timeframe.\n:param only_distance: return only distance eg: "11 seconds" without "in" or ...
0
{'name': 'device_removed@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'A device is removed', 'signature': 'def device_removed(notification):'}</s>{'name': 'initLog@tools/ble_sniffer/extcap/SnifferAPI/Sniffer.py', 'description': 'DOCSTRING', 'code': 'def initLog():\n Logger.initLogger()\n\n logging...
0
{'name': 'Expression.statement@da/compiler/dast.py', 'description': 'The first statement parent of this expression, if any.\n\n ', 'signature': 'def statement(self):'}</s>{'name': 'PatternExpr@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['Expression'], 'methods': [{'name': 'PatternExpr.__in...
0
{'name': 'level_successors_padded@vamb/hloss_misc.py', 'description': 'Returns the list of parents and their children at each depth.', 'signature': 'def level_successors_padded('}</s>{'name': 'level_nodes@vamb/hloss_misc.py', 'description': 'DOCSTRING', 'code': 'def level_nodes(tree: Hierarchy, extend: bool = False) ->...
0
{'name': 'log@dummy files/logger.py', 'description': "Write the sequence of args, with no separators, to the console and output files (if you've configured an output file).", 'signature': 'def log(*args, level=INFO):'}</s>{'name': 'getkvs@dummy files/logger.py', 'description': 'DOCSTRING', 'code': 'def getkvs():\n r...
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': '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': 'TestObjectsE2E.test_host_record_ea_inheritance@e2e_tests/test_objects.py', 'description': 'Checks if EA inheritance for record:host object\nworks as expected', 'signature': 'def test_host_record_ea_inheritance(self):'}</s>{'name': 'SharedNetworkV6@infoblox_client/objects.py', 'description': "SharedNetworkV6: ...
0
{'name': 'TestEmbeddedDocumentField.test__parent__init__method_included_in_init_chain@tests/test_db_fields.py', 'description': 'Test to protect from accidental incorrect __init__ method overwrite.', 'signature': 'def test__parent__init__method_included_in_init_chain(self, db, mocker):'}</s>{'name': 'EmbeddedDocumentLis...
0
{'name': 'TileMatrixSet.tiles@morecantile/models.py', 'description': 'Get the tiles overlapped by a geographic bounding box\n\nOriginal code from https://github.com/mapbox/mercantile/blob/master/mercantile/__init__.py#L424\n\nParameters\n----------\nwest, south, east, north : sequence of float\n Bounding values in d...
0
{'name': 'set_debug@source/tomopy/util/mproc.py', 'description': 'Set the global DEBUG variable.\n\nIf DEBUG is True, all computations will be run on the host process instead\nof distributing work over different processes. This can help to debug\nfunctions that give errors or cause segmentation faults. If DEBUG is Fals...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQQA_BACKOUT_HARDENED = 1
0
{'name': 'CheckStyle@ament_cpplint/ament_cpplint/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 co...
0
{'name': 'get_model_prediction@run/mutate_lemon.py', 'description': 'Get model prediction on different backends and calculate distance by metrics', 'signature': 'def get_model_prediction(res_dict, model_path, model_name, exp, test_size, backends):'}</s>{'name': 'ToolUtils@scripts/tools/utils.py', 'description': 'DOCSTR...
1
{'name': 'Context.add_const@onnx_chainer/context.py', 'description': 'Add a constant array as an ONNX Constant node.\n\nReturns:\n str: registered name.', 'signature': 'def add_const(self, array, name):'}</s>{'name': 'make_node@onnx_chainer/onnx_helper.py', 'description': 'A thin wrapper of `onnx.helper.make_node`.\...
1
{'name': 'TestConfigBase.setUpClass@test/test_config.py', 'description': 'Test case class common fixture setup.', 'signature': 'def setUpClass(cls):'}</s>{'name': 'TestConfigPrompt@test/test_config.py', 'description': 'Test cases for config with prompting.', 'base_classes': ['TestConfigBase'], 'methods': [{'name': 'Tes...
0
{'name': 'ReplaceByFeeTest.test_opt_in@test/functional/feature_rbf.py', 'description': 'Replacing should only work if orig tx opted in', 'signature': 'def test_opt_in(self):'}</s>MAX_NODES = 8
0
{'name': 'http_list@icesat2_toolkit/utilities.py', 'description': "List a directory on an Apache http Server\n\nParameters\n----------\nHOST: str or list\n remote http host path\ntimeout: int or NoneType, default None\n timeout in seconds for blocking operations\ncontext: obj, default ssl.SSLContext(ssl.PROTOCOL_...
0
{'name': 'Pix2Pix.fit@src/Pix2Pix/Pix2Pix.py', 'description': 'Parameters: \n model_name: Resume the training from saved checkpoint with file - "model_name"\n epoch_decay: Number of epochs after which learning rate starts decaying', 'signature': 'def fit(self, nb_epochs: int = 400, d_lr: float = 2e-4, g_lr: floa...
1
{'name': 'configure_via_file@isi_data_insights_config.py', 'description': "Configure the daemon's stat groups and the stats processor via command line\narguments and configuration file. The command line args override settings\nprovided in the config file.", 'signature': 'def configure_via_file(daemon, args, config_file...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQUA_LAST = 999999999
0
{'name': 'readLzpt@fwtool/archive/lzpt.py', 'description': 'Decodes an LZTP image and returns its contents', 'signature': 'def readLzpt(file):'}</s>{'name': 'readArchive@fwtool/archive/__init__.py', 'description': 'DOCSTRING', 'code': 'def readArchive(data):\n return _findType(data)(data)'}
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': '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': 'isi_schema_to_swagger_object@components/create_swagger_config.py', 'description': 'Convert isi_schema to Swagger object definition.', 'signature': 'def isi_schema_to_swagger_object(isi_obj_name_space, isi_obj_name,'}</s>{'name': 'isi_to_swagger_array_prop@components/create_swagger_config.py', 'description': '...
1
{'name': 'InWordsTestCase.testCommon@pytils/test/test_numeral.py', 'description': 'Unit-test for general in_words', 'signature': 'def testCommon(self):'}</s>{'name': 'InWordsTestCase@pytils/test/test_numeral.py', 'description': 'Test case for pytils.numeral.in_words', 'base_classes': ['unittest.TestCase'], 'methods': [...
1
{'name': 'AlarmoMasterEntity.__init__@custom_components/alarmo/alarm_control_panel.py', 'description': 'Initialize the alarm_control_panel entity.', 'signature': 'def __init__(self, hass: HomeAssistant, name: str, entity_id: str) -> None:'}</s>VERSION = "1.9.5"
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': 'BL3Save.import_protobuf@bl3save/bl3save.py', 'description': 'Given raw protobuf data, load it into ourselves so\nthat we can work with it. This also sets up a few\nconvenience vars for our later use', 'signature': 'def import_protobuf(self, data):'}</s>_sym_db = _symbol_database.Default()
0
{'name': 'timetree@treetime/wrappers.py', 'description': 'this function implements the regular treetime time tree estimation', 'signature': 'def timetree(params):'}</s>{'name': 'datestring_from_numeric@treetime/utils.py', 'description': 'convert a numerical date to a formated date string YYYY-MM-DD\n\nParameters\n-----...
0
{'name': 'Muse._handle_gyro@muselsl/muse.py', 'description': 'Handle incoming gyroscope data.\n\nsampling rate: ~17 x second (3 samples in each message, roughly 50Hz)', 'signature': 'def _handle_gyro(self, handle, packet):'}</s>MUSE_SAMPLING_GYRO_RATE = 52
0
{'name': 'copy@examples/python/ggml/utils.py', 'description': 'Copy the contents of one tensor to another, doing any necessary (de/re)quantization transparently.\nWorks across numpy & ggml tensors, but they must have the same shape (and be contiguous).\n\nParameters\n----------\nfrom_tensor : TensorLike\n The tensor...
1
{'name': 'PSBaseParser.nextline@pdfminer3/psparser.py', 'description': 'Fetches a next line that ends either with \\r or \\n.\n ', 'signature': 'def nextline(self):'}</s>HEX_PAIR = re.compile(br'[0-9a-fA-F]{2}|.')
0
{'name': 'TLP.get_size@fpga/lib/pcie/tb/pcie.py', 'description': 'Return size of TLP in bytes', 'signature': 'def get_size(self):'}</s>TLP_PREFIX_VENDOR_L0 = (FMT_TLP_PREFIX, 0x0E)
0
{'name': 'Router._send_remote@da/sim.py', 'description': 'Forward `mesg` to remote process `dest`.\n\n ', 'signature': 'def _send_remote(self, src, dest, mesg, flags=0, transport=None, **params):'}</s>internal_registry = dict()
0
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>ICMP6_NI_QUERY = 139
0
{'name': 'Device.close@src/LabJackPython.py', 'description': 'close()\n\nCloses the device.\n\nOn Windows, this method only sets the device handle to None but does\nnot close the device. Instead use the Close function from the\nLabJackPython module which closes all devices in the program, and is\nthe only device close ...
0
{'name': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': 'BoolSort@src/api/python/z3/z3.py', 'description': "Return the Boolean Z3 sort. If `ctx=None`, then the global co...
0
{'name': 'ColorMod._op_sub@lib/st_colormod.py', 'description': 'Multiply.', 'signature': 'def _op_sub(a, b):'}</s>RE_BRACKETS = re.compile(r'(?:(\()|(\))|[^()]+)')
0
{'name': 'Data._apply_axis@verif/data.py', 'description': 'Slice an array along a certain axis and return an extract array\n\nArguments:\narray 3D numpy array\naxis Of type verif.axis.Axis\naxis_index Index along the axis to slice', 'signature': 'def _apply_axis(self, array, axis, axis_index):'}</s>{'name...
0
{'name': 'MockBlueDot.mock_client_connected@bluedot/mock.py', 'description': "Simulates a client connecting to the Blue Dot.\n\n:param string client_address:\n The mock client mac address, defaults to '11:11:11:11:11:11'", 'signature': 'def mock_client_connected(self):'}</s>{'name': 'MockBluetoothServer@bluedot/mock...
0
{'name': 'TestObjectsE2E.test_create_alias_a_record@e2e_tests/test_objects.py', 'description': 'Create two A records with different names, but pointing to the same\nipv4addr', 'signature': 'def test_create_alias_a_record(self):'}</s>{'name': 'SharedNetworkV4@infoblox_client/objects.py', 'description': 'SharedNetworkV4:...
0
{'name': '_write_type_definition@swagger_to/elm_client.py', 'description': 'Write the type definition in the Elm code.\n\n:param typedef: to be declared\n:param fid: target\n:return:', 'signature': 'def _write_type_definition(typedef: Typedef, fid: TextIO) -> None:'}</s>{'name': '_write_header@swagger_to/elm_client.py'...
0
{'name': 'LogProvider.__init__@logme/providers.py', 'description': 'Initialization of Logger Provider, all the optional arguments should be passed from logme.log()\n\nRequired: scope\nOptional: config, name.\n (logger configuration will resolve to the default when not specified,\n *given logme.ini file ex...
0
{'name': '_spherical_voronoi_from_points@uxarray/io/_voronoi.py', 'description': 'Generates a spherical Delaunay Voronoi diagram from given points.', 'signature': 'def _spherical_voronoi_from_points(points, **kwargs):'}</s>FACE_LAT_ATTRS = { "standard_name": "latitude", "long name": "Latitude of the center of e...
0
{'name': 'CRUDMixin.get_context_data@cruds/views.py', 'description': 'Adds available urls and names.', 'signature': 'def get_context_data(self, **kwargs):'}</s>{'name': 'crud_url_create@cruds/utils.py', 'description': 'DOCSTRING', 'code': 'def crud_url_create(model, *args, **kwargs):\n return crud_url(model, ACTION_...
0
{'name': 'ProcessFileData@third_party/cpplint/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, each rep...
0
{'name': 'GenericImporter.get_reader_class@data_importer/importers/generic.py', 'description': 'Gets the right file reader class by source file extension', 'signature': 'def get_reader_class(self):'}</s>{'name': 'XMLReader@data_importer/readers/xml_reader.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'me...
1
{'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': 'test_kitti_3d@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': 'def test_kitti_3d(dataset_test, net, rpn_conf, results_path, test_path, has_rcnn=False):'}</s>{'name': 'pretty_print@lib/util.py', 'description': "This function creates a formatted string from a...
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': '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': 'edit_configuration@buildtest/cli/config.py', 'description': 'This method will open configuration file in editor. The preferred editor will be determined based on environment\nvariable ``EDITOR`` if found otherwise will resort to ``vim``.\n\nArgs:\n configuration (buildtest.config.SiteConfiguration): Instan...
0
{'name': 'DASourceFileLoader.get_code@da/importer/py36.py', 'description': 'Concrete implementation of InspectLoader.get_code.\n\nReading of bytecode requires path_stats to be implemented. To write\nbytecode, set_data must also be implemented.', 'signature': 'def get_code(self, fullname):'}</s>{'name': 'FunctionInstrum...
0
{'name': 'update_sample_attr@ui/views/Samples.py', 'description': "Update sample's attribute\n\nParameters\n----------\nrequest :\n\nReturns\n-------", 'signature': 'def update_sample_attr(request):'}</s>{'name': 'JobUpdateForm@ui/forms.py', 'description': 'DOCSTRING', 'base_classes': ['forms.Form'], 'methods': []}
0
{'name': 'Assembly.find_relations@onshape_to_robot/assembly.py', 'description': 'Finding relations features in the assembly', 'signature': 'def find_relations(self):'}</s>{'name': 'info@onshape_to_robot/message.py', 'description': 'DOCSTRING', 'code': 'def info(text: str):\n return Fore.BLUE + text + Style.RESET_ALL...
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': 'test_get_products@warehouse/tests/unit/test_on_order_events.py', 'description': 'Test get_products()', 'signature': 'def test_get_products(lambda_module, order, order_products):'}</s>{'name': 'test_handler_created@warehouse/tests/unit/test_on_order_events.py', 'description': 'Test handler() with OrderCreated'...
0
{'name': 'symbols@Projects/2_Classical Planning/aimacode/utils.py', 'description': 'Return a tuple of Symbols; names is a comma/whitespace delimited str.', 'signature': 'def symbols(names):'}</s>{'name': 'arity@Projects/2_Classical Planning/aimacode/utils.py', 'description': 'The number of sub-expressions in this expre...
0
{'name': 'SegWitTest.test_witness_sigops@test/functional/p2p_segwit.py', 'description': 'Ensure sigop counting is correct inside witnesses.', 'signature': 'def test_witness_sigops(self):'}</s>OP_0 = CScriptOp(0x00)
1
{'name': 'get_youtube_streams@ytmdl/yt.py', 'description': "Get both audio & video stream urls for youtube using youtube-dl.\n\nPS: I don't know how youtube-dl does the magic", 'signature': 'def get_youtube_streams(url):'}</s>{'name': 'is_valid@ytmdl/utility.py', 'description': 'Check if passed path is valid or not.', ...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQMCB_ENABLED = 1
0
{'name': 'A1DInterface.process_data@src/python_scripts/scripts/1d_tool.py', 'description': 'return None on completion, else error code (0 being okay)', 'signature': 'def process_data(self):'}</s>{'name': 'invert_dict@src/python_scripts/afnipy/afni_util.py', 'description': 'Take a dictionary D of key-value pairs and ret...
0
{'name': 'net_out_lw_rad@cfg/hass/custom_components/wb_irrigation/pyeto/fao.py', 'description': "Estimate net outgoing longwave radiation.\n\nThis is the net longwave energy (net energy flux) leaving the\nearth's surface. It is proportional to the absolute temperature of\nthe surface raised to the fourth power accordin...
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': 'create_features@alphapy/features.py', 'description': 'Create features for the train and test set.\n\nParameters\n----------\nmodel : alphapy.Model\n Model object with the feature specifications.\nX : pandas.DataFrame\n Combined train and test data.\nX_train : pandas.DataFrame\n Training data.\nX_test...
0
{'name': 'AssessmentBase.__init__@pelicun/assessment.py', 'description': 'Initialize an Assessment object.\n\nParameters\n----------\nconfig_options:\n User-specified configuration dictionary.', 'signature': 'def __init__(self, config_options: dict[str, Any] | None = None) -> None:'}</s>{'name': '_loss__add_replacem...
0
{'name': 'Enforcer._record_file_rules@oslo_policy/policy.py', 'description': 'Store a copy of rules loaded from a file.\n\nIt is useful to be able to distinguish between rules loaded from a file\nand those registered by a consuming service. In order to do so we keep\na record of rules loaded from a file.\n\n:param data...
0
{'name': 'CalculateTestLists@security/nss/external_tests/google_test/gtest/test/gtest_shuffle_test.py', 'description': 'Calculates the list of tests run under different flags.', 'signature': 'def CalculateTestLists():'}</s>SHARDED_TESTS = []
1
{'name': 'get_next_backlog_item@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/utils.py', 'description': 'Get next blob in the backlog if the backlog is not empty.\n\nArgs:\n gcs_client: storage.Client\n bkt: storage.Bucket that this cloud functions is ingesting data for.\n table_prefix:...
0
{'name': 'SqlCommand.parse@qds_sdk/commands.py', 'description': 'Parse command line arguments to construct a dictionary of command\nparameters that can be used to create a command\n\nArgs:\n `args`: sequence of arguments\n\nReturns:\n Dictionary that can be used in create method\n\nRaises:\n ParseError: when t...
0
{'name': 'TwitchAPI._request_put@twitch/api/base.py', 'description': 'Perform a HTTP PUT request.', 'signature': 'def _request_put(self, path, data=None, params=None, url=BASE_URL):'}</s>{'name': 'TwitchAPI@twitch/api/base.py', 'description': 'Twitch API client.', 'base_classes': ['object'], 'methods': [{'name': 'Twitc...
1
{'name': 'test_quit@tests/unit/test_pack.py', 'description': 'QUIT command ', 'signature': 'def test_quit():'}</s>{'name': 'pack_command@bottom/pack.py', 'description': 'Pack a command to send to an IRC server ', 'code': 'def pack_command(command: str, **kwargs: Any) -> str:\n """ Pack a command to send to an IRC se...
1
{'name': 'Photo.getPhotoFile@flickr_api/objects.py', 'description': " returns the URL to the photo file corresponding to the\n given size.\n\nArguments:\n size_label: The label corresponding to the photo size\n\n 'Square': 75x75\n 'Thumbnail': 100 on longest side\n 'Small': 240 on longest...
0
{'name': 'rel_err@oggm/utils/_funcs.py', 'description': 'Relative error. Ref should be non-zero', 'signature': 'def rel_err(ref, data):'}</s>{'name': 'recursive_valid_polygons@oggm/utils/_funcs.py', 'description': 'Given a list of shapely geometries, makes sure all geometries are valid\n\nAll will be valid polygons of ...
0
{'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': 'pkginfo_to_dict@scripts/pdns/lib/python2.7/site-packages/wheel/metadata.py', 'description': "Convert PKG-INFO to a prototype Metadata 2.0 (PEP 426) dict.\n\nThe description is included under the key ['description'] rather than\nbeing written to a separate file.\n\npath: path to PKG-INFO file\ndistribution: op...
1
{'name': 'PyMolecule.GetAllDescriptor@PyBioMed/Pymolecule.py', 'description': '#################################################################\nCalculate all descriptors (608).\n\nUsage:\n\n res=GetAllDescriptor()\n\n res is a dict form.\n#################################################################', 'sign...
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': 'PacketFilter.set_limit@pf/filter.py', 'description': "Set hard limits on the memory pools used by Packet Filter.\n\n'limit' can be either one of the PF_LIMIT_* constants or a string; a\n'value' of UINT_MAX means unlimited. Raise PFError if the current pool\nsize exceeds the requested hard limit.", 'signature'...
0
{'name': 'TerraformCommand.destroy@pretf/pretf/command.py', 'description': 'Runs terraform destroy and returns the stdout.', 'signature': 'def destroy(self, *args: str) -> str:'}</s>{'name': 'clean_files@pretf/pretf/workflow.py', 'description': 'Deletes the specified files. Intended for use after `create_files()`.\nUse...
0
{'name': 'View.save_pick_properties@picasso/gui/render.py', 'description': "Saves picks' properties in a given channel to path.\n\nProperties include number of locs, mean and std of all locs\ndtypes (x, y, photons, etc) and others.\n\nParameters\n----------\npath : str \n Path for saving picks' properties.\nchannel ...
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': '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': 'unset_config@src/workflow/util.py', 'description': 'Delete a workflow variable from ``info.plist``.\n\n.. versionadded:: 1.33\n\nArgs:\n name (str): Name of variable to delete.\n bundleid (str, optional): Bundle ID of workflow variable belongs to.', 'signature': 'def unset_config(name, bundleid=None):'}...
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': 'list_to_carray@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a python list into a C array', 'signature': 'def list_to_carray(elem_type, *args):'}</s>{'name': 'wasm_frame_func_offset@language-bindings/python/src/wamr/wasmcapi/binding.py', 'description': 'DOCSTRING', 'code': 'def ...
0
{'name': 'Sheet.insert@tksheet/sheet.py', 'description': 'Insert an item into the treeview\n\nReturns:\n str: new item iid', 'signature': 'def insert('}</s>{'name': 'version_sort_key@tksheet/sorting.py', 'description': "A key for natural sorting of various Python types.\n\n- Won't convert strings to floats\n- Will s...
0
{'name': 'SimCycleGANModel.__init__@SIM-CycleGAN/models/simcycle_gan_model.py', 'description': 'Initialize the SIM-CycleGAN class.\n\nParameters:\n opt (Option class)-- stores all the experiment flags; needs to be a subclass of BaseOptions', 'signature': 'def __init__(self, opt):'}</s>{'name': 'UnetGenerator@SIM-Cyc...
0
{'name': 'Type.fields@pygraphy/introspection.py', 'description': 'OBJECT and INTERFACE only', 'signature': 'def fields(self, include_deprecated: Optional[bool] = False) -> Optional[List[Field]]:'}</s>{'name': 'is_optional@pygraphy/utils.py', 'description': 'DOCSTRING', 'code': 'def is_optional(annotation):\n annotat...
1
{'name': 'Metric.compute_through@metrics.py', 'description': 'Precomputes df -> split df and apply compute() -> postcompute.', 'signature': 'def compute_through(self, df, split_by: Optional[List[Text]] = None):'}</s>{'name': 'get_equivalent_metric_tree@utils.py', 'description': 'Replaces Metrics in the tree of m with e...
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': 'local@tune/cli.py', 'description': 'Run a local tune.\n\nParameters defined in the `tuning_config` file always take precedence.', 'signature': 'def local( # noqa: C901'}</s>{'name': 'plot_results@tune/local.py', 'description': 'Plot the current results of the optimizer.\n\nParameters\n----------\noptimizer :...
1
{'name': 'generate_enhanced_lambda_metrics@aws/logs_monitoring/enhanced_lambda_metrics.py', 'description': 'Parses a Lambda log for enhanced Lambda metrics and tags\n\nArgs:\n log (dict<str, str | dict | int>): a log parsed from the event in the split method\n Ex: {\n "id": "3498820885110631398...
0