text
string
label
int64
{'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': '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': 'FormTests.test_already_invited@pinax/invitations/tests/tests.py', 'description': 'Ensure form is not valid if invite has already been sent', 'signature': 'def test_already_invited(self):'}</s>{'name': 'ViewTests@pinax/invitations/tests/tests.py', 'description': 'DOCSTRING', 'base_classes': ['TestCase'], 'meth...
0
{'name': 'TCNModel.__init__@dts/models/TCN.py', 'description': ':param layers: int\n Number of layers for the network\n:param filters: int\n the dimensionality of the output space\n (i.e. the number of output filters in the convolution).\n:param kernel_size: int or tuple\n the length of the 1D convolution w...
0
{'name': 'CScript.GetSigOpCount@qa/rpc-tests/test_framework/script.py', 'description': 'Get the SigOp count.\n\nfAccurate - Accurately count CHECKMULTISIG, see BIP16 for details.\n\nNote that this is consensus-critical.', 'signature': 'def GetSigOpCount(self, fAccurate):'}</s>OP_TRUE = OP_1
0
{'name': 'sniffPossibleFeed@src/feedvalidator/__init__.py', 'description': 'Use wild heuristics to detect something that might be intended as a feed.', 'signature': 'def sniffPossibleFeed(rawdata):'}</s>{'name': 'NonSpecificMediaType@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['Warning']...
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': 'next_tzolkin_haab@src/convertdate/mayan.py', 'description': "For a given haab-tzolk'in combination, and a Julian day count, find the next occurrance of the combination after the date", 'signature': 'def next_tzolkin_haab(tzolkin, haab, jd):'}</s>HAVE_30_DAYS = (4, 6, 9, 11)
0
{'name': 'Retry.__call__@stream/clients/python/bookkeeper/common/retry.py', 'description': 'Wrap a callable with retry behavior.\nArgs:\n func (Callable): The callable to add retry behavior to.\n on_error (Callable): A function to call while processing a\n retryable exception. Any error raised by this fun...
0
{'name': 'rel_err@oggm/utils/_funcs.py', 'description': 'Relative error. Ref should be non-zero', 'signature': 'def rel_err(ref, data):'}</s>{'name': 'initialize_minimal@oggm/cfg.py', 'description': 'Same as initialise() but without requiring any download of data.\n\nThis is useful for "flowline only" OGGM applications...
0
{'name': 'textureAsContentTexture@ValveFileSystem/valve.py', 'description': 'returns a resolved content texture filepath for some sort of texture path. it looks for psd\nfirst, and then for tga. if neither are found None is returned', 'signature': 'def textureAsContentTexture(texturePath):'}</s>{'name': 'iterGameDire...
0
{'name': 'is_arch_supported@python/taichi/lang/misc.py', 'description': 'Checks whether an arch is supported on the machine.\n\nArgs:\n arch (taichi_python.Arch): Specified arch.\n\nReturns:\n bool: Whether `arch` is supported on the machine.', 'signature': 'def is_arch_supported(arch):'}</s>{'name': 'get_host_ar...
0
{'name': 'HTTPConnectionPool._get_conn@Retired Content/MimeCast/SumoLogic-Mimecast-Data-Collection/requests/packages/urllib3/connectionpool.py', 'description': 'Get a connection. Will return a pooled connection if one is available.\n\nIf no connections are available and :prop:`.block` is ``False``, then a\nfresh connec...
0
{'name': 'check_multiple_rvt_shift_opts@src/python_scripts/afnipy/lib_physio_opts.py', 'description': "Can only use at most one '-rvt_shift*' opt. Simplest to check for\nthat at one time.\n\nParameters\n----------\nargs_dict : dict\n The dictionary of arguments and option values.\n\nReturns\n-------\nis_bad : int\n...
0
{'name': 'CorpusMixin.add_file@montreal_forced_aligner/corpus/base.py', 'description': 'Add a file to the corpus\n\nParameters\n----------\nfile: :class:`~montreal_forced_aligner.corpus.classes.FileData`\n File to be added', 'signature': 'def add_file(self, file: FileData, session: Session = None):'}</s>SpeakerOrder...
1
{'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>OP_NUMEQUAL = CScriptOp(0x9c)
0
{'name': 'PathCompositionInterface.__init__@furl/furl.py', 'description': 'Params:\n force_absolute: See Path._force_absolute.\n\nAssignments to <self> in __init__() must be added to\n__setattr__() below.', 'signature': 'def __init__(self, strict=False):'}</s>{'name': 'utf8@furl/furl.py', 'description': 'DOCSTRING', '...
0
{'name': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>{'name': 'is_IP6addr@pf/_utils.py', 'description': 'Return True if addr is a valid IPv6 address', 'code': 'def is_IP6addr(addr):\n """Return True if addr is a vali...
0
{'name': 'use_setuptools@ez_setup.py', 'description': 'Ensure that a setuptools version is installed.\n\nReturn None. Raise SystemExit if the requested version\nor later cannot be installed.', 'signature': 'def use_setuptools('}</s>{'name': '_parse_args@ez_setup.py', 'description': 'Parse the command line for options.'...
0
{'name': '_analyze_directory_for_import@signac/import_export.py', 'description': 'Prepare the data space located at the root directory for import into project.\n\nParameters\n----------\nroot : str\n Path of the root directory.\nproject : :class:`~signac.Project`\n The signac project.\nschema : str, callable, or ...
1
{'name': 'projection@polytope/polytope.py', 'description': 'Projects a polytope onto lower dimensions.\n\nAvailable solvers are:\n\n - "esp": Equality Set Projection;\n - "exthull": vertex projection;\n - "fm": Fourier-Motzkin projection;\n - "iterhull": iterative hull method.\n\nExample:\nTo project the polytope `...
0
{'name': 'AGraph.layout@pygraphviz/agraph.py', 'description': 'Assign positions to nodes in graph.\n\n.. caution:: EXPERIMENTAL\n\nThis version of the layout command uses libgvc for layout instead\nof command line GraphViz tools like in versions <1.6 and the default.\n\nOptional prog=[\'neato\'|\'dot\'|\'twopi\'|\'circ...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQ_SSL_CIPHER_SUITE_LENGTH = 32
0
{'name': 'decode_string@integration/test_script.py', 'description': 'Decodes bytes to string from inferring encoding.', 'signature': 'def decode_string(encoded: bytes) -> str:'}</s>{'name': 'ignore_lines@integration/test_script.py', 'description': 'Removes curl debug logs from text and returns the new text.', 'code': '...
0
{'name': 'SensorHandler.process_group_event@custom_components/alarmo/sensors.py', 'description': 'check if sensor entity is member of a group and compare with previous events to evaluate trigger', 'signature': 'def process_group_event(self, entity: str, state: str) -> dict:'}</s>EVENT_ACTION_DISARM = "ALARMO_DISARM"
0
{'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': 'record@src/doitlive/cli.py', 'description': 'Record a session file. If no argument is passed, commands are written to\n./session.sh.\n\nWhen you are finished recording, run the "stop" command.', 'signature': 'def record(session_file, shell, prompt, alias, envvar):'}</s>ENVVAR_OPTION = click.option( "--env...
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': 'SegWitTest.test_witness_sigops@test/functional/p2p_segwit.py', 'description': 'Ensure sigop counting is correct inside witnesses.', 'signature': 'def test_witness_sigops(self):'}</s>{'name': 'PortSeed@test/functional/test_framework/util.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': []}
0
{'name': 'make_combined_mosaics@grizli/pipeline/auto_script.py', 'description': 'Drizzle combined mosaics\n\nmosaic_driz_cr_type : int\n (mosaic_driz_cr_type & 1) : flag CRs on all IR combined\n (mosaic_driz_cr_type & 2) : flag CRs on IR filter combinations\n (mosaic_driz_cr_type & 4) : flag CRs on all OPT com...
0
{'name': 'SetValuesTestCase.test@llvm-project/lldb/test/API/lang/c/set_values/TestSetValues.py', 'description': 'Test settings and readings of program variables.', 'signature': 'def test(self):'}</s>{'name': 'run_break_set_by_file_and_line@llvm-project/lldb/packages/Python/lldbsuite/test/lldbutil.py', 'description': "S...
1
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIACF_Q_HANDLE = 1104
0
{'name': 'Logger.level_matches@bootstrap.py', 'description': '>>> l = Logger([])\n>>> l.level_matches(3, 4)\nFalse\n>>> l.level_matches(3, 2)\nTrue\n>>> l.level_matches(slice(None, 3), 3)\nFalse\n>>> l.level_matches(slice(None, 3), 2)\nTrue\n>>> l.level_matches(slice(1, 3), 1)\nTrue\n>>> l.level_matches(slice(2, 3), 1)...
0
{'name': 'simxGetVisionSensorImage@7_Demo_youBotPickAndPlace/code/vrep/VREP_RemoteAPIs/sim.py', 'description': 'Please have a look at the function description/documentation in the CoppeliaSim user manual', 'signature': 'def simxGetVisionSensorImage(clientID, sensorHandle, options, operationMode):'}</s>sim_simulation_ad...
0
{'name': '_get_args_for_wrapping@src/makefun/main.py', 'description': 'Internal method used by @wraps and create_wrapper\n\n:param wrapped:\n:param new_sig:\n:param remove_args:\n:param prepend_args:\n:param append_args:\n:param func_name:\n:param doc:\n:param qualname:\n:param co_name:\n:param module_name:\n:param att...
0
{'name': 'TileCreator.initDataAugmentation@tensorflow/tools/tilecreator.py', 'description': 'set up data augmentation\nrot: 1: 90 degree rotations; 2: full rotation; else: nop rotation\nScale: if both 1 disable scaling', 'signature': 'def initDataAugmentation(self, rot=2, minScale=0.85, maxScale=1.15 ,flip=True):'}</s>...
0
{'name': 'test_eigen_return_references@bindings/python/ext/pybind11/tests/test_eigen_matrix.py', 'description': 'Tests various ways of returning references and non-referencing copies', 'signature': 'def test_eigen_return_references():'}</s>m = pytest.importorskip("pybind11_tests.eigen_matrix")
1
{'name': 'extract_from_coords@grizli/aws/sky_wfss.py', 'description': ' ', 'signature': "def extract_from_coords(ra=189.0706488, dec=62.2089502, grisms=['F356W-GRISMR','F410M-GRISMR','F444W-GRISMR'], size=48, grp=None, clean=False, get_cutout=True, cutout_filter='F444W-CLEAR', prefix='gdn-grism', verbose=True, mb_kw...
0
{'name': 'FletcherBaseArray._np_ufunc_op@fletcher/base.py', 'description': 'Apply a NumPy ufunc on the instance and any other object.', 'signature': 'def _np_ufunc_op(self, op: Callable, other):'}</s>min_op = partial(np_reduce_op, np.amin)
0
{'name': 'loadPlugins@packstack/installer/run_setup.py', 'description': 'Load All plugins from ./plugins', 'signature': 'def loadPlugins():'}</s>ERR_EXP_VALIDATE_PARAM = "Error validating parameter %s from user."
0
{'name': '_drop_channels_func@mne_bids_pipeline/_import_data.py', 'description': 'Drop channels from the data.\n\nModifies ``raw`` in-place.', 'signature': 'def _drop_channels_func('}</s>PathLike = str | pathlib.Path
0
{'name': 'make_app@cesium_app/app_server.py', 'description': "Create and return a `tornado.web.Application` object with specified\nhandlers and settings.\n\nParameters\n----------\ncfg : Config\n Loaded configuration. Can be specified with '--config'\n (multiple uses allowed).\nbaselayer_handlers : list\n Tor...
0
{'name': 'Viewer.initialize@robopianist/viewer/viewer.py', 'description': 'Initialize the viewer.\n\nArgs:\n physics: Physics instance.\n renderer_instance: A renderer.Base instance.\n touchpad: A boolean, use input dedicated to touchpad.', 'signature': 'def initialize(self, physics, renderer_instance, touchpad):'}<...
0
{'name': 'Client.send_command@iredis/client.py', 'description': 'Send raw_command to redis-server, return parsed response.\n\n:param raw_command: text raw_command, not parsed\n:param completer: RedisGrammarCompleter will update completer\n based on redis response. eg: update key completer after ``keys``\n raw_com...
1
{'name': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>ICMP_UNREACH_HOST_UNKNOWN = 7
0
{'name': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>ICMP6_DST_UNREACH_NOTNEIGHBOR = 2
0
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>MESH_FLAGS_CONTOUR = 4
0
{'name': 'RPCBindTest.run_bind_test@qa/rpc-tests/rpcbind_test.py', 'description': 'Start a node with requested rpcallowip and rpcbind parameters,\nthen try to connect, and check if the set of bound addresses\nmatches the expected set.', 'signature': 'def run_bind_test(self, allow_ips, connect_to, addresses, expected):'...
0
{'name': 'authenticate@src/server/server.py', 'description': 'Sends a 401 response that enables basic auth.', 'signature': 'def authenticate():'}</s>{'name': 'on_backup_database@src/server/server.py', 'description': 'Backup database.', 'code': "def on_backup_database(*args):\n '''Backup database.'''\n bkp_name = ...
0
{'name': 'download_official_website_layout@vulfocus-api/layout_image/views.py', 'description': '下载官网编排场景(社区)', 'signature': 'def download_official_website_layout(request):'}</s>{'name': 'create_share_image_task@vulfocus-api/tasks/tasks.py', 'description': '创建共享镜像任务\n:param image_info: 镜像信息\n:param user_info: 用户信息\n:ret...
0
{'name': 'imfilter2D_FrequencyDomain@training_codes/utils/utils_model.py', 'description': 'If the input and the kernel are both multichannel tensors then each\nchannel of the input is filtered by the corresponding channel of the \nkernel.Otherwise, if kernel has a single channel each channel of the input\nis filtered b...
0
{'name': 'DNSIncoming.readQuestions@stino/pyarduino/base/zeroconf.py', 'description': 'Reads questions section of packet', 'signature': 'def readQuestions(self):'}</s>_TYPE_MB = 7
0
{'name': 'Bottle.route@src/back/kite/bottle.py', 'description': "A decorator to bind a function to a request URL. Example::\n\n @app.route('/hello/:name')\n def hello(name):\n return 'Hello %s' % name\n\nThe ``:name`` part is a wildcard. See :class:`Router` for syntax\ndetails.\n\n:param path: Request path...
0
{'name': 'convert_entries@code/html/generate_static_website.py', 'description': ':param entries:\n:param inspirations:\n:param developers:\n:return:', 'signature': 'def convert_entries(entries, inspirations, developers):'}</s>{'name': 'load_properties@code/utils/utils.py', 'description': 'Read the file as a properties ...
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': 'TrueCheck@oslo_policy/_checks.py', 'description': 'A policy check that always retu...
1
{'name': 'suggest_attribute_alternative@didyoumean/didyoumean_internal.py', 'description': 'Suggest alternative to the non-found attribute.', 'signature': 'def suggest_attribute_alternative(attribute, type_str, attributes):'}</s>{'name': 'suggest_attribute_synonyms@didyoumean/didyoumean_internal.py', 'description': "Su...
1
{'name': 'lift_blocks@maf/impl/naiveLiftUp.py', 'description': 'Lift the given blocks file to a new reference using the given pairwise alignments file.\n\nThe pairwise alignments must point from the old reference to the new.', 'signature': 'def lift_blocks(alignments, blocks, other_genome, output):'}</s>{'name': 'Lifte...
0
{'name': 'SchemaClass.getHighestType@redfish_service_validator/catalog.py', 'description': "Get Highest possible version for given type.\n\n:param acquiredtype: Type available\n:param limit: Version string limit (full namespace or just version 'v1_x_x')", 'signature': 'def getHighestType(self, my_full_type, limit=None)...
0
{'name': '_get_velocity_per_item@workshops/pre_POC_workshop/local_util/analysis.py', 'description': 'Calculate velocity as target_demand per time unit per time series\nInputs: pandas dataframe with columns: timestamp, target_value, item_id, location_id (optional)\nOutputs: pandas dataframe with extra "velocity" column'...
0
{'name': 'authenticate@src/server/server.py', 'description': 'Sends a 401 response that enables basic auth.', 'signature': 'def authenticate():'}</s>{'name': 'render_viewDocs@src/server/server.py', 'description': 'Route to doc viewer.', 'code': 'def render_viewDocs():\n \'\'\'Route to doc viewer.\'\'\'\n folderBa...
0
{'name': 'PlotModel.__init__@openmc_plotter/plotmodel.py', 'description': 'Initialize PlotModel class attributes ', 'signature': 'def __init__(self, use_settings_pkl, model_path, default_res):'}</s>_VOID_REGION = -1
0
{'name': 'rdf_type_candidates@utils/query_graph_to_sparql.py', 'description': ' Takes in path ID (continous IDs, not glove vocab).\n And return type candidates (in continous IDs)\n based on whether we want URI or X candidates\n:param data:\n:param path_id:\n:param relations:\n:param reverse_vocab:\n:param ...
0
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>ICMP_IREQREPLY = 16
0
{'name': 'TestRemoveDeclaration.testNotRemoved@src/tests/testXmlEncodingDecode.py', 'description': "Make sure that invalid, or missing, declarations aren't affected.", 'signature': 'def testNotRemoved(self):'}</s>{'name': 'InvalidMediaRating@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['E...
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': 'train@dpipe/train/base.py', 'description': 'Performs a series of train and validation steps.\n\nParameters\n----------\ntrain_step: Callable\n a function to perform train step.\nbatch_iter: Callable\n batch iterator.\nn_epochs: int\n maximal number of training epochs\nlogger: Logger, None, optional\n...
1
{'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': 'build_recipes@bioconda_utils/build.py', 'description': 'Build one or many bioconda packages.\n\nArguments:\n recipe_folder: Directory containing possibly many, and possibly nested, recipes.\n config_path: Path to config file\n packages: Glob indicating which packages should be considered. Note that package...
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': 'GeneratedProtocolMessageType.__init__@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': "Here we perform the majority of our work on the class.\nWe add enum getters, an __init__ method, implementations\nof all Message methods, and properties for all field...
0
{'name': 'read_i16@robust_serial/robust_serial.py', 'description': ':param f: file handler or serial file\n:return: (int16_t)', 'signature': 'def read_i16(f: BinaryIO) -> Order:'}</s>{'name': 'read_i8@robust_serial/robust_serial.py', 'description': ':param f: file handler or serial file\n:return: (int8_t)', 'code': 'de...
0
{'name': 'summarize@summarization/summarizer.py', 'description': 'Returns a summarized version of the given text using a variation of\nthe TextRank algorithm.\nThe input must be longer than INPUT_MIN_LENGTH sentences for the\nsummary to make sense and must be given as a string.\n\nThe output summary will consist of the...
0
{'name': 'MACAddr.decode@aioblescan/aioblescan.py', 'description': 'Decode the MAC address from a byte array.\n\nThis will take the first 6 bytes from data and transform them into a MAC address\nstring representation. This will be assigned to the attribute "val". It then returns\nthe data stream minus the bytes consume...
0
{'name': 'import_da@da/api.py', 'description': '**DEPRECATED***\n\nImports DistAlgo module \'module\', returns the module object.\n\nThis function mimics the Python builtin __import__() function for DistAlgo\nmodules. \'name\' is the name of the module to be imported, in\n"dotted module name" format. The module must be...
0
{'name': 'build_script_generator@tools/ipp_custom_library_tool_python/tool/generators.py', 'description': 'Generates script for building custom dynamic library\n:return: String that represents script', 'signature': 'def build_script_generator():'}</s>RENAME_HEADER_NAME = "rename.h"
0
{'name': 'paint_one@graphics/learn_to_paint/painter_fun.py', 'description': ':param img:\n:param canvas:\n:param x:\n:param y:\n:param angle:\n:param radius:\n:param magnitude:\n:param brush:\n:param check_error:\n:param useoil:\n:param color_neighbor_size:\n:return:', 'signature': 'def paint_one(img, canvas, distance_...
0
{'name': 'process_query@da/compiler/incgen.py', 'description': "Generates stub and hook for 'query'.", 'signature': 'def process_query(query, state):'}</s>{'name': 'LambdaExpr@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['Expression', 'ArgumentsContainer'], 'methods': [{'name': 'LambdaExpr.__init_...
0
{'name': 'test_image_upgrade_01150@tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_upgrade.py', 'description': '### Classes and Methods\n\n- ``ImageUpgrade``\n - ``_build_payload``\n - ``commit``\n\n### Test\n\nInvalid value for ``options.package.install``.\n\n### Setup\n\n- ``devices`` is s...
0
{'name': 'MetricList.get_sql_and_with_clause@metrics.py', 'description': "Gets the SQL query and WITH clause.\n\nThe query is constructed by\n1. Get the query for every children metric.\n2. If all children queries are compatible, we just collect all the columns\n from the children and use the WHERE and GROUP BY clause...
0
{'name': 'normalize_answer@third_party/evaluate_mlqa.py', 'description': 'Lower text and remove punctuation, articles and extra whitespace.', 'signature': 'def normalize_answer(s, lang):'}</s>{'name': 'evaluate@third_party/evaluate_mlqa.py', 'description': 'DOCSTRING', 'code': "def evaluate(dataset, predictions, lang):...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQITS_IN_CONVERSATION = b'C'
0
{'name': 'ProcessFileData@tools/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 representing a li...
0
{'name': 'SyntaxErrorTests.test_nonlocal3@didyoumean/didyoumean_sugg_tests.py', 'description': 'nonlocal must be used only when binding to non-global exists.', 'signature': 'def test_nonlocal3(self):'}</s>MAXRECURDEPTH = (RuntimeError, re.MAX_RECURSION_DEPTH_RE)
0
{'name': 'LinearExpression.__repr__@linopy/expressions.py', 'description': 'Print the expression arrays.', 'signature': 'def __repr__(self) -> str:'}</s>FACTOR_DIM = "_factor"
0
{'name': 'DarwinLogEventBasedTestBase.do_test@lldb/packages/Python/lldbsuite/test/darwin_log.py', 'description': 'Runs the test inferior, returning collected events.\n\nThis method runs the test inferior to the first breakpoint hit.\nIt then adds a listener for structured data events, and collects\nall events from that...
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': 'AutoModelForSequenceClassification.from_pretrained@baselines/models_pytorch/classifier_pytorch/transformers/modeling_auto.py', 'description': "Instantiates one of the sequence classification model classes of the library\nfrom a pre-trained model configuration.\n\nThe `from_pretrained()` method takes care of r...
0
{'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': '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': '_get_default_test_loop_scope@pytest_asyncio/plugin.py', 'description': 'DOCSTRING', 'code': 'def _get_default_test_loop_scope(co...
0
{'name': '__reassign_times@librosa/core/spectrum.py', 'description': 'Time reassignments based on a spectrogram representation.\n\nThe reassignment vector is calculated using equation 5.23 in Flandrin,\nAuger, & Chassande-Mottin 2002::\n\n t_reassigned = t + np.real(S_th/S_h)\n\nwhere ``S_h`` is the complex STFT cal...
1
{'name': 'MessageSetItemDecoder@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/decoder.py', 'description': 'Returns a decoder for a MessageSet item.\n\nThe parameter is the message Descriptor.\n\nThe message set message looks like this:\n message MessageSet {\n repeated group Item = 1 {\n ...
0
{'name': 'model_directory@httpstan/cache.py', 'description': "Get the path to a model's directory. Directory may not exist.", 'signature': 'def model_directory(model_name: str) -> Path:'}</s>{'name': 'delete_fit@httpstan/cache.py', 'description': 'Delete Stan fit from the filesystem-based cache.\n\nArguments:\n name...
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': 'test_image_validate_00920@tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_validate.py', 'description': '### Classes and Methods\n- ``ImageValidate``\n ` ``commit``\n\n### Summary\nVerify that commit() sets result, response, and response_data\nappropriately when serial_numbers is empty.\n\n###...
0
{'name': 'get_network_fn@nets/nets_factory.py', 'description': 'Returns a network_fn such as `logits, end_points = network_fn(images)`.\n\nArgs:\n name: The name of the network.\n num_classes: The number of classes to use for classification.\n weight_decay: The l2 coefficient for the model weights.\n is_training: `...
0
{'name': 'View.scale_contrast@picasso/gui/render.py', 'description': 'Scales image based on contrast values from Display Settings\nDialog.\n\nParameters\n----------\nimage : np.array or list of np.arrays\n Array with rendered locs (grayscale)\nautoscale : boolean (default=False)\n If True, finds optimal contrast\...
0
{'name': 'GDAL2Tiles.open_input@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'Initialization of the input raster, reprojection if necessary', 'signature': 'def open_input(self) -> None:'}</s>{'name': 'get_tile_swne@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'DOCSTRING', 'code': '...
0
{'name': 'IUCoordinator.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data for the system', 'signature': 'def load(self, config: OrderedDict) -> "IUCoordinator":'}</s>ATTR_BASE_DURATION = "base_duration"
0
{'name': 'main@util/locale_database/qlocalexml2cpp.py', 'description': "Updates QLocale's CLDR data from a QLocaleXML file.\n\nTakes sys.argv, sys.stdout, sys.stderr (or equivalents) as\narguments. In argv[1:] it expects the QLocaleXML file as first\nparameter and the ISO 639-3 data table as second\nparameter. Accepts ...
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