text
string
label
int64
{'name': 'main@ytmdl/main.py', 'description': 'Run on program call.', 'signature': 'def main(args):'}</s>logger = Logger("Dir")
1
{'name': 'StdImageField.contribute_to_class@stdimage/models.py', 'description': 'Generate all operations on specified signals.', 'signature': 'def contribute_to_class(self, cls, name):'}</s>{'name': 'StdImageFieldFile@stdimage/models.py', 'description': 'Like ImageFieldFile but handles variations.', 'base_classes': ['I...
0
{'name': 'get_versions@versioneer.py', 'description': "Get the project version from whatever source is available.\n\nReturns dict with two keys: 'version' and 'full'.", 'signature': 'def get_versions(verbose=False):'}</s>{'name': 'register_vcs_handler@versioneer.py', 'description': 'Decorator to mark a method as the ha...
0
{'name': 'Bucket.width@src/rust/vendor/unicode-width/scripts/unicode.py', 'description': 'If all codepoints in this bucket have the same width, return that width; otherwise,\nreturn `None`.', 'signature': 'def width(self) -> CharWidthInTable | None:'}</s>{'name': 'EastAsianWidth@src/rust/vendor/unicode-width/scripts/un...
0
{'name': 'prepare_models@models/utils.py', 'description': 'Train models based on the dataset split information and save their metadata.\n\nArgs:\n log_dir (str): Path to the directory where model logs and metadata will be saved.\n dataset (torchvision.datasets): Dataset object used for training.\n data_split_i...
1
{'name': 'iou_ign@lib/core.py', 'description': "Computes the amount of overap of box_b has within box_a, which is handy for dealing with ignore regions.\nHence, assume that box_b are ignore regions and box_a are anchor boxes, then we may want to know how\nmuch overlap the anchors have inside of the ignore regions (henc...
0
{'name': 'get_operand_registers@peachpy/x86_64/operand.py', 'description': 'Returns a set of registers that comprise the operand', 'signature': 'def get_operand_registers(operand):'}</s>{'name': 'is_m128@peachpy/x86_64/operand.py', 'description': 'DOCSTRING', 'code': 'def is_m128(operand, strict=False):\n import pea...
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': 'pipe.__gt__@syntax_sugar/_pipe.py', 'description': "pipe > 'filename'", 'signature': 'def __gt__(self, rhs):'}</s>{'name': 'pipe@syntax_sugar/_pipe.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'pipe.__init__@syntax_sugar/_pipe.py', 'description': 'DOCSTRING', 'code': 'def __init__...
1
{'name': 'CheckForFunctionLengths@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Reports for long function bodies.\n\nFor an overview why this is done, see:\nhttp://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Write_Short_Functions\n\nUses a simplistic algorithm assuming other style guidelines\...
0
{'name': 'TestClassification.test_predict_on_subset_with_existing_model@tests/test_classification.py', 'description': 'Test generating predictions on subset with existing model.', 'signature': 'def test_predict_on_subset_with_existing_model(self):'}</s>{'name': 'NDJReader@skll/data/readers.py', 'description': 'Create a...
1
{'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': 'Template.compile@Cheetah/Template.py', 'description': 'The core API for compiling Cheetah source code into template classes.\n\nThis class method compiles Cheetah source code and returns a python\nclass. You then create template instances using that class. All\nCheetah\'s other compilation API\'s use this m...
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': 'toggle_fullscreen@soundrts/clientmedia.py', 'description': 'toggle full screen mode, and say it', 'signature': 'def toggle_fullscreen():'}</s>CONSUMED = [4024]
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': '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': 'on_set_race_format@src/server/server.py', 'description': 'set current race_format ', 'signature': 'def on_set_race_format(data):'}</s>{'name': 'node_crossing_callback@src/server/server.py', 'description': 'DOCSTRING', 'code': "def node_crossing_callback(node):\n RaceContext.rhui.emit_node_crossing_change(n...
0
{'name': 'imGrad@training_codes/utils/utils_model.py', 'description': 'Computes the discrete gradient of an input batch of images of size \nB x C x H x W. The output is of size B x 2*C x H x W where in the 2nd \ndimension from 0:C the gradient with respect to the y-axis of each channel\nof the image is stored, while in...
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>MOUSE_EVENT_DRAG = 11
0
{'name': 'PPOTrainer.train@ss_baselines/savi/ppo/ppo_trainer.py', 'description': 'Main method for training PPO.\n\nReturns:\n None', 'signature': 'def train(self) -> None:'}</s>{'name': 'RolloutStorage@ss_baselines/savi/models/rollout_storage.py', 'description': 'Class for storing rollout information for RL trainers...
1
{'name': 'Hero_filter@goneng.py', 'description': "根据条件筛选数据 分析chess数据然后绘制列表,注意所有的参数必须为str字符串 '0'表示不考虑这个条件\n:param chess: 字典数据\n:param price: 费用条件\n:param jobId:职业id\n:param raceId:羁绊id\n:param keyword:关键字 搜索\n:return:", 'signature': "def Hero_filter(chess, price='0', jobId='0', raceId='0', keyword=''):"}</s>{'name': 'ta...
0
{'name': 'main@goturn/train/train.py', 'description': 'TODO: Docstring for main.\n ', 'signature': 'def main(args):'}</s>ap = argparse.ArgumentParser()
0
{'name': 'CPLEX_CMD.readsol@pulp/apis/cplex_api.py', 'description': 'Read a CPLEX solution file', 'signature': 'def readsol(filename):'}</s>LpSenses = {LpMaximize: "Maximize", LpMinimize: "Minimize"}
0
{'name': 'PFAddr._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, a):'}</s>PFTM_OTHER_FIRST_PACKET = 11
0
{'name': 'DashRouter.__init__@src/fitly/utils.py', 'description': "Initialise the router.\n\nParams:\napp: A Dash instance to associate the router with.\nurls: Ordered iterable of routes: tuples of (route, layout). 'route' is a\n string corresponding to the URL path of the route (will be prefixed\n with ...
0
{'name': 'Pdf.Render@reference/ThinkDSP/code/thinkstats2.py', 'description': 'Generates a sequence of points suitable for plotting.\n\nIf options includes low and high, it must also include n;\nin that case the density is evaluated an n locations between\nlow and high, including both.\n\nIf options includes xs, the den...
0
{'name': 'circulation_configuration@pymultimatic/api/urls.py', 'description': 'Url to handle :class:`~pymultimatic.model.component.Circulation`\nconfiguration.', 'signature': 'def circulation_configuration(**kwargs: Any) -> str:'}</s>{'name': 'set_ventilation_day_level@pymultimatic/api/urls.py', 'description': 'Url to ...
0
{'name': 'ProcessGlobalSuppresions@third_party/cpplint/cpplint.py', 'description': 'Updates the list of global error suppressions.\n\nParses any lint directives in the file that have global effect.\n\nArgs:\n lines: An array of strings, each representing a line of the file, with the\n last element being empty ...
0
{'name': 'Batcher.batch_sentences@language_model/bilm_tf/bilm/data.py', 'description': "Batch the sentences as character ids\nEach sentence is a list of tokens without <s> or </s>, e.g.\n[['The', 'first', 'sentence', '.'], ['Second', '.']]", 'signature': 'def batch_sentences(self, sentences: List[List[str]]):'}</s>{'na...
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': 'solve@src/api/python/z3/z3.py', 'description': "Solve the constraints `*args`.\n\nThis is a simple function for ...
0
{'name': 'main@verify_security_groups.py', 'description': 'Main Python function to attach security group to ENIs. Responsible for:\n1. Identifying current account id, region.\n2. Importing CSV file and loading into state.\n3. Comparing CSV ARN entry with AWS current ID and Region.\n4. Identifying Security Group ID and ...
1
{'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': 'mutate_fix_var_filter@gp_learner.py', 'description': 'Filters results of fix var mutation in-place.\n\nExcludes:\n- too long literals\n- URIs with encoding errors (real world!)\n- BNode results (they will not be fixed but stay SPARQL vars)\n- NaN or INF literals (Virtuoso bug\n https://github.com/openlink/...
0
{'name': '_assign_with_converter@vendor/attr/_make.py', 'description': 'Unless *attr_name* has an on_setattr hook, use normal assignment after\nconversion. Otherwise relegate to _setattr_with_converter.', 'signature': 'def _assign_with_converter(attr_name, value_var, has_on_setattr):'}</s>{'name': '_make_attr_tuple_cla...
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': 'filesToDelete@versions/speed-cam_11.26.py', 'description': 'Return a list of files to be deleted', 'code': 'def filesToDelete(mediaDirPath, extension=image_format):\...
0
{'name': 'Retry.increment@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/urllib3/util/retry.py', 'description': 'Return a new Retry object with incremented retry counters.\n\n:param response: A response object, or None, if the server did not\n return a response.\n:type response: :class:`~urllib3.response.HT...
0
{'name': 'GTestHelpTest.TestUnknownFlagWithAbseil@Engine/lib/gtest/googletest/test/gtest_help_test.py', 'description': 'Verifies correct behavior when an unknown flag is specified.\n\nThe right message must be printed and the tests must\nskipped when the given flag is specified.\n\nArgs:\n flag: A flag to pass to the...
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': 'ResourceManager.resource_listdir@blockchain-env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py', 'description': 'List the contents of the named resource directory', 'signature': 'def resource_listdir(self, package_or_requirement, resource_name):'}</s>iter_entry_points = None
0
{'name': 'wait_on_db_update@grizli/aws/db.py', 'description': 'Wait for db to stop updating on root', 'signature': 'def wait_on_db_update(root, t0=60, dt=30, n_iter=60, engine=None):'}</s>{'name': 'strip_header_keys@grizli/utils.py', 'description': "Strip header keywords\n\nParameters\n----------\nheader : `~astropy.io...
0
{'name': '_IsType@tools/cpplint.py', 'description': 'Check if expression looks like a type name, returns true if so.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n nesting_state: A NestingState instance which maintains information about\n the current stack of nested blocks bei...
0
{'name': '_init@Engine/lib/assimp/port/PyAssimp/pyassimp/core.py', 'description': "Custom initialize() for C structs, adds safely accessible member functionality.\n\n:param target: set the object which receive the added methods. Useful when manipulating\npointers, to skip the intermediate 'contents' deferencing.", 'sig...
0
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ...
0
{'name': 'update_startup_screen@displays/waveshare2in13v3.py', 'description': 'Show startup screen on eInk Display\n ', 'signature': 'def update_startup_screen():'}</s>shutdown_screen_1 = "ATM turned off!"
0
{'name': 'CheckBraces@scripts/cpplint.py', 'description': 'Looks for misplaced braces (e.g. at the end of line).\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any errors f...
0
{'name': 'IUController.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data for the controller', 'signature': 'def load(self, config: OrderedDict) -> "IUController":'}</s>ICON_BLOCKED = "mdi:alert-octagon-outline"
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': 'TestMibSnimpy.testGet@tests/test_mib.py', 'description': 'Test that we can get all named attributes', 'signature': 'def testGet(self):'}</s>{'name': 'Enum@snimpy/basictypes.py', 'description': 'Class for an enumeration. An enumaration is an integer but labels\nare attached to some values for a more user-frien...
0
{'name': 'AsyncHTTPProxy.__init__@httpcore/_async/http_proxy.py', 'description': 'A connection pool for making HTTP requests.\n\nParameters:\n proxy_url: The URL to use when connecting to the proxy server.\n For example `"http://127.0.0.1:8080/"`.\n proxy_auth: Any proxy authentication as a two-tuple of\n ...
1
{'name': 'TestUnusualSocketConditions.test_happy_path@test/test_sync_connection.py', 'description': 'When everything goes smoothly, the response is cleanly consumed.', 'signature': 'def test_happy_path(self):'}</s>EVENT_SEND = "EVENT_SEND"
0
{'name': 'roleassign@code/link_coref.py', 'description': 'assign role to argument followed type of event', 'signature': 'def roleassign(allevent,pred_result,sentences):'}</s>GeneralArg = {'Vulnerability':['flaw', 'flaws', 'issues', 'issue','bug','bugs'],'Patch':['patch','release','update']}
0
{'name': 'Printer.print@tools/hadb.py', 'description': 'Print header, states & events.', 'signature': 'def print(self) -> None:'}</s>{'name': 'print_msg@tools/hadb.py', 'description': 'Print error message to stderr.', 'code': 'def print_msg(\n text: str,\n color: str | None = None,\n on_color: str | None = Non...
0
{'name': 'get_attr@cruds/templatetags/crud_tags.py', 'description': 'Filter returns obj attribute.', 'signature': 'def get_attr(obj, attr):'}</s>LIST_ACTIONS = ( ACTION_CREATE, ACTION_LIST, )
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.test_L5@tests/test_image.py', 'description': 'Test the image module for Landsat 5', 'signature': 'def test_L5(self):'}</s>{'name': '__add__@eemont/image.py', 'description': 'Computes the addition between two images.\n\nParameters\n----------\nself : ee.Image\n Left operand.\nother : ee.Image | numeric...
0
{'name': 'CheckStyle@tools/caffe-sphereface/scripts/cpp_lint.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 insid...
0
{'name': 'process_bird_wav@avgn/segment_song/preprocessing.py', 'description': 'This function is the primary workhorse of the preprocessing script - it takes in a wav file,\n breaks it up into several constitutant wav files, then saves them in save_to_folder, with their corresponding timestamp', 'signature': 'def pr...
0
{'name': 'lsa@vsm.py', 'description': 'Latent Semantic Analysis using pure scipy.\n\nParameters\n----------\ndf : pd.DataFrame\n The matrix to operate on.\n\nk : int (default: 100)\n Number of dimensions to truncate to.\n\nReturns\n-------\npd.DataFrame\n The SVD-reduced version of `df` with dimension (m x k), ...
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': '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>MQREGO_FULL_RESPONSE = 65536
0
{'name': 'TestStartUrls.test_start_urls_should_have_at_least_one_element@tests/config_loader/start_urls_test.py', 'description': 'Should throw if start_urls does not have at least one element ', 'signature': 'def test_start_urls_should_have_at_least_one_element(self):'}</s>{'name': 'TestStartUrls@tests/config_loader/st...
1
{'name': 'compute_prediction@chapter5/logistic_regression_from_scratch.py', 'description': 'Compute the prediction y_hat based on current weights', 'signature': 'def compute_prediction(X, weights):'}</s>Y = df['click'].values
0
{'name': 'cleanup_properties@skosify/skosify.py', 'description': 'Remove unnecessary property definitions.\n\nRemoves SKOS and DC property definitions and definitions of unused\nproperties.', 'signature': 'def cleanup_properties(rdf):'}</s>{'name': 'replace_uri@skosify/rdftools/modify.py', 'description': 'Replace all o...
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': 'analyze_menu_frame@analyze.py', 'description': 'check menu button\n\nfound menu button for start analyze\n\nArgs\n frame (ndarray): edited frame from movie\n menu (ndarray): MENU template\n roi (list): search roi\n\nReturns\n True, False (boolean): menu found or not\n max_loc (list, boolean): m...
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': 'list_minus_pref_suf@src/python_scripts/afnipy/afni_util.py', 'description': 'just strip the prefix and suffix from...
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': 'TwitchHelix.get_tags@twitch/helix/api.py', 'description': 'https://dev.twitch.tv/docs/api/reference#get-all-stream-tags', 'signature': 'def get_tags(self, after=None, page_size=20, tag_ids=None):'}</s>{'name': 'Stream@twitch/resources.py', 'description': 'DOCSTRING', 'base_classes': ['TwitchObject'], 'methods...
0
{'name': 'main@agfusion/cli.py', 'description': 'Main function for processing command line options', 'signature': 'def main():'}</s>{'name': 'TopHatFusion@agfusion/parsers.py', 'description': 'TopHatFusion parser.', 'base_classes': ['_Parser'], 'methods': [{'name': 'TopHatFusion.__init__@agfusion/parsers.py', 'descript...
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': 'extract_esios_data@aiopvpc/parser.py', 'description': 'Parse the contents of a daily PVPC json file.', 'signature': 'def extract_esios_data('}</s>DataSource = Literal["esios_public", "esios"]
0
{'name': 'BareValidator._validate_items@cerberus/validator.py', 'description': "{'type': 'list', 'check_with': 'items'}", 'signature': 'def _validate_items(self, items, field, values):'}</s>{'name': 'ErrorList@cerberus/errors.py', 'description': 'A list for :class:`~cerberus.errors.ValidationError` instances that can b...
0
{'name': 'PFAddr._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, a):'}</s>PF_DIVERT_REPLY = 2
0
{'name': 'Test.test_L5@tests/test_image.py', 'description': 'Test the image module for Landsat 5', 'signature': 'def test_L5(self):'}</s>MOD11A2 = ee.ImageCollection("MODIS/006/MOD11A2").first()
0
{'name': '_AdbIOManager.connect@adb_shell/adb_device.py', 'description': "Establish an ADB connection to the device.\n\n1. Use the transport to establish a connection\n2. Send a ``b'CNXN'`` message\n3. Read the response from the device\n4. If ``cmd`` is not ``b'AUTH'``, then authentication is not necesary and so we are...
0
{'name': 'Function.get_parameters@sqlparse/sql.py', 'description': 'Return a list of parameters.', 'signature': 'def get_parameters(self):'}</s>{'name': 'Values@sqlparse/sql.py', 'description': 'Grouping of values', 'base_classes': ['TokenList'], 'methods': []}
0
{'name': 'Api.render_doc@flask_restx/api.py', 'description': 'Override this method to customize the documentation page', 'signature': 'def render_doc(self):'}</s>{'name': 'PostmanCollectionV1@flask_restx/postman.py', 'description': 'Postman Collection (V1 format) serializer', 'base_classes': ['object'], 'methods': [{'n...
0
{'name': 'generate_builder@marshmallow_peewee/convert.py', 'description': 'Generate builder function for given marshmallow field.', 'signature': 'def generate_builder(ma_field_cls: type[fields.Field]) -> Callable:'}</s>{'name': 'convert_charfield@marshmallow_peewee/convert.py', 'description': 'DOCSTRING', 'code': 'def ...
0
{'name': 'test_am_allowed_package_names@sphinx_automodapi/tests/test_automodsumm.py', 'description': 'Test that allowed_package_names is interpreted correctly.', 'signature': 'def test_am_allowed_package_names(options, expect, tmpdir):'}</s>{'name': 'run_sphinx_in_tmpdir@sphinx_automodapi/tests/helpers.py', 'descriptio...
1
{'name': 'Work.kudos@AO3/works.py', 'description': 'Returns the number of kudos this work has\n\nReturns:\n int: number of kudos', 'signature': 'def kudos(self):'}</s>{'name': 'ThreadPool@AO3/threadable.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'ThreadPool.__init__@AO3/threadable.py',...
0
{'name': '_overpass_request@osmnx/_overpass.py', 'description': "Send a HTTP POST request to the Overpass API and return response.\n\nParameters\n----------\ndata\n Key-value pairs of parameters.\n\nReturns\n-------\nresponse_json\n The Overpass API's response.", 'signature': 'def _overpass_request(data: OrderedD...
0
{'name': 'HashEval._fetch_nearest_neighbors_bktree@imagededup/handlers/search/retrieval.py', 'description': 'Wrapper function to retrieve results for all queries in dataset using a BKTree search.', 'signature': 'def _fetch_nearest_neighbors_bktree(self) -> None:'}</s>{'name': 'parallelise@imagededup/utils/general_utils...
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': 'NonDestructiveBasicTokenizer.tokenize@baseline/tokenization.py', 'description': 'Tokenizes a piece of `text` and returns a list of `SubToken`s.', 'signature': 'def tokenize(self, text):'}</s>{'name': 'whitespace_tokenize@baseline/tokenization.py', 'description': "An implementation of BERT's whitespace tokeniz...
1
{'name': 'Quality.append_on_chord@pychord/quality.py', 'description': "Append on chord\n\nTo create Am7/G\nq = Quality('m7')\nq.append_on_chord('G', root='A')\n\n:param str on_chord: bass note of the chord\n:param str root: root note of the chord", 'signature': 'def append_on_chord(self, on_chord, root):'}</s>{'name': ...
0
{'name': 'overwrites_mem@panoramix/simplify.py', 'description': "for a given line, returns True if it potentially\noverwrites *any part* of memory index, False if it *for sure* doesn't", 'signature': 'def overwrites_mem(line, mem_idx):'}</s>{'name': 'divisible_bytes@panoramix/core/algebra.py', 'description': 'DOCSTRING...
0
{'name': 'PosixSerial.read@stino/pyarduino/base/pyserial/serialposix.py', 'description': 'Read size bytes from the serial port. If a timeout is set it may\nreturn less characters as requested. With no timeout it will block\nuntil the requested number of bytes is read.', 'signature': 'def read(self, size=1):'}</s>{'name...
0
{'name': 'index_points@point_e/evals/pointnet2_utils.py', 'description': 'Input:\n points: input points data, [B, N, C]\n idx: sample index data, [B, S]\nReturn:\n new_points:, indexed points data, [B, S, C]', 'signature': 'def index_points(points, idx):'}</s>{'name': 'sample_and_group@point_e/evals/pointnet2_...
0
{'name': 'IBC.terminate@ib_insync/ibcontroller.py', 'description': 'Terminate TWS/IBG.', 'signature': 'def terminate(self):'}</s>{'name': 'patchAsyncio@ib_insync/util.py', 'description': 'Patch asyncio to allow nested event loops.', 'code': 'def patchAsyncio():\n """Patch asyncio to allow nested event loops."""\n ...
0
{'name': 'furl.host@furl/furl.py', 'description': 'Raises: ValueError on invalid host or malformed IPv6 address.', 'signature': 'def host(self, host):'}</s>{'name': 'urlsplit@furl/furl.py', 'description': 'Parameters:\n url: URL string to split.\nReturns: urlparse.SplitResult tuple subclass, just like\n urlparse.urls...
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>MQRC_GET_ENABLED = 2494
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCMDL_LEVEL_910 = 910
0
{'name': 'process_options@src/python_scripts/scripts/uber_subject.py', 'description': 'return status and VarsObject structs of subject and control variables\n\n - given list of valid options, read and process the user options\n - if terminal option or -no_gui, return 0 (successful quit)\n\nreturn 1 : on success and ...
0
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inline=False):'}</s>...
0
{'name': 'mix_letters@art/functions.py', 'description': 'Return letters list in mix mode.\n\n:return: letters as list', 'signature': 'def mix_letters():'}</s>{'name': 'decor@art/functions.py', 'description': "Return given decoration part.\n\n:param decoration: decoration's name\n:type decoration:str\n:param reverse: t...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQMD2_CURRENT_LENGTH = 364
0
{'name': 'VectorWind.__init__@windspharm/iris.py', 'description': "Initialize a VectorWind instance.\n\n**Arguments:**\n\n*u*, *v*\n Zonal and meridional components of the vector wind\n respectively. Both components should be `~iris.cube.Cube`\n instances. The components must have the same dimension\n coord...
1
{'name': 'excape@spider/utils/tools.py', 'description': '转译', 'signature': 'def excape(str):'}</s>{'name': 'get_file_path@spider/utils/tools.py', 'description': '@summary: 取文件路径\n---------\n@param file_path: /root/a.py\n---------\n@result: /root', 'code': 'def get_file_path(file_path):\n """\n @summary: 取文件路径\n ...
0