text
string
label
int64
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>ICMP_IPV6_IAMHERE = 34
0
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24...
0
{'name': 'TarInfo.frombuf@venv/Lib/site-packages/pip/_vendor/distlib/_backport/tarfile.py', 'description': 'Construct a TarInfo object from a 512 byte bytes object.\n ', 'signature': 'def frombuf(cls, buf, encoding, errors):'}</s>{'name': 'copyfileobj@venv/Lib/site-packages/pip/_vendor/distlib/_backport/tarfile....
0
{'name': '_create_dash_manifest@python/src/drm_content_protection_with_speke.py', 'description': 'Creates a DASH manifest that includes all representations configured in the encoding.\n\n<p>API endpoint:\nhttps://bitmovin.com/docs/encoding/api-reference/sections/manifests#/Encoding/PostEncodingManifestsDash\n\n@param e...
0
{'name': 'answer_question@onefile.py', 'description': 'Uses everything to do everyhing for one data instance (one question, subgraph etc).', 'signature': 'def answer_question(qa, index, data, relations, parameter_dict):'}</s>{'name': 'load@utils/embeddings_interface.py', 'description': 'DOCSTRING', 'code': "def load(_e...
0
{'name': 'run_segment_jit_in_chunks_notraceable@python/jax/carfac.py', 'description': "Runs the jitted segment runner in segment groups.\n\nRunning CARFAC on an audio segment this way is most useful when running\nCARFAC-JAX on a number of audio segments that have varying lengths. The\nimplementation is completed by exe...
0
{'name': 'PBES2.decrypt@blockchain-env/lib/python3.7/site-packages/Cryptodome/IO/_PBES.py', 'description': 'Decrypt a piece of data using a passphrase and *PBES2*.\n\nThe algorithm to use is automatically detected.\n\n:Parameters:\n data : byte string\n The piece of data to decrypt.\n passphrase : byte string\n ...
0
{'name': 'Application._load_environment@robopianist/viewer/application.py', 'description': 'Loads a new environment.', 'signature': 'def _load_environment(self, zoom_to_scene):'}</s>_STATUS_LABEL = "Status"
0
{'name': 'taproot_construct@test/functional/test_framework/script.py', 'description': 'Construct a tree of Taproot spending conditions\n\npubkey: a 32-byte xonly pubkey for the internal pubkey (bytes)\nscripts: a list of items; each item is either:\n - a (name, CScript or bytes, leaf version) tuple\n - ...
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': 'detach@aegea/ebs.py', 'description': 'Detach an EBS volume from an EC2 instance.\n\nIf *volume_id* does not start with "vol-", it is interpreted as a mountpoint on the local instance,\nmapped to its underlying EBS volume, unmounted and detached.', 'signature': 'def detach(args):'}</s>{'name': 'tabulate@aegea/...
0
{'name': 'IUSequence.zone_duration@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the duration for the specified zone including adjustments\nand constraints', 'signature': 'def zone_duration('}</s>CONF_END = "end"
0
{'name': 'all_@tasks/format.py', 'description': 'Run all formatters', 'signature': 'def all_(ctx):'}</s>__all__ = ["by_name", "execute", "exists", "new_context"]
0
{'name': 'test_aspls_overflow@tests/test_weighting.py', 'description': 'Ensures exponential overflow does not occur from aspls weighting.', 'signature': 'def test_aspls_overflow(one_d, asymmetric_coef):'}</s>{'name': 'test_psalsa_overflow@tests/test_weighting.py', 'description': 'Ensures exponential overflow does not o...
0
{'name': 'from_array@tools/gfx/png.py', 'description': "Create a PNG :class:`Image` object from a 2- or 3-dimensional\narray. One application of this function is easy PIL-style saving:\n``png.from_array(pixels, 'L').save('foo.png')``.\n\nUnless they are specified using the *info* parameter, the PNG's\nheight and width...
0
{'name': 'RemoveStackTraceDetails@third_party/libassimp/contrib/gtest/test/gtest_output_test.py', 'description': "Removes all stack traces from a Google Test program's output.", 'signature': 'def RemoveStackTraceDetails(output):'}</s>test_list = GetShellCommandOutput(COMMAND_LIST_TESTS)
0
{'name': 'get_box_spilt@apphelper/image.py', 'description': 'isRoate:是否旋转box', 'signature': 'def get_box_spilt(boxes,im,sizeW,SizeH,splitW=8,isRoate=False,rorateDegree=0):'}</s>{'name': 'box_rotate@apphelper/image.py', 'description': '对坐标进行旋转 逆时针方向 0\\90\x0180¸,', 'code': 'def box_rotate(box,angle=0,imgH=0,imgW=0):\n ...
0
{'name': 'createNatProperty@src/python/Optizelle/Properties.py', 'description': 'Create a natural number property', 'signature': 'def createNatProperty(name,desc):'}</s>{'name': 'checkEuclidean@src/python/Optizelle/Properties.py', 'description': 'Check that we have a valid Euclidean-Jordan algebra', 'code': 'def checkE...
0
{'name': 'init_pairing_fock@doc/LectureNotes/_build/jupyter_execute/cc.py', 'description': 'initializes the Fock matrix of the pairing model\n\nparam delta: Single-particle spacing, as in Eq. (8.41)\nparam g: pairing strength, as in eq. (8.42)\nparam pnum: number of particle states\nparam hnum: number of hole states\n\...
0
{'name': 'get_precision@pyrgg/functions.py', 'description': 'Return precision of input number.\n\n:param input_number: input number\n:type input_number: float\n:return: precision as int', 'signature': 'def get_precision(input_number):'}</s>{'name': 'handle_str_to_bool@pyrgg/functions.py', 'description': 'Convert 0/1 st...
0
{'name': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>PF_POOL_LEASTSTATES = 5
0
{'name': 'PumpEvents@comtypes/client/_events.py', 'description': "This following code waits for 'timeout' seconds in the way\nrequired for COM, internally doing the correct things depending\non the COM appartment of the current thread. It is possible to\nterminate the message loop by pressing CTRL+C, which will raise\...
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>MQOO_READ_AHEAD = 1048576
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': 'ParseNolintSuppressions@ament_cpplint/ament_cpplint/cpplint.py',...
0
{'name': 'Data.__init__@verif/data.py', 'description': "Arguments:\ninputs A list of verif.input\ntimes A numpy array of times. Discard data for all other times\ndates A numpy array of dates. Only allow times that occur on\n these dates (but alllow any hour of the day).\ntods ...
0
{'name': 'SimModelTestCase.test_set_sim_model_batch@tests/test_model_spearman.py', 'description': '测试test_set_sim_model_batch', 'signature': 'def test_set_sim_model_batch(self):'}</s>{'name': 'SimilarityType@text2vec/similarity.py', 'description': 'DOCSTRING', 'base_classes': ['Enum'], 'methods': []}
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': 'TestAdminTreeList.test_result_tree_list_escapes_labels@treebeard/tests/test_treebeard.py', 'description': 'Verifies that inclusion tag result_list generates a table when with\ndefault ModelAdmin settings.', 'signature': 'def test_result_tree_list_escapes_labels(self, model_with_unicode):'}</s>{'name': 'int2st...
0
{'name': 'BPF._sym_cache@src/python/bcc/__init__.py', 'description': '_sym_cache(pid)\n\nReturns a symbol cache for the specified PID.\nThe kernel symbol cache is accessed by providing any PID less than zero.', 'signature': 'def _sym_cache(pid):'}</s>DEBUG_BPF_REGISTER_STATE = 16
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': 'condition@altair/vegalite/v3/api.py', 'description': 'A conditional attribute or encoding\n\nParameters\n----------\npredicate: Selection, LogicalOperandPredicate, expr.Expression, dict, or string\n the selection predicate or test predicate for the condition.\n if a string is passed, it will be treated ...
0
{'name': 'Utils.update_screen@util/utils.py', 'description': 'Uses ADB to pull a screenshot of the device and then read it via CV2\nand then stores the images in grayscale and color to screen and color_screen, respectively.\n\nReturns:\n image: A CV2 image object containing the current device screen.', 'signature': ...
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': 'IUClock.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data', 'signature': 'def load(self, config: OrderedDict) -> "IUClock":'}</s>TIMELINE_ADJUSTMENT = "adjustment"
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>MQOO_BIND_ON_OPEN = 16384
0
{'name': 'multi_class_non_max_suppression@models/SlowFast/slowfast/utils/ava_evaluation/np_box_mask_list_ops.py', 'description': "Multi-class version of non maximum suppression.\n\nThis op greedily selects a subset of detection bounding boxes, pruning\naway boxes that have high IOU (intersection over union) overlap (> ...
0
{'name': 'Router.add@src/back/kite/bottle.py', 'description': 'Add a new rule or replace the target for an existing rule. ', 'signature': 'def add(self, rule, method, target, name=None):'}</s>{'name': 'tob@src/back/kite/bottle.py', 'description': 'DOCSTRING', 'code': "def tob(s, enc='utf8'):\n return s.encode(enc) i...
0
{'name': 'replace_string@yaql/standard_library/regex.py', 'description': ':yaql:replace\n\nReturns the string obtained by replacing the leftmost non-overlapping\nmatches of regexp in string by the replacement repl, where the latter is\nonly string-type.\n\n:signature: string.replace(regexp, repl, count => 0)\n:receiver...
0
{'name': 'checkMediaPaths@source/pi-timolo.py', 'description': 'Checks for image folders and\ncreate them if they do not already exist.', 'signature': 'def checkMediaPaths():'}</s>{'name': 'shut2sec@source/pi-timolo.py', 'description': 'Convert camera shutter speed setting to string', 'code': 'def shut2sec(shutspeed):\...
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': 'create_dataset_pairwise@data_loader.py', 'description': ' This file is meant to create data for core-chain ranking ONLY.\n\n:param file: id_big_data file\n:param max_sequence_length: for padding/cropping\n:param relations: the relations file to backtrack and look up shit.\n:return:\n\nschema decides the ki...
0
{'name': 'create_config@python-build-with-qt/PyQt-x11-gpl-4.8/configure.py', 'description': 'Create the PyQt configuration module so that it can be imported by build\nscripts.\n\nmodule is the module file name.\ntemplate is the template file name.\nmacros is the dictionary of platform specific build macros.', 'signatur...
1
{'name': 'template@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Get a rendered template as a string iterator.\nYou can use a name, a filename or a template string as first parameter.\nTemplate rendering arguments can be passed as dictionaries\nor directly (as keyword arguments).', 'signature': 'def ...
0
{'name': 'test_factory_import_directory_correct_arguments@elpis/transformer/test_transformer.py', 'description': 'Test if the import_directory decorator raises an error when the arguments of\nthe decorated function are not correct.', 'signature': 'def test_factory_import_directory_correct_arguments(tdtaf):'}</s>{'name'...
0
{'name': 'RuntimeAPI.do_show_tables@tools/runtime_CLI.py', 'description': 'List tables defined in the P4 program: show_tables', 'signature': 'def do_show_tables(self, line):'}</s>{'name': 'enum@tools/runtime_CLI.py', 'description': 'DOCSTRING', 'code': "def enum(type_name, *sequential, **named):\n enums = dict(list(...
0
{'name': 'Connection.our_state@h11/_connection.py', 'description': 'The current state of whichever role we are playing. See\n:ref:`state-machine` for details.', 'signature': 'def our_state(self) -> Type[Sentinel]:'}</s>{'name': 'set_comma_header@h11/_headers.py', 'description': 'DOCSTRING', 'code': "def set_comma_heade...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQWQR1_CURRENT_LENGTH = 200
0
{'name': 'dictOf@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper to easily and clearly define a dictionary by specifying the respective patterns\nfor the key and value. Takes care of defining the C{L{Dict}}, C{L{ZeroOrMore}}, and C{L{Group}} tokens\nin the proper order. The key pattern ...
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': 'PretfCommand@pretf/pretf/command.py', 'description': 'DOCSTRING', 'base_classes': ['TerraformCommand'], 'methods': [{'name': 'Pr...
0
{'name': 'BinaryNinjaBasicBlockCoverage._get_disassembly_info@s2e_env/commands/code_coverage/binaryninja_basic_block.py', 'description': 'Extract disassembly information from the target binary using Binary\nNinja.', 'signature': 'def _get_disassembly_info(self, module_path):'}</s>{'name': 'BinaryNinjaBasicBlockCoverage...
1
{'name': 'FlipTest.test_falling_block_short@tests/commit/physics/test_flip.py', 'description': 'Tests if a block of liquid has a constant shape during free fall for 4 steps. ', 'signature': 'def test_falling_block_short(self):'}</s>{'name': 'distribute_points@phi/field/_point_cloud.py', 'description': 'Transforms `Geom...
1
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQZED_CURRENT_VERSION = 2
0
{'name': 'BrokerThread.stop@mqttools/broker.py', 'description': 'Stop the broker. All clients will be disconnected and the thread\nwill terminate.', 'signature': 'def stop(self):'}</s>{'name': 'is_wildcards_in_topic@mqttools/broker.py', 'description': 'DOCSTRING', 'code': "def is_wildcards_in_topic(topic):\n return ...
0
{'name': 'AutoCompleter.get_completions@autocomplete.py', 'description': 'Get all the completions related to the current file.', 'signature': 'def get_completions(self, view, locations):'}</s>{'name': 'SublimeHaskellOutputText@sublime_haskell_common.py', 'description': 'Helper command to output text to any view\nTODO: ...
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': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIA_MSG_MARK_BROWSE_INTERVAL = 68
0
{'name': 'decode_id_vectorized@teslalogs/signals.py', 'description': 'Vectorized message decoder, decodes all signals in a dbc message\n:param df: pandas DataFrame with columns like can_message namedtuple\n:param dbc: cantools Database object\n:param ID: Message arbitration_id\n:param choice: decode raw values to signa...
0
{'name': 'get_nearest_node_utm@urbansprawl/sprawl/accessibility_parallel.py', 'description': 'Return the nearest graph node to some specified point in UTM coordinates\n\nParameters\n----------\nG : networkx multidigraph\n input graph\npoint : tuple\n the (x, y) point for which we will find the nearest nod...
0
{'name': 'parse_shorts@classes/docopt.py', 'description': "shorts ::= '-' ( chars )* [ [ ' ' ] chars ] ;", 'signature': 'def parse_shorts(tokens, options):'}</s>__all__ = ['docopt']
0
{'name': 'XMLDump.finish@TDScanner/sqlmap/lib/core/xmldump.py', 'description': 'Finishes the dumper operation:\n1. Adds the session status to the xml\n2. Writes the xml to the file\n3. Closes the xml file', 'signature': 'def finish(self, resultStatus, resultMsg=""):'}</s>USERS_ELEM_NAME = "Users"
0
{'name': 'CheckLanguage@tools/cpplint.py', 'description': "Checks rules from the 'C++ language rules' section of cppguide.html.\n\nSome of these rules are hard to test (function overloading, using\nuint32 inappropriately), but we do the best we can.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A ...
0
{'name': 'test_fit_verbose_false_does_not_raise@sysidentpy/neural_network/tests/test_narxnn.py', 'description': 'Fit does not raise an error when verbose=False and validation data is missing.', 'signature': 'def test_fit_verbose_false_does_not_raise():'}</s>train_percentage = 90
0
{'name': 'parse_content_transfer_encoding_header@src/future/backports/email/_header_value_parser.py', 'description': 'mechanism\n\n ', 'signature': 'def parse_content_transfer_encoding_header(value):'}</s>{'name': 'get_group_list@src/future/backports/email/_header_value_parser.py', 'description': 'group-list = mailb...
0
{'name': 'View.pick_areas@picasso/gui/render.py', 'description': 'Finds the areas of all current picks in um^2.\n\nReturns\n-------\nareas : np.1darray\n Areas of all picks.', 'signature': 'def pick_areas(self):'}</s>{'name': 'get_index_blocks@picasso/postprocess.py', 'description': 'DOCSTRING', 'code': 'def get_ind...
0
{'name': 'fill_filter_mosaics@grizli/pipeline/auto_script.py', 'description': 'Fill field mosaics with the average value taken from other filters so that all images have the same coverage\n\nParameters\n----------\nfield_root : str', 'signature': 'def fill_filter_mosaics(field_root):'}</s>{'name': 'cheb_templates@grizl...
0
{'name': 'RadianceObj.genCumSky@bifacial_radiance/main.py', 'description': 'Generate Skydome using gencumsky. \n\n.. warning::\n gencumulativesky.exe is required to be installed,\n which is not a standard radiance distribution.\n You can find the program in the bifacial_radiance distribution directory\n in ...
0
{'name': 'LogisticRegressionGD.activation@Chapter03/ch03.py', 'description': 'Compute logistic sigmoid activation', 'signature': 'def activation(self, z):'}</s>X_combined = np.vstack((X_train, X_test))
0
{'name': 'load_tests@lang/py/avro/test/test_schema.py', 'description': 'Generate test cases across many test schema.', 'signature': 'def load_tests(loader, default_tests, pattern):'}</s>TIMEMILLIS_LOGICAL_TYPE = [ValidTestSchema({"type": "int", "logicalType": "time-millis"})]
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': 'TransfoXLCorpus.from_pretrained@source/pytorch_transformers/tokenization_transfo_xl.py', 'description': 'Instantiate a pre-processed corpus.', 'signature': 'def from_pretrained(cls, pretrained_model_name_or_path, cache_dir=None, *inputs, **kwargs):'}</s>{'name': 'get_lm_corpus@source/pytorch_transformers/toke...
0
{'name': 'geticmptypebynumber@pf/_utils.py', 'description': 'Return the ICMP type as a string.', 'signature': 'def geticmptypebynumber(type, af):'}</s>pf_if_mods = { "network": PFI_AFLAG_NETWORK, "broadcast": PFI_AFLAG_BROADCAST, "peer": PFI_AFLAG_PEER, "0": PFI_AFLAG_NOALIAS }
0
{'name': 'NormalizedConfiguration.__init__@config/parse.py', 'description': 'Normalize a JSON configuration in preparation for parsing ', 'signature': 'def __init__(self, config_file, verbose=False):'}</s>{'name': 'upper_levels_for@config/util.py', 'description': 'List all elements of the system who have the given elem...
0
{'name': 'main@vaxrank/cli.py', 'description': 'Script to generate vaccine peptide predictions from somatic cancer variants,\npatient HLA type, and tumor RNA-seq data.\n\nExample usage:\n vaxrank\n --vcf somatic.vcf --bam rnaseq.bam --vaccine-peptide-length 25 --output-csv ...
0
{'name': 'SimFinger.__set_urdf_path@python/rrc_simulation/sim_finger.py', 'description': 'Sets the paths for the URDFs to use depending upon the finger type', 'signature': 'def __set_urdf_path(self):'}</s>{'name': 'check_finger_type@python/rrc_simulation/finger_types_data.py', 'description': 'Check if a key value is a ...
0
{'name': 'should_investigate@puzzlemaker/puzzle_finder.py', 'description': "determine if the difference between scores A and B\nmakes the position worth investigating for a puzzle.\n\nA and B are normalized scores (scores from white's perspective)", 'signature': 'def should_investigate(a: Score, b: Score, board: Board)...
1
{'name': 'validate_security_groups@verify_security_groups.py', 'description': 'Validate the security groups by printing them out.\n\nArgs:\n matching_entries (List[Dict[str, Any]]): A list of dictionaries representing the matching CSV entries.\nReturns:\n List of everything we validated\nRaises:\n ...
0
{'name': 'open_rasterio@rioxarray/_io.py', 'description': 'Open a file with rasterio (experimental).\n\nThis should work with any file that rasterio can open (most often:\ngeoTIFF). The x and y coordinates are generated automatically from the\nfile\'s geoinformation and refer to the center of the pixel.\n\n.. versionad...
0
{'name': 'PFGid._str_to_num@pf/rule.py', 'description': 'Convert a string to a numeric group ID.', 'signature': 'def _str_to_num(self, s):'}</s>ICMP_PHOTURIS_AUTH_FAILED = 2
0
{'name': 'OtelSparkSubmitOperator.execute@examples/spark-opentelemetry/dag.py', 'description': 'Call the SparkSubmitHook to run the provided spark job', 'signature': 'def execute(self, context: AirflowContext):'}</s>spark_conf = { 'spark.hadoop.fs.s3a.impl': 'org.apache.hadoop.fs.s3a.S3AFileSystem', 'spark.hado...
0
{'name': 'Work.delete_bookmark@AO3/works.py', 'description': "Removes a bookmark from this work\nThis function is threadable\n\nRaises:\n utils.UnloadedError: Work isn't loaded\n utils.AuthError: Invalid session", 'signature': 'def delete_bookmark(self):'}</s>{'name': 'comment@AO3/utils.py', 'description': 'Leave...
0
{'name': 'config_file@test/conftest.py', 'description': 'Prepares Bioconda config.yaml', 'signature': 'def config_file(tmpdir: py.path.local, case):'}</s>{'name': '_filter_existing_packages@bioconda_utils/utils.py', 'description': 'DOCSTRING', 'code': "def _filter_existing_packages(metas, check_channels):\n new_meta...
0
{'name': 'IULogger.log_service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Message that we have received a service call', 'signature': 'def log_service_call('}</s>ATTR_SWITCH_ENTITIES = "switch_entity_id"
0
{'name': '_extract_addrs@cpca/__init__.py', 'description': '提取出 sentence 中的所有地址', 'signature': 'def _extract_addrs(sentence, pos_sensitive, umap, truncate_pos=True, new_entry_when_not_belong=False) -> dict:'}</s>{'name': 'MatchInfo@cpca/__init__.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': ...
0
{'name': 'engine.classical@src/bids/external/inflect.py', 'description': 'turn classical mode on and off for various categories\n\nturn on all classical modes:\nclassical()\nclassical(all=True)\n\nturn on or off specific claassical modes:\ne.g.\nclassical(herd=True)\nclassical(names=False)\n\nBy default all classical m...
0
{'name': 'ProcessLine@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a line of the fi...
0
{'name': '_dedup_chunk@pairtools/lib/dedup.py', 'description': 'Mark duplicates in a dataframe of pairs\n\nParameters\n----------\ndf : pd.DataFrame\n Dataframe with pairs, has to contain columns \'chrom1\', \'pos1\', \'chrom2\', \'pos2\'\n \'strand1\', \'strand2\'\nr : int\n Allowed distance between two pairs...
0
{'name': 'DbusMonitor.make_service@dbusmonitor.py', 'description': 'Override this to use a different kind of service object. ', 'signature': 'def make_service(serviceId, serviceName, deviceInstance):'}</s>{'name': 'print_values@dbusmonitor.py', 'description': 'DOCSTRING', 'code': 'def print_values(dbusmonitor):\n\ta = ...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQXF_AXUNREG = 35
0
{'name': 'TestDateTimeField.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': 'BooleanField@flask_mongoeng...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQEPH_NONE = 0
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': 'check_target_label@self_paced_ensemble/utils/_validation_param.py', 'description': 'check parameter `target_label`.', 'signature': 'def check_target_label(y, target_label, sampling_type):'}</s>{'name': 'check_balancing_schedule@self_paced_ensemble/utils/_validation_param.py', 'description': 'Check the `balanc...
0
{'name': 'relations_lookup@utils/data_preparation_rdf_type.py', 'description': ":param core_chain: corechain\n:return: converts core chain surface form to relations\n ['+', 'wife','of] -> ['+','http..../wifeOf']", 'signature': 'def relations_lookup(core_chain, core_chain_length):'}</s>{'name': '_init_special_cha...
0
{'name': 'terraform_backend_s3@pretf.aws/pretf/aws.py', 'description': 'This ensures that the S3 backend exists, prompting to create it if\nnecessary, sets the credentials as environment variables in some\ncases, and returns a Terraform configuration block for it.', 'signature': 'def terraform_backend_s3(bucket: str, d...
0
{'name': 'TestConfigBase.tearDown@test/test_config.py', 'description': 'Test case common fixture teardown.', 'signature': 'def tearDown(self):'}</s>DEFAULT_AARDVARK_ROLE = "Aardvark"
0
{'name': 'vqt@librosa/core/constantq.py', 'description': 'Compute the variable-Q transform of an audio signal.\n\nThis implementation is based on the recursive sub-sampling method\ndescribed by [#]_.\n\n.. [#] Schörkhuber, Christian, Anssi Klapuri, Nicki Holighaus, and Monika Dörfler.\n "A Matlab toolbox for efficie...
0
{'name': 'ShelveryEngine.delete_backup@shelvery/engine.py', 'description': 'Remove given backup from system', 'signature': 'def delete_backup(self, backup_resource: BackupResource):'}</s>LAMBDA_WAIT_ITERATION = "lambda_wait_iteration"
0
{'name': 'ListingManager._sort_tags@src/plugins/tags/structure/listing/manager/__init__.py', 'description': 'Sort tags.\n\nArguments:\n tags: The tags.\n\nReturns:\n The sorted tags.', 'signature': 'def _sort_tags('}</s>log = logging.getLogger("mkdocs.material.plugins.tags")
0
{'name': 'ModbusClient.read_discrete_inputs@pyModbusTCP/client.py', 'description': 'Modbus function READ_DISCRETE_INPUTS (0x02).\n\n:param bit_addr: bit address (0 to 65535)\n:type bit_addr: int\n:param bit_nb: number of bits to read (1 to 2000)\n:type bit_nb: int\n:returns: bits list or None if error\n:rtype: list of ...
0
{'name': 'InputsTest.test_error_with_bad_eval_model_config@object_detection/inputs_test.py', 'description': 'Tests that a TypeError is raised with improper eval model config.', 'signature': 'def test_error_with_bad_eval_model_config(self):'}</s>FLAGS = flags.FLAGS
0