id stringlengths 17 116 | task stringclasses 1
value | context_length stringclasses 1
value | documents listlengths 10 1.02k | question stringlengths 332 403 | question_with_choices stringlengths 332 403 | answer stringlengths 40 43.3k | answer_raw stringlengths 42 43.8k | n_chunks_full int64 10 61.9k | truncated bool 2
classes | repo stringlengths 7 54 | target_name stringlengths 1 72 | document_id int64 2.87k 144k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
LDU_FT/schettino72/import-deps/get_imports | LDU_FT | [
"<BEGIN>\n## `ast_imports`",
"get list of import from python module\n :return: (list - tuple) (module, name, asname, level)\n<END>",
"<BEGIN>\n## `_get_fqn`",
"get full qualified name as list of strings\n :return: (list - str) of path segments from top package to given path\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_imports API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_imports API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | return set of imported modules that are in self
:param module: PyModule
:return: (set - str) of path names | "return set of imported modules that are in self\n :param module: PyModule\n :return: (set - str) of path names" | 10 | false | schettino72/import-deps | get_imports | 40,173 | |
LDU_FT/Yelp/threat_intel/map_with_retries | LDU_FT | [
"<BEGIN>\n## `init_poolmanager`",
"Called to initialize the HTTPAdapter when no proxy is used.\n<END>",
"<BEGIN>\n## `proxy_manager_for`",
"Called to initialize the HTTPAdapter when a proxy is used.\n<END>",
"<BEGIN>\n## `make_calls`",
"Adds appropriate sleep to avoid making too many calls.",
" A... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map_with_retries API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map_with_retries API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Provides session-based retry functionality
:param requests: A collection of Request objects.
:param responses_for_requests: Dictionary mapping of requests to responses
:param max_retries: The maximum number of retries to perform per session
:param args: Additional arguments to pass into... | "Provides session-based retry functionality\n\n :param requests: A collection of Request objects.\n :param responses_for_requests: Dictionary mapping of requests to responses\n :param max_retries: The maximum number of retries to perform per session\n :param args: Additional arguments to pas... | 149 | false | Yelp/threat_intel | map_with_retries | 40,174 | |
LDU_FT/reiinakano/scikit-plot/plot_learning_curve | LDU_FT | [
"<BEGIN>\n## `plot_pca_component_variance`",
"Plots PCA components' explained variance ratios. (new in v0.2.2)",
" Args:\n clf: PCA instance that has the ``explained_variance_ratio_`` attribute.",
" title (string, optional): Title of the generated plot. Defaults to\n \"PCA Componen... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_learning_curve API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_learning_curve API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Generates a plot of the train and test learning curves for a classifier.
Args:
clf: Classifier instance that implements ``fit`` and ``predict``
methods.
X (array-like, shape (n_samples, n_features)):
Training vector, where n_samples is the number of samples and
... | "Generates a plot of the train and test learning curves for a classifier.\n\n Args:\n clf: Classifier instance that implements ``fit`` and ``predict``\n methods.\n\n X (array-like, shape (n_samples, n_features)):\n Training vector, where n_samples is the number of samples and\n ... | 328 | false | reiinakano/scikit-plot | plot_learning_curve | 40,175 | |
LDU_FT/mpg-age-bioinformatics/AGEpy/BLASTcheck | LDU_FT | [
"<BEGIN>\n## `checkCytoscapeVersion`",
"Checks cytoscape version",
" :param host: cytoscape host address, default=cytoscape_host\n :param port: cytoscape port, default=1234",
" :returns: cytoscape and api version\n<END>",
"<BEGIN>\n## `cytoscape`",
"General function for interacting with Cytoscape... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the BLASTcheck API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the BLASTcheck API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Checks the status of a query.
:param rid: BLAST search request identifier. Allowed values: The Request ID (RID) returned when the search was submitted
:param baseURL: server url. Default=http://blast.ncbi.nlm.nih.gov
:returns status: status for the query.
:returns therearehist: yes or no for existing ... | "Checks the status of a query.\n\n :param rid: BLAST search request identifier. Allowed values: The Request ID (RID) returned when the search was submitted\n :param baseURL: server url. Default=http://blast.ncbi.nlm.nih.gov\n\n :returns status: status for the query.\n :returns therearehist: yes or no for ex... | 237 | false | mpg-age-bioinformatics/AGEpy | BLASTcheck | 40,176 | |
LDU_FT/nicholasbishop/shaderdef/op_symbol | LDU_FT | [
"<BEGIN>\n## `op_symbol`",
"Get the GLSL symbol for a Python operator.\n<END>",
"<BEGIN>\n## `py_to_glsl`",
"Translate Python AST into GLSL code.",
" root: an ast.FunctionDef object",
" Return a list of strings, where each string is a line of GLSL\n code.\n<END>",
"<BEGIN>\n## `kwargs_as_assign... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the op_symbol API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the op_symbol API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Get the GLSL symbol for a Python operator. | "Get the GLSL symbol for a Python operator." | 21 | false | nicholasbishop/shaderdef | op_symbol | 40,177 | |
LDU_FT/itamarst/eliot/_main | LDU_FT | [
"<BEGIN>\n## `stopService`",
"Stop the writer thread, wait for it to finish.\n<END>",
"<BEGIN>\n## `bind`",
"Return a new L{Message} with this message's contents plus the\n additional given bindings.\n<END>",
"<BEGIN>\n## `_freeze`",
"Freeze this message for logging, registering it with C{action}."... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Command-line program that reads in JSON from stdin and writes out
pretty-printed messages to stdout. | "Command-line program that reads in JSON from stdin and writes out\n pretty-printed messages to stdout." | 282 | false | itamarst/eliot | _main | 40,178 | |
LDU_FT/coleifer/walrus/metaphone | LDU_FT | [
"<BEGIN>\n## `get`",
"Retreive a value from the cache. In the event the value\n does not exist, return the ``default``.\n<END>",
"<BEGIN>\n## `set`",
"Cache the given ``value`` in the specified ``key``. If no\n timeout is specified, the default timeout will be used.\n<END>",
"<BEGIN>\n## `flus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the metaphone API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the metaphone API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Apply the double metaphone algorithm to the given words.
Using metaphone allows the search index to tolerate
misspellings and small typos.
Example::
>>> from walrus.search.metaphone import dm as metaphone
>>> print metaphone('walrus')
('ALRS', 'FLRS')
... | "Apply the double metaphone algorithm to the given words.\n Using metaphone allows the search index to tolerate\n misspellings and small typos.\n\n Example::\n\n >>> from walrus.search.metaphone import dm as metaphone\n >>> print metaphone('walrus')\n ('ALRS', 'FLRS... | 363 | false | coleifer/walrus | metaphone | 40,179 | |
LDU_FT/jtpaasch/simplygithub/prepare | LDU_FT | [
"<BEGIN>\n## `get_url`",
"Get the URL for a resource.",
" Args:",
" profile\n A profile generated from ``simplygithub.authentication.profile``.\n Such profiles tell this module (i) the ``repo`` to connect to,\n and (ii) the ``token`` to connect with.",
" res... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Restructure/prepare data about trees for output. | "Restructure/prepare data about trees for output." | 224 | false | jtpaasch/simplygithub | prepare | 40,180 | |
LDU_FT/limodou/uliweb/linkify | LDU_FT | [
"<BEGIN>\n## `get_frame_info`",
"Return a dict of information about a given traceback.\n<END>",
"<BEGIN>\n## `get_sort_field`",
"Get sort column info according request, the data format just likes:\r",
" ?sort=fieldA.asc&sort=fieldB.desc\r",
" or:\r",
" ?sort=fieldA&sort=fieldB&order... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the linkify API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the linkify API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Converts plain text into HTML with links.
For example: ``linkify("Hello http://tornadoweb.org!")`` would return
``Hello <a href="http://tornadoweb.org">http://tornadoweb.org</a>!``
Parameters:
* ``shorten``: Long urls will be shortened for display.
* ``extra_params``: Extra text to incl... | "Converts plain text into HTML with links.\r\n\r\n For example: ``linkify(\"Hello http://tornadoweb.org!\")`` would return\r\n ``Hello <a href=\"http://tornadoweb.org\">http://tornadoweb.org</a>!``\r\n\r\n Parameters:\r\n\r\n * ``shorten``: Long urls will be shortened for display.\r\n\r\n * ``extra_param... | 886 | false | limodou/uliweb | linkify | 40,181 | |
LDU_FT/LREN-CHUV/data-tracking/nifti2db | LDU_FT | [
"<BEGIN>\n## `dicom2db`",
"Extract some meta-data from a DICOM file and store in a DB.",
" Arguments:\n :param file_path: File path.\n :param file_type: File type (should be 'DICOM').\n :param is_copy: Indicate if this file is a copy.\n :param step_id: Step ID\n :param db_conn: Database connec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nifti2db API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nifti2db API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Extract some meta-data from NIFTI files (actually mostly from their paths) and stores it in a DB.
Arguments:
:param file_path: File path.
:param file_type: File type.
:param is_copy: Indicate if this file is a copy.
:param step_id: Step ID.
:param db_conn: Database connection.
:param sid_by... | "Extract some meta-data from NIFTI files (actually mostly from their paths) and stores it in a DB.\n\n Arguments:\n :param file_path: File path.\n :param file_type: File type.\n :param is_copy: Indicate if this file is a copy.\n :param step_id: Step ID.\n :param db_conn: Database connection.\n :par... | 20 | false | LREN-CHUV/data-tracking | nifti2db | 40,182 | |
LDU_FT/Cog-Creators/Red-Lavalink/register_update_listener | LDU_FT | [
"<BEGIN>\n## `wait_until_ready`",
"Waits for the underlying node to become ready.",
" If no_raise is set, returns false when a timeout occurs instead of propogating TimeoutError.\n A timeout of None means to wait indefinitely.\n<END>",
"<BEGIN>\n## `connect`",
"Connects to the voice channel as... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_update_listener API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_update_listener API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Registers a coroutine to receive lavalink player update information.
This coroutine will accept a two arguments: an instance of :py:class:`Player`
and an instance of :py:class:`PlayerState`.
Parameters
----------
coro
Raises
------
TypeError
If ``coro`` is not a coroutine. | "Registers a coroutine to receive lavalink player update information.\n\n This coroutine will accept a two arguments: an instance of :py:class:`Player`\n and an instance of :py:class:`PlayerState`.\n\n Parameters\n ----------\n coro\n\n Raises\n ------\n TypeError\n If ``coro`` is not a c... | 103 | false | Cog-Creators/Red-Lavalink | register_update_listener | 40,183 | |
LDU_FT/tgbugs/pyontutils/process_request | LDU_FT | [
"<BEGIN>\n## `build_transgenic_lines`",
"init class | \"transgenic_line_source_name\":\"stock_number\" a Class\n add superClass | rdfs:subClassOf ilxtr:transgenicLine\n add *order* | ilxtr:useObjectProperty ilxtr:<order>\n add name | rdfs:label \"name\"\n add def ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Checks to see if data returned from database is useable | "Checks to see if data returned from database is useable" | 301 | false | tgbugs/pyontutils | process_request | 40,184 | |
LDU_FT/bitcraft/pyscroll/update | LDU_FT | [
"<BEGIN>\n## `hit`",
"Returns the items that overlap a bounding rectangle.",
" Returns the set of all items in the quad-tree that overlap with a\n bounding rectangle.",
" @param rect:\n The bounding rectangle being tested against the quad-tree. This\n must possess le... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Tasks that occur over time should be handled here | "Tasks that occur over time should be handled here" | 112 | false | bitcraft/pyscroll | update | 40,185 | |
LDU_FT/wilzbach/smarkov/_emitHMM_with_past | LDU_FT | [
"<BEGIN>\n## `join_tokens_to_sentences`",
"Correctly joins tokens to multiple sentences",
" Instead of always placing white-space between the tokens, it will distinguish\n between the next symbol and *not* insert whitespace if it is a sentence\n symbol (e.g. '.', or '?')",
" Args:\n tokens:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _emitHMM_with_past API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _emitHMM_with_past API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | emits a word based on previous states (=token) and previous emissions (=words)
The states and emissions are weighted according to their defined probabilities
self.prob_hmm_states and self.prob_hmm_emissions | "emits a word based on previous states (=token) and previous emissions (=words)\n The states and emissions are weighted according to their defined probabilities\n self.prob_hmm_states and self.prob_hmm_emissions" | 25 | false | wilzbach/smarkov | _emitHMM_with_past | 40,186 | |
LDU_FT/Nekroze/librarian/Where_filter_gen | LDU_FT | [
"<BEGIN>\n## `add_attribute`",
"Add the given attribute to this Card. Returns the length of\n attributes after addition.\n<END>",
"<BEGIN>\n## `add_ability`",
"Add the given ability to this Card under the given phase. Returns\n the length of the abilities for the given phase after the addition.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Where_filter_gen API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Where_filter_gen API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Generate an sqlite "LIKE" filter generator based on the given data.
This functions arguments should be a N length series of field and data
tuples. | "Generate an sqlite \"LIKE\" filter generator based on the given data.\n This functions arguments should be a N length series of field and data\n tuples." | 43 | false | Nekroze/librarian | Where_filter_gen | 40,187 | |
LDU_FT/reiinakano/xcessiv/make_serializable | LDU_FT | [
"<BEGIN>\n## `return_func_to_optimize`",
"Creates the function to be optimized by Bayes Optimization.",
" The function automatically handles the case of already existing base learners, and if\n no base learner for the hyperparameters exists yet, creates one and updates it in the\n usual way.",
" A... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_serializable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_serializable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | This function ensures that the dictionary is JSON serializable. If not,
keys with non-serializable values are removed from the return value.
Args:
json (dict): Dictionary to convert to serializable
Returns:
new_dict (dict): New dictionary with non JSON serializable values removed | "This function ensures that the dictionary is JSON serializable. If not,\n keys with non-serializable values are removed from the return value.\n\n Args:\n json (dict): Dictionary to convert to serializable\n\n Returns:\n new_dict (dict): New dictionary with non JSON serializable values removed" | 150 | false | reiinakano/xcessiv | make_serializable | 40,188 | |
LDU_FT/ga4gh/ga4gh-client/search_variant_annotations | LDU_FT | [
"<BEGIN>\n## `_run_search_request`",
"Runs the specified request at the specified object_name and\n instantiates an object of the specified class. We yield each object in\n listAttr. If pages of results are present, repeat this process\n until the pageToken is null.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_variant_annotations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_variant_annotations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Returns an iterator over the Variant Annotations fulfilling
the specified conditions from the specified VariantSet.
:param str variant_annotation_set_id: The ID of the
:class:`ga4gh.protocol.VariantAnnotationSet` of interest.
:param int start: Required. The beginning of the window (... | "Returns an iterator over the Variant Annotations fulfilling\n the specified conditions from the specified VariantSet.\n\n :param str variant_annotation_set_id: The ID of the\n :class:`ga4gh.protocol.VariantAnnotationSet` of interest.\n :param int start: Required. The beginning of the wi... | 104 | false | ga4gh/ga4gh-client | search_variant_annotations | 40,189 | |
LDU_FT/HEPData/hepdata-converter/_parse_line | LDU_FT | [
"<BEGIN>\n## `reset`",
"Clean any processing data, and prepare object for reuse\n<END>",
"<BEGIN>\n## `_parse_line`",
"Parse single line (or more if particular keyword actually demands it)",
" :param file:\n :type file: file\n<END>",
"<BEGIN>\n## `_set_table`",
"Set current parsing state t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_line API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_line API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Parse single line (or more if particular keyword actually demands it)
:param file:
:type file: file | "Parse single line (or more if particular keyword actually demands it)\n\n :param file:\n :type file: file" | 52 | false | HEPData/hepdata-converter | _parse_line | 40,190 | |
LDU_FT/klavinslab/coral/_flip_feature | LDU_FT | [
"<BEGIN>\n## `sequence_type`",
"Validates a coral.sequence data type.",
" :param sequence_in: input DNA sequence.\n :type sequence_in: any\n :returns: The material - 'dna', 'rna', or 'peptide'.\n :rtype: str\n :raises: ValueError\n<END>",
"<BEGIN>\n## `pcr`",
"Simulate a PCR.",
" :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _flip_feature API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _flip_feature API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Adjust a feature's location when flipping DNA.
:param feature: The feature to flip.
:type feature: coral.Feature
:param parent_len: The length of the sequence to which the feature belongs.
:type parent_len: int | "Adjust a feature's location when flipping DNA.\n\n :param feature: The feature to flip.\n :type feature: coral.Feature\n :param parent_len: The length of the sequence to which the feature belongs.\n :type parent_len: int" | 364 | false | klavinslab/coral | _flip_feature | 40,191 | |
LDU_FT/moble/quaternion/allclose | LDU_FT | [
"<BEGIN>\n## `slerp`",
"Spherical linear interpolation of rotors",
" This function uses a simpler interface than the more fundamental\n `slerp_evaluate` and `slerp_vectorized` functions. The latter\n are fast, being implemented at the C level, but take input `tau`\n instead of time. This function ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the allclose API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the allclose API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns True if two arrays are element-wise equal within a tolerance.
This function is essentially a wrapper for the `quaternion.isclose`
function, but returns a single boolean value of True if all elements
of the output from `quaternion.isclose` are True, and False otherwise.
This function also adds t... | "Returns True if two arrays are element-wise equal within a tolerance.\n\n This function is essentially a wrapper for the `quaternion.isclose`\n function, but returns a single boolean value of True if all elements\n of the output from `quaternion.isclose` are True, and False otherwise.\n This function also ... | 113 | false | moble/quaternion | allclose | 40,192 | |
LDU_FT/tomplus/kubernetes_asyncio/create_namespaced_resource_quota | LDU_FT | [
"<BEGIN>\n## `raw`",
"Sets the raw of this RuntimeRawExtension.",
" Raw is the underlying serialization of this object. # noqa: E501",
" :param raw: The raw of this RuntimeRawExtension. # noqa: E501\n :type: str\n<END>",
"<BEGIN>\n## `delete_namespaced_cron_job`",
"delete_namespaced... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_namespaced_resource_quota API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_namespaced_resource_quota API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | create_namespaced_resource_quota # noqa: E501
create a ResourceQuota # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_namespaced_resource_quota(namespace, body, async_req=True... | "create_namespaced_resource_quota # noqa: E501\n\n create a ResourceQuota # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.create_namespaced_resource_quota(namespace, body, async_re... | 1,540 | true | tomplus/kubernetes_asyncio | create_namespaced_resource_quota | 40,193 | |
LDU_FT/ipazc/mtcnn/new_max_pool | LDU_FT | [
"<BEGIN>\n## `__scale_image`",
"Scales the image to a given scale.\n :param image:\n :param scale:\n :return:\n<END>",
"<BEGIN>\n## `__nms`",
"Non Maximum Suppression.",
" :param boxes: np array with bounding boxes.\n :param threshold:\n :param method: NMS method to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the new_max_pool API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the new_max_pool API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Creates a new max pooling layer.
:param name: name for the layer.
:param kernel_size: tuple containing the size of the kernel (Width, Height)
:param stride_size: tuple containing the size of the stride (Width, Height)
:param padding: Type of padding. Available values are: ('SAME', 'VALID... | "Creates a new max pooling layer.\n :param name: name for the layer.\n :param kernel_size: tuple containing the size of the kernel (Width, Height)\n :param stride_size: tuple containing the size of the stride (Width, Height)\n :param padding: Type of padding. Available values are: ('SAME', '... | 38 | false | ipazc/mtcnn | new_max_pool | 40,194 | |
LDU_FT/frictionlessdata/tableschema-pandas-py/write | LDU_FT | [
"<BEGIN>\n## `create`",
"https://github.com/frictionlessdata/tableschema-pandas-py#storage\n<END>",
"<BEGIN>\n## `delete`",
"https://github.com/frictionlessdata/tableschema-pandas-py#storage\n<END>",
"<BEGIN>\n## `describe`",
"https://github.com/frictionlessdata/tableschema-pandas-py#storage\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | https://github.com/frictionlessdata/tableschema-pandas-py#storage | "https://github.com/frictionlessdata/tableschema-pandas-py#storage" | 10 | false | frictionlessdata/tableschema-pandas-py | write | 40,195 | |
LDU_FT/esheldon/fitsio/_slice2rows | LDU_FT | [
"<BEGIN>\n## `is_little_endian`",
"Return True if array is little endian, False otherwise.",
" Parameters\n ----------\n array: numpy array\n A numerical python array.",
" Returns\n -------\n Truth value:\n True for little-endian",
" Notes\n -----\n Strings are neith... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _slice2rows API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _slice2rows API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Convert a slice to an explicit array of rows | "Convert a slice to an explicit array of rows" | 294 | false | esheldon/fitsio | _slice2rows | 40,196 | |
LDU_FT/ahmontero/dop/rename_droplet | LDU_FT | [
"<BEGIN>\n## `droplets`",
"This method returns the list of droplets\n<END>",
"<BEGIN>\n## `reboot_droplet`",
"This method allows you to reboot a droplet. This is the preferred method\n to use if a server is not responding.\n<END>",
"<BEGIN>\n## `power_cycle_droplet`",
"This method allows you to pow... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rename_droplet API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rename_droplet API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | This method allows you to reinstall a droplet with a default image.
This is useful if you want to start again but retain the same IP address
for your droplet.
Required parameters:
droplet_id:
Numeric, this is the id of your droplet that you want to snapshot
... | "This method allows you to reinstall a droplet with a default image.\n This is useful if you want to start again but retain the same IP address\n for your droplet.\n\n Required parameters:\n\n droplet_id:\n Numeric, this is the id of your droplet that you want to snapshot\... | 102 | false | ahmontero/dop | rename_droplet | 40,197 | |
LDU_FT/reiinakano/scikit-plot/plot_confusion_matrix | LDU_FT | [
"<BEGIN>\n## `plot_pca_component_variance`",
"Plots PCA components' explained variance ratios. (new in v0.2.2)",
" Args:\n clf: PCA instance that has the ``explained_variance_ratio_`` attribute.",
" title (string, optional): Title of the generated plot. Defaults to\n \"PCA Componen... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_confusion_matrix API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_confusion_matrix API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Generates confusion matrix plot from predictions and true labels
Args:
y_true (array-like, shape (n_samples)):
Ground truth (correct) target values.
y_pred (array-like, shape (n_samples)):
Estimated targets as returned by a classifier.
labels (array-like, shape (n_... | "Generates confusion matrix plot from predictions and true labels\n\n Args:\n y_true (array-like, shape (n_samples)):\n Ground truth (correct) target values.\n\n y_pred (array-like, shape (n_samples)):\n Estimated targets as returned by a classifier.\n\n labels (array-like,... | 328 | false | reiinakano/scikit-plot | plot_confusion_matrix | 40,198 | |
LDU_FT/Tivix/django-common/authenticate | LDU_FT | [
"<BEGIN>\n## `ssl_required`",
"Views decorated with this will always get redirected to https\n except when allow_non_ssl is set to true.\n<END>",
"<BEGIN>\n## `anonymous_required`",
"Only allow if user is NOT authenticated.\n<END>",
"<BEGIN>\n## `generic_var`",
"Stores generic variables in the session ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | "username" being passed is really email address and being compared to as such. | "\"username\" being passed is really email address and being compared to as such." | 28 | false | Tivix/django-common | authenticate | 40,199 | |
LDU_FT/micha030201/aionationstates/founder | LDU_FT | [
"<BEGIN>\n## `tgcanrecruit`",
"Whether the nation will receive a recruitment telegram.",
" Useful in conjunction with the Telegrams API.",
" Parameters\n ----------\n region : str\n Name of the region you are recruiting for.",
" Returns\n -------\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the founder API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the founder API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Regional Founder. Returned even if the nation has ceased to
exist.
Returns
-------
an :class:`ApiQuery` of :class:`Nation`
an :class:`ApiQuery` of None
If the region is Game-Created and doesn't have a founder. | "Regional Founder. Returned even if the nation has ceased to\n exist.\n\n Returns\n -------\n an :class:`ApiQuery` of :class:`Nation`\n an :class:`ApiQuery` of None\n If the region is Game-Created and doesn't have a founder." | 156 | false | micha030201/aionationstates | founder | 40,200 | |
LDU_FT/crs4/hl7apy/create_element | LDU_FT | [
"<BEGIN>\n## `check_encoding_chars`",
"Validate the given encoding chars",
" :type encoding_chars: ``dict``\n :param encoding_chars: the encoding chars (see :func:`hl7apy.set_default_encoding_chars`)\n :raises: :exc:`hl7apy.exceptions.InvalidEncodingChars` if the given encoding chars are not valid\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_element API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_element API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Create an element having the given name
:type name: ``str``
:param name: the name of the element to be created (e.g. PID)
:type traversal_parent: ``bool``
:param traversal_parent: if ``True``, the parent will be set as temporary for traversal purposes
:param reference: the new... | "Create an element having the given name\n\n :type name: ``str``\n :param name: the name of the element to be created (e.g. PID)\n\n :type traversal_parent: ``bool``\n :param traversal_parent: if ``True``, the parent will be set as temporary for traversal purposes\n\n :param reference... | 289 | false | crs4/hl7apy | create_element | 40,201 | |
LDU_FT/materialsvirtuallab/monty/dumpfn | LDU_FT | [
"<BEGIN>\n## `zopen`",
"This function wraps around the bz2, gzip and standard python's open\n function to deal intelligently with bzipped, gzipped or standard text\n files.",
" Args:\n filename (str/Path): filename or pathlib.Path.\n \\*args: Standard args for python open(..). E.g., 'r' f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dumpfn API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dumpfn API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Dump to a json/yaml directly by filename instead of a File-like object.
For YAML, ruamel.yaml must be installed. The file type is automatically
detected. YAML is assumed if the filename contains "yaml" (lower or upper
case). Otherwise, json is always assumed.
Args:
obj (object): Object to dump.... | "Dump to a json/yaml directly by filename instead of a File-like object.\n For YAML, ruamel.yaml must be installed. The file type is automatically\n detected. YAML is assumed if the filename contains \"yaml\" (lower or upper\n case). Otherwise, json is always assumed.\n\n Args:\n obj (object): Object... | 238 | false | materialsvirtuallab/monty | dumpfn | 40,202 | |
LDU_FT/GGiecold/Concurrent_AP/get_cluster_labels | LDU_FT | [
"<BEGIN>\n## `chunk_generator`",
"Returns a generator of slice objects.",
" Parameters\n ----------\n N : int\n The size of one of the dimensions of a two-dimensional array. ",
" n : int\n The number of arrays of shape ('N', 'get_chunk_size(N, n)') that fit into\n memory.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cluster_labels API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cluster_labels API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Returns
-------
cluster_centers_indices : array of shape (n_clusters,)
Indices of cluster centers
labels : array of shape (n_samples,)
Specify the label of the cluster to which each point has been assigned. | "Returns\n -------\n cluster_centers_indices : array of shape (n_clusters,)\n Indices of cluster centers\n \n labels : array of shape (n_samples,)\n Specify the label of the cluster to which each point has been assigned." | 61 | false | GGiecold/Concurrent_AP | get_cluster_labels | 40,203 | |
LDU_FT/decryptus/sonicprobe/file_writelines_flush_sync | LDU_FT | [
"<BEGIN>\n## `remove_if_stale_pidfile`",
"@pidfile: PID file to remove if it is staled.",
" Exceptions are logged and are not propagated.\n<END>",
"<BEGIN>\n## `take_file_lock`",
"Atomically \"move\" @own_file to @lock_file if the latter does not exists,\n else just remove @own_file.",
" @own_fil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_writelines_flush_sync API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_writelines_flush_sync API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Fill file at @path with @lines then flush all buffers
(Python and system buffers) | "Fill file at @path with @lines then flush all buffers\n (Python and system buffers)" | 174 | false | decryptus/sonicprobe | file_writelines_flush_sync | 40,204 | |
LDU_FT/rh-marketingops/dwm/get_field_list | LDU_FT | [
"<BEGIN>\n## `get_field_list`",
"Retrieve list of all fields currently configured\n<END>",
"<BEGIN>\n## `data_lookup_method`",
"Method to lookup the replacement value given a single input value from\n the same field.",
" :param dict fields_list: Fields configurations\n :param MongoClien... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_field_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_field_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Retrieve list of all fields currently configured | "Retrieve list of all fields currently configured" | 68 | false | rh-marketingops/dwm | get_field_list | 40,205 | |
LDU_FT/JasonKessler/scattertext/compact | LDU_FT | [
"<BEGIN>\n## `coarse_tag_str`",
"Convert POS sequence to our coarse system, formatted as a string.\n<END>",
"<BEGIN>\n## `extract_finditer`",
"The \"GreedyFSA\" method in Handler et al. 2016.\n\tReturns token position spans of valid ngrams.\n<END>",
"<BEGIN>\n## `extract_ngram_filter`",
"The \"FilterFSA\"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compact API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compact API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Parameters
----------
term_doc_matrix : TermDocMatrix
Term document matrix object to compact
Returns
-------
New term doc matrix | "Parameters\n\t\t----------\n\t\tterm_doc_matrix : TermDocMatrix\n\t\t\tTerm document matrix object to compact\n\n\t\tReturns\n\t\t-------\n\t\tNew term doc matrix" | 419 | false | JasonKessler/scattertext | compact | 40,206 | |
LDU_FT/evolbioinfo/pastml/initialise_parsimonious_states | LDU_FT | [
"<BEGIN>\n## `reconstruct_ancestral_states`",
"Reconstructs ancestral states for the given character on the given tree.",
" :param character: character whose ancestral states are to be reconstructed.\n :type character: str\n :param tree: tree whose ancestral state are to be reconstructed,\n anno... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initialise_parsimonious_states API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initialise_parsimonious_states API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Initializes the bottom-up state arrays for tips based on their states given by the feature.
:param tree: ete3.Tree, tree for which the tip states are to be initialized
:param feature: str, feature in which the tip states are stored (the value could be None for a missing state)
:param states: numpy array, p... | "Initializes the bottom-up state arrays for tips based on their states given by the feature.\n\n :param tree: ete3.Tree, tree for which the tip states are to be initialized\n :param feature: str, feature in which the tip states are stored (the value could be None for a missing state)\n :param states: numpy arr... | 150 | false | evolbioinfo/pastml | initialise_parsimonious_states | 40,207 | |
LDU_FT/jgorset/fandjango/authorization_denied_view | LDU_FT | [
"<BEGIN>\n## `facebook_authorization_required`",
"Require the user to authorize the application.",
" :param redirect_uri: A string describing an URL to redirect to after authorization is complete.\n If ``None``, redirects to the current URL in the Facebook canvas\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authorization_denied_view API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authorization_denied_view API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Proxy for the view referenced in ``FANDJANGO_AUTHORIZATION_DENIED_VIEW``. | "Proxy for the view referenced in ``FANDJANGO_AUTHORIZATION_DENIED_VIEW``." | 34 | false | jgorset/fandjango | authorization_denied_view | 40,208 | |
LDU_FT/insilichem/ommprotocol/restraint_force | LDU_FT | [
"<BEGIN>\n## `protocol`",
"Run all the stages in protocol",
" Parameters\n ----------\n handler : SystemHandler\n Container of initial conditions of simulation",
" cfg : dict\n Imported YAML file.\n<END>",
"<BEGIN>\n## `run`",
"Launch MD simulation, which may consist of:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the restraint_force API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the restraint_force API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Force that restrains atoms to fix their positions, while allowing
tiny movement to resolve severe clashes and so on.
Returns
-------
force : simtk.openmm.CustomExternalForce
A custom force to restrain the selected atoms | "Force that restrains atoms to fix their positions, while allowing\n tiny movement to resolve severe clashes and so on.\n\n Returns\n -------\n force : simtk.openmm.CustomExternalForce\n A custom force to restrain the selected atoms" | 84 | false | insilichem/ommprotocol | restraint_force | 40,209 | |
LDU_FT/clld/pycdstar/_req | LDU_FT | [
"<BEGIN>\n## `c_metadata`",
"Set or get metadata associated with an object::",
" usage: cdstar metadata <URL> [<JSON>]",
" <JSON> Path to metadata in JSON, or JSON literal.\n<END>",
"<BEGIN>\n## `c_delete`",
"Delete an object::",
" usage: cdstar delete <URL>\n<END>",
"<BEGIN>\n## `c_ls`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _req API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _req API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Make a request to the API of an cdstar instance.
:param path: HTTP path.
:param method: HTTP method.
:param json: Flag signalling whether the response should be treated as JSON.
:param assert_status: Expected HTTP response status of a successful request.
:param kw: Additional ke... | "Make a request to the API of an cdstar instance.\n\n :param path: HTTP path.\n :param method: HTTP method.\n :param json: Flag signalling whether the response should be treated as JSON.\n :param assert_status: Expected HTTP response status of a successful request.\n :param kw: Additi... | 27 | false | clld/pycdstar | _req | 40,210 | |
LDU_FT/pavlov99/jsonapi/get_model_by_name | LDU_FT | [
"<BEGIN>\n## `default`",
"Encode JSON.",
" :return str: A JSON encoded string\n<END>",
"<BEGIN>\n## `dump_document`",
"Get document for model_instance.",
" redefine dump rule for field x: def dump_document_x",
" :param django.db.models.Model instance: model instance\n :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_model_by_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_model_by_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Get model by its name.
:param str model_name: name of model.
:return django.db.models.Model:
Example:
get_concrete_model_by_name('auth.User')
django.contrib.auth.models.User | "Get model by its name.\n\n :param str model_name: name of model.\n :return django.db.models.Model:\n\n Example:\n get_concrete_model_by_name('auth.User')\n django.contrib.auth.models.User" | 63 | false | pavlov99/jsonapi | get_model_by_name | 40,211 | |
LDU_FT/sassoftware/saspy/factor | LDU_FT | [
"<BEGIN>\n## `submit`",
"This method is used to submit any SAS code. It returns the Log and Listing as a python dictionary.",
" - code - the SAS statements you want to execute\n - results - format of results. 'HTML' by default, alternatively 'TEXT'\n - prompt - dict of names:flags to pr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the factor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the factor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Python method to call the FACTOR procedure
Documentation link:
https://go.documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=statug&docsetTarget=statug_factor_syntax.htm&locale=en
:param data: SASdata object or string. This parameter is required.
:parm by: The by variab... | "Python method to call the FACTOR procedure\n\n Documentation link:\n https://go.documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=statug&docsetTarget=statug_factor_syntax.htm&locale=en\n\n :param data: SASdata object or string. This parameter is required.\n :parm by: The by... | 469 | false | sassoftware/saspy | factor | 40,212 | |
LDU_FT/PetrochukM/PyTorch-NLP/encode | LDU_FT | [
"<BEGIN>\n## `imdb_dataset`",
"Load the IMDB dataset (Large Movie Review Dataset v1.0).",
" This is a dataset for binary sentiment classification containing substantially more data than\n previous benchmark datasets. Provided a set of 25,000 highly polar movie reviews for\n training, and 25,000 for tes... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Encodes a ``sequence``.
Args:
sequence (str): String ``sequence`` to encode.
Returns:
torch.Tensor: Encoding of the ``sequence``. | "Encodes a ``sequence``.\n\n Args:\n sequence (str): String ``sequence`` to encode.\n\n Returns:\n torch.Tensor: Encoding of the ``sequence``." | 261 | false | PetrochukM/PyTorch-NLP | encode | 40,213 | |
LDU_FT/TaurusOlson/fntools/find | LDU_FT | [
"<BEGIN>\n## `use_with`",
"Apply a function on the attributes of the data",
" :param data: an object\n :param fn: a function\n :param attrs: some attributes of the object\n :returns: an object",
" Let's create some data first::",
" >>> from collections import namedtuple\n >>> Pe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Apply a function on the record and return the corresponding new record
:param fn: a function
:param record: a dictionary
:returns: a dictionary
>>> find(max, {'Terry': 30, 'Graham': 35, 'John': 27})
{'Graham': 35} | "Apply a function on the record and return the corresponding new record\n\n :param fn: a function\n :param record: a dictionary\n :returns: a dictionary\n\n >>> find(max, {'Terry': 30, 'Graham': 35, 'John': 27})\n {'Graham': 35}" | 134 | false | TaurusOlson/fntools | find | 40,214 | |
LDU_FT/chop-dbhi/varify-data-warehouse/readline | LDU_FT | [
"<BEGIN>\n## `read`",
"Reads up to size bytes, but always completes the last line.\n<END>",
"<BEGIN>\n## `readline`",
"The size is ignored since a complete line must be read.\n<END>",
"<BEGIN>\n## `process_line`",
"Process a single record. This assumes only a single sample output.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the readline API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the readline API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | The size is ignored since a complete line must be read. | "The size is ignored since a complete line must be read." | 53 | false | chop-dbhi/varify-data-warehouse | readline | 40,215 | |
LDU_FT/googleapis/dialogflow-python-client-v2/delete_session_entity_type | LDU_FT | [
"<BEGIN>\n## `from_service_account_file`",
"Creates an instance of this client using the provided credentials\n file.",
" Args:\n filename (str): The path to the service account private key json\n file.\n args: Additional arguments to pass to the constructor.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_session_entity_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_session_entity_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Delete session entity type with the given entity type display name. | "Delete session entity type with the given entity type display name." | 280 | false | googleapis/dialogflow-python-client-v2 | delete_session_entity_type | 40,216 | |
LDU_FT/i3visio/entify/getResults | LDU_FT | [
"<BEGIN>\n## `getResults`",
"Function to obtain the Dictionarythat represents this object.",
" :param parFound: values to return.",
" :return: The output format will be like:\n [{\"type\" : \"i3visio.email\", \"value\": \"foo@bar.com\", \"attributes\": [] }, {\"type\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getResults API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getResults API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Function to obtain the Dictionarythat represents this object.
:param parFound: values to return.
:return: The output format will be like:
[{"type" : "i3visio.email", "value": "foo@bar.com", "attributes": [] }, {"type" : "i3visio.email", "value": "bar@foo.com",... | "Function to obtain the Dictionarythat represents this object.\n \n :param parFound: values to return.\n\n :return: The output format will be like:\n [{\"type\" : \"i3visio.email\", \"value\": \"foo@bar.com\", \"attributes\": [] }, {\"type\" : \"i3visio.email\", \"v... | 33 | false | i3visio/entify | getResults | 40,217 | |
LDU_FT/tehmaze/natural/day | LDU_FT | [
"<BEGIN>\n## `ordinal`",
"Converts a number to its ordinal representation.",
" :param value: number",
" >>> print(ordinal(1))\n 1st\n >>> print(ordinal(11))\n 11th\n >>> print(ordinal(101))\n 101st\n >>> print(ordinal(104))\n 104th\n >>> print(ordinal(113))\n 113th\n >>> pr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the day API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the day API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Date delta compared to ``t``. You can override ``now`` to specify what date
to compare to.
You can override the date format by supplying a ``format`` parameter.
:param t: timestamp, :class:`datetime.date` or :class:`datetime.datetime`
object
:param now: default ``None``, optionally a :cl... | "Date delta compared to ``t``. You can override ``now`` to specify what date\n to compare to.\n\n You can override the date format by supplying a ``format`` parameter.\n\n :param t: timestamp, :class:`datetime.date` or :class:`datetime.datetime`\n object\n :param now: default ``None``, optional... | 153 | false | tehmaze/natural | day | 40,218 | |
LDU_FT/jjjake/iamine/get_global_rate_limit | LDU_FT | [
"<BEGIN>\n## `get_global_rate_limit`",
"Get the global rate limit per client.",
" :rtype: int\n :returns: The global rate limit for each client.\n<END>",
"<BEGIN>\n## `_rate_limited`",
"A rate limit decorator for limiting the number of times the\n decorated :class:`Miner` method can be ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_global_rate_limit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_global_rate_limit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Get the global rate limit per client.
:rtype: int
:returns: The global rate limit for each client. | "Get the global rate limit per client.\n\n :rtype: int\n :returns: The global rate limit for each client." | 48 | false | jjjake/iamine | get_global_rate_limit | 40,219 | |
LDU_FT/Azure/azure-cosmos-table-python/delete_table | LDU_FT | [
"<BEGIN>\n## `generate_account_shared_access_signature`",
"Generates a shared access signature for the table service.\n Use the returned signature with the sas_token parameter of TableService.",
" :param ResourceTypes resource_types:\n Specifies the resource types that are accessible wi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Deletes the specified table and any data it contains.
When a table is successfully deleted, it is immediately marked for deletion
and is no longer accessible to clients. The table is later removed from
the Table service during garbage collection.
Note that deleting a table is likely ... | "Deletes the specified table and any data it contains.\n\n When a table is successfully deleted, it is immediately marked for deletion \n and is no longer accessible to clients. The table is later removed from \n the Table service during garbage collection.\n\n Note that deleting a table is ... | 142 | false | Azure/azure-cosmos-table-python | delete_table | 40,220 | |
LDU_FT/mbedmicro/pyOCD/read_memory_block8 | LDU_FT | [
"<BEGIN>\n## `byte_list_to_u32le_list`",
"! @brief Convert a list of bytes to a list of 32-bit integers (little endian)",
" If the length of the data list is not a multiple of 4, then the pad value is used\n for the additional required bytes.\n<END>",
"<BEGIN>\n## `u32le_list_to_byte_list`",
"! @brief... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_memory_block8 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_memory_block8 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | read a block of unaligned bytes in memory. Returns
an array of byte values | "read a block of unaligned bytes in memory. Returns\n an array of byte values" | 494 | false | mbedmicro/pyOCD | read_memory_block8 | 40,221 | |
LDU_FT/kushaldas/retask/find | LDU_FT | [
"<BEGIN>\n## `names`",
"Returns a list of queues available, ``None`` if no such\n queues found. Remember this will only shows queues with\n at least one item enqueued.\n<END>",
"<BEGIN>\n## `length`",
"Gives the length of the queue. Returns ``None`` if the queue is not\n connected.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Returns the index of the given object in the queue, it might be string
which will be searched inside each task.
:arg obj: object we are looking
:return: -1 if the object is not found or else the location of the task | "Returns the index of the given object in the queue, it might be string\n which will be searched inside each task.\n\n :arg obj: object we are looking\n\n :return: -1 if the object is not found or else the location of the task" | 48 | false | kushaldas/retask | find | 40,222 | |
LDU_FT/cfobel/webcam-recorder/refresh_config | LDU_FT | [
"<BEGIN>\n## `reset`",
"Reset the points for the specified index position. If no index is\n specified, reset points for all point handlers.\n<END>",
"<BEGIN>\n## `refresh_config`",
"__NB__ This *must* be called from a *different* thread than the GUI/Gtk thread.\n<END>",
"<BEGIN>\n## `record_path`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the refresh_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the refresh_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | __NB__ This *must* be called from a *different* thread than the GUI/Gtk thread. | "__NB__ This *must* be called from a *different* thread than the GUI/Gtk thread." | 10 | false | cfobel/webcam-recorder | refresh_config | 40,223 | |
LDU_FT/daler/metaseq/smart_colormap | LDU_FT | [
"<BEGIN>\n## `requirements_check`",
"Ensure we have programs needed to download/manipulate the data\n<END>",
"<BEGIN>\n## `_up_to_date`",
"Make sure md5sum(fn) == md5, and if not, delete `fn`.\n<END>",
"<BEGIN>\n## `logged_command`",
"helper function to log a command and then run it\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the smart_colormap API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the smart_colormap API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Creates a "smart" colormap that is centered on zero, and accounts for
asymmetrical vmin and vmax by matching saturation/value of high and low
colors.
It works by first creating a colormap from white to `color_high`. Setting
this color to the max(abs([vmin, vmax])), it then determines what the color
... | "Creates a \"smart\" colormap that is centered on zero, and accounts for\n asymmetrical vmin and vmax by matching saturation/value of high and low\n colors.\n\n It works by first creating a colormap from white to `color_high`. Setting\n this color to the max(abs([vmin, vmax])), it then determines what the ... | 400 | false | daler/metaseq | smart_colormap | 40,224 | |
LDU_FT/mdorn/pyinstapaper/get_folders | LDU_FT | [
"<BEGIN>\n## `login`",
"Authenticate using XAuth variant of OAuth.",
" :param str username: Username or email address for the relevant account\n :param str password: Password for the account\n<END>",
"<BEGIN>\n## `request`",
"Process a request using the OAuth client's request method.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_folders API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_folders API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Return list of user's folders.
:rtype: list | "Return list of user's folders.\n\n :rtype: list" | 22 | false | mdorn/pyinstapaper | get_folders | 40,225 | |
LDU_FT/NAMD/pypln.api/documents | LDU_FT | [
"<BEGIN>\n## `add_document`",
"Add a document to this corpus",
" `document' is passed to `requests.post', so it can be a file-like\n object, a string (that will be sent as the file content) or a tuple\n containing a filename followed by any of these two options.\n<END>",
"<BEGIN>\n## `add... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the documents API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the documents API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Return list of documents owned by user.
If `full=True`, it'll download all pages returned by the HTTP server | "Return list of documents owned by user.\n\n If `full=True`, it'll download all pages returned by the HTTP server" | 14 | false | NAMD/pypln.api | documents | 40,226 | |
LDU_FT/jbrudvik/yahooscraper/alternates | LDU_FT | [
"<BEGIN>\n## `authenticated_session`",
"Given username and password, return an authenticated Yahoo `requests`\n session that can be used for further scraping requests.",
" Throw an AuthencationError if authentication fails.\n<END>",
"<BEGIN>\n## `post_data`",
"Given username and password, return the p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the alternates API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the alternates API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return iterable containing players on bench who are available to play,
where each player is a dict containing:
- name
- details
- opponent | "Return iterable containing players on bench who are available to play,\n where each player is a dict containing:\n\n - name\n - details\n - opponent" | 12 | false | jbrudvik/yahooscraper | alternates | 40,227 | |
LDU_FT/djtaylor/python-lsbinit/_ps_extract_pid | LDU_FT | [
"<BEGIN>\n## `_ps_extract_pid`",
"Extract PID and parent PID from an output line from the PS command\n<END>",
"<BEGIN>\n## `ps`",
"Get the process information from the system PS command.\n<END>",
"<BEGIN>\n## `birthday`",
"Return a string representing the age of the process.\n<END>",
"<BEGIN>\n## `make`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ps_extract_pid API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ps_extract_pid API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Extract PID and parent PID from an output line from the PS command | "Extract PID and parent PID from an output line from the PS command" | 14 | false | djtaylor/python-lsbinit | _ps_extract_pid | 40,228 | |
LDU_FT/PixelwarStudio/PyTree/get_distance | LDU_FT | [
"<BEGIN>\n## `generate_branches`",
"Generates branches with alternative system.",
" Args:\n scales (tuple/array): Indicating how the branch/es length/es develop/s from age to age.\n angles (tuple/array): Holding the branch and shift angle in radians.\n shift_angle (float): Holding the ro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_distance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_distance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Get the distance beetween 2 nodes
Args:
node (object): The other node. | "Get the distance beetween 2 nodes\n\n Args:\n node (object): The other node." | 63 | false | PixelwarStudio/PyTree | get_distance | 40,229 | |
LDU_FT/pescadores/pescador/split_and_save_datasets | LDU_FT | [
"<BEGIN>\n## `setup_data`",
"Load and shape data for training with Keras + Pescador.",
" Returns\n -------\n input_shape : tuple, len=3\n Shape of each sample; adapts to channel configuration of Keras.",
" X_train, y_train : np.ndarrays\n Images and labels for training.",
" X_te... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_and_save_datasets API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_and_save_datasets API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Shuffle X and Y into n / len(paths) datasets, and save them
to disk at the locations provided in paths. | "Shuffle X and Y into n / len(paths) datasets, and save them\n to disk at the locations provided in paths." | 103 | false | pescadores/pescador | split_and_save_datasets | 40,230 | |
LDU_FT/WoLpH/python-statsd/increment | LDU_FT | [
"<BEGIN>\n## `send`",
"Send the data over UDP while taking the sample_rate in account",
" The sample rate should be a number between `0` and `1` which indicates\n the probability that a message will be sent. The sample_rate is also\n communicated to `statsd` so it knows what multiplier to u... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the increment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the increment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Increment the gauge with `delta`
:keyword subname: The subname to report the data to (appended to the
client name)
:type subname: str
:keyword delta: The delta to add to the gauge
:type delta: int
>>> gauge = Gauge('application_name')
>>> gauge.increment('ga... | "Increment the gauge with `delta`\n\n :keyword subname: The subname to report the data to (appended to the\n client name)\n :type subname: str\n :keyword delta: The delta to add to the gauge\n :type delta: int\n\n >>> gauge = Gauge('application_name')\n >>> gauge.inc... | 67 | false | WoLpH/python-statsd | increment | 40,231 | |
LDU_FT/chop-dbhi/varify-data-warehouse/auto_delete_cohort | LDU_FT | [
"<BEGIN>\n## `read`",
"Reads up to size bytes, but always completes the last line.\n<END>",
"<BEGIN>\n## `readline`",
"The size is ignored since a complete line must be read.\n<END>",
"<BEGIN>\n## `process_line`",
"Process a single record. This assumes only a single sample output.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auto_delete_cohort API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auto_delete_cohort API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Deletes and auto-created cohort named after the instance. | "Deletes and auto-created cohort named after the instance." | 53 | false | chop-dbhi/varify-data-warehouse | auto_delete_cohort | 40,232 | |
LDU_FT/umich-brcf-bioinf/Connor/_get_username_hostname | LDU_FT | [
"<BEGIN>\n## `_get_username_hostname`",
"Best attempt to get username and hostname, returns \"na\" if problem.\n<END>",
"<BEGIN>\n## `sort_dict`",
"Accept a dict of key:values (numerics) returning list of key-value tuples ordered by desc values.",
" If by_key=True, sorts by dict key.\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_username_hostname API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_username_hostname API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Best attempt to get username and hostname, returns "na" if problem. | "Best attempt to get username and hostname, returns \"na\" if problem." | 28 | false | umich-brcf-bioinf/Connor | _get_username_hostname | 40,233 | |
LDU_FT/eyeseast/python-tablefu/filter | LDU_FT | [
"<BEGIN>\n## `sort`",
"Sort rows in this table, preserving a record of how that\n sorting is done in TableFu.options['sorted_by']\n<END>",
"<BEGIN>\n## `filter`",
"Tables can be filtered in one of two ways:\n - Simple keyword arguments return rows where values match *exactly*\n - Pass i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Tables can be filtered in one of two ways:
- Simple keyword arguments return rows where values match *exactly*
- Pass in a function and return rows where that function evaluates to True
In either case, a new TableFu instance is returned | "Tables can be filtered in one of two ways:\n - Simple keyword arguments return rows where values match *exactly*\n - Pass in a function and return rows where that function evaluates to True\n \n In either case, a new TableFu instance is returned" | 51 | false | eyeseast/python-tablefu | filter | 40,234 | |
LDU_FT/gmr/helper/_load_json_config | LDU_FT | [
"<BEGIN>\n## `operating_system`",
"Return a string identifying the operating system the application\n is running on.",
" :rtype: str\n<END>",
"<BEGIN>\n## `start`",
"Daemonize if the process is not already running.\n<END>",
"<BEGIN>\n## `gid`",
"Return the group id that the daemon will run with",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_json_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_json_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Load the configuration file in JSON format
:rtype: dict | "Load the configuration file in JSON format\n\n :rtype: dict" | 77 | false | gmr/helper | _load_json_config | 40,235 | |
LDU_FT/orbingol/NURBS-Python/vector_generate | LDU_FT | [
"<BEGIN>\n## `bspline_to_nurbs`",
"Converts non-rational parametric shapes to rational ones.",
" :param obj: B-Spline shape\n :type obj: BSpline.Curve, BSpline.Surface or BSpline.Volume\n :return: NURBS shape\n :rtype: NURBS.Curve, NURBS.Surface or NURBS.Volume\n :raises: TypeError\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vector_generate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vector_generate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Generates a vector from 2 input points.
:param start_pt: start point of the vector
:type start_pt: list, tuple
:param end_pt: end point of the vector
:type end_pt: list, tuple
:param normalize: if True, the generated vector is normalized
:type normalize: bool
:return: a vector from start_pt... | "Generates a vector from 2 input points.\n\n :param start_pt: start point of the vector\n :type start_pt: list, tuple\n :param end_pt: end point of the vector\n :type end_pt: list, tuple\n :param normalize: if True, the generated vector is normalized\n :type normalize: bool\n :return: a vector from... | 809 | false | orbingol/NURBS-Python | vector_generate | 40,236 | |
LDU_FT/Nekroze/partpy/rest_of_string | LDU_FT | [
"<BEGIN>\n## `pretty_print`",
"Print the previous and current line with line numbers and\n a carret under the current character position.",
" Will also print a message if one is given to this exception.\n<END>",
"<BEGIN>\n## `parse`",
"Run the parser over the entire sourestring and return the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rest_of_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rest_of_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | A copy of the current position till the end of the source string. | "A copy of the current position till the end of the source string." | 80 | false | Nekroze/partpy | rest_of_string | 40,237 | |
LDU_FT/kronenthaler/mod-pbxproj/remove_group_by_name | LDU_FT | [
"<BEGIN>\n## `has_child`",
"Checks if the given child id\n :param child: The id to check if it's a child of the group\n :return: True if the given id it's a child of this group, False otherwise\n<END>",
"<BEGIN>\n## `add_file`",
"Adds a file to the project, taking care of the type of the file an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_group_by_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_group_by_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Remove the groups matching the given name. If recursive is True, all descendants of this group are also removed.
This method could cause the removal of multiple groups that not necessarily are intended to be removed, use with
caution
:param group_name: The group name to be removed
:param... | "Remove the groups matching the given name. If recursive is True, all descendants of this group are also removed.\n This method could cause the removal of multiple groups that not necessarily are intended to be removed, use with\n caution\n :param group_name: The group name to be removed\n :... | 71 | false | kronenthaler/mod-pbxproj | remove_group_by_name | 40,238 | |
LDU_FT/pvlib/pvlib-python/bishop88_i_from_v | LDU_FT | [
"<BEGIN>\n## `systemdef`",
"Generates a dict of system parameters used throughout a simulation.",
" Parameters\n ----------",
" meta : dict\n meta dict either generated from a TMY file using readtmy2 or\n readtmy3, or a dict containing at least the following fields:",
" ===... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bishop88_i_from_v API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bishop88_i_from_v API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Find current given any voltage.
Parameters
----------
voltage : numeric
voltage (V) in volts [V]
photocurrent : numeric
photogenerated current (Iph or IL) in amperes [A]
saturation_current : numeric
diode dark or saturation current (Io or Isat) in amperes [A]
resistance_... | "Find current given any voltage.\n\n Parameters\n ----------\n voltage : numeric\n voltage (V) in volts [V]\n photocurrent : numeric\n photogenerated current (Iph or IL) in amperes [A]\n saturation_current : numeric\n diode dark or saturation current (Io or Isat) in amperes [A]\n ... | 1,499 | true | pvlib/pvlib-python | bishop88_i_from_v | 40,239 | |
LDU_FT/akatrevorjay/uninhibited/ifire | LDU_FT | [
"<BEGIN>\n## `get_event`",
"Lookup an event by name.",
" :param str item: Event name\n :return Event: Event instance under key\n<END>",
"<BEGIN>\n## `_add_internal_event`",
"This is only here to ensure my constant hatred for Python 2's horrid variable argument support.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ifire API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ifire API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Iteratively fire event, returning generator. Calls each handler using given arguments, upon iteration,
yielding each result.
:param str name: Event name
:param tuple args: positional arguments to call each handler with
:param dict kwargs: keyword arguments to call each handler with
... | "Iteratively fire event, returning generator. Calls each handler using given arguments, upon iteration,\n yielding each result.\n\n :param str name: Event name\n :param tuple args: positional arguments to call each handler with\n :param dict kwargs: keyword arguments to call each handler wit... | 40 | false | akatrevorjay/uninhibited | ifire | 40,240 | |
LDU_FT/tmux-python/libtmux/set_environment | LDU_FT | [
"<BEGIN>\n## `get_version`",
"Return tmux version.",
" If tmux is built from git master, the version returned will be the latest\n version appended with -master, e.g. ``2.4-master``.",
" If using OpenBSD's base system tmux, the version will have ``-openbsd``\n appended to the latest version, e.g. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_environment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_environment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Set environment ``$ tmux set-environment <name> <value>``.
Parameters
----------
name : str
the environment variable name. such as 'PATH'.
option : str
environment value. | "Set environment ``$ tmux set-environment <name> <value>``.\n\n Parameters\n ----------\n name : str\n the environment variable name. such as 'PATH'.\n option : str\n environment value." | 224 | false | tmux-python/libtmux | set_environment | 40,241 | |
LDU_FT/robotpy/pyfrc/relpath | LDU_FT | [
"<BEGIN>\n## `compute`",
"Call this when vision processing should be enabled",
" :param now: The value passed to ``update_sim``\n :param x: Returned from physics_controller.get_position\n :param y: Returned from physics_controller.get_position\n :param angle... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the relpath API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the relpath API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Path helper, gives you a path relative to this file | "Path helper, gives you a path relative to this file" | 109 | false | robotpy/pyfrc | relpath | 40,242 | |
LDU_FT/conchoecia/gloTK/die | LDU_FT | [
"<BEGIN>\n## `meraculous_runner`",
"Check to make sure that the allAssembliesDir has been created, if not,\n make it. This will only execute for the first time an assembly has been\n run in this directory.",
" Run the directory from allAssembliesDir. The self.callString instance\n at... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the die API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the die API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Prints the current BioLite module and an error `message`, then aborts. | "Prints the current BioLite module and an error `message`, then aborts." | 73 | false | conchoecia/gloTK | die | 40,243 | |
LDU_FT/wdm0006/sklearn-extensions/predict | LDU_FT | [
"<BEGIN>\n## `fit`",
"Fit the model",
" Parameters\n ----------\n X : array-like of shape = [n_samples, n_features]\n The training input samples.",
" y : array-like, shape = [n_samples]\n The target values",
" Returns\n -------\n self : ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Predict values using the model
Parameters
----------
X : {array-like, sparse matrix} of shape [n_samples, n_features]
Returns
-------
C : numpy array of shape [n_samples, n_outputs]
Predicted values. | "Predict values using the model\n\n Parameters\n ----------\n X : {array-like, sparse matrix} of shape [n_samples, n_features]\n\n Returns\n -------\n C : numpy array of shape [n_samples, n_outputs]\n Predicted values." | 60 | false | wdm0006/sklearn-extensions | predict | 40,244 | |
LDU_FT/ethereum/pyrlp/encode | LDU_FT | [
"<BEGIN>\n## `decode_lazy`",
"Decode an RLP encoded object in a lazy fashion.",
" If the encoded object is a bytestring, this function acts similar to\n :func:`rlp.decode`. If it is a list however, a :class:`LazyList` is\n returned instead. This object will decode the string lazily, avoiding\n both ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Encode a Python object in RLP format.
By default, the object is serialized in a suitable way first (using
:func:`rlp.infer_sedes`) and then encoded. Serialization can be explicitly
suppressed by setting `infer_serializer` to ``False`` and not passing an
alternative as `sedes`.
If `obj` has an attr... | "Encode a Python object in RLP format.\n\n By default, the object is serialized in a suitable way first (using\n :func:`rlp.infer_sedes`) and then encoded. Serialization can be explicitly\n suppressed by setting `infer_serializer` to ``False`` and not passing an\n alternative as `sedes`.\n\n If `obj` has... | 49 | false | ethereum/pyrlp | encode | 40,245 | |
LDU_FT/mikeboers/sitetools/_setup_maya | LDU_FT | [
"<BEGIN>\n## `_process_pth`",
"Process a ``.pth`` file similar to site.addpackage(...).\n<END>",
"<BEGIN>\n## `add_site_list`",
"Add a list of pseudo site-packages to :data:`python:sys.path`.",
" This centers the list on ``sys.path`` around the current environment.\n I.e. if this environment is in the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _setup_maya API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _setup_maya API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Setup Maya logging, but be *really* defensive about it. | "Setup Maya logging, but be *really* defensive about it." | 43 | false | mikeboers/sitetools | _setup_maya | 40,246 | |
LDU_FT/justquick/django-native-tags/unregister | LDU_FT | [
"<BEGIN>\n## `calendar`",
"Creates a formatted ``HTMLCalendar``. \n Argument ``format`` can be one of ``month``, ``year``, or ``yearpage``\n Keyword arguments are collected and passed into ``HTMLCalendar.formatmonth``, \n ``HTMLCalendar.formatyear``, and ``HTMLCalendar.formatyearpage``",
" Synta... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unregister API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unregister API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Remove the function from the registry by name | "Remove the function from the registry by name" | 161 | false | justquick/django-native-tags | unregister | 40,247 | |
LDU_FT/edeposit/edeposit.amqp.aleph/downloadMARCXML | LDU_FT | [
"<BEGIN>\n## `from_xml`",
"Pick informations from :class:`.MARCXMLRecord` object and use it to\n build :class:`.SemanticInfo` structure.",
" Args:\n xml (str/MARCXMLRecord): MarcXML which will be converted to\n SemanticInfo. In case of str, ``<record>`` tag is required.",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the downloadMARCXML API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the downloadMARCXML API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Download MARC XML document with given `doc_id` from given `library`.
Args:
doc_id (DocumentID): You will get this from :func:`getDocumentIDs`.
library (str): "``NKC01``" in our case, but don't worry,
:func:`getDocumentIDs` adds library specification into
:class... | "Download MARC XML document with given `doc_id` from given `library`.\n\n Args:\n doc_id (DocumentID): You will get this from :func:`getDocumentIDs`.\n library (str): \"``NKC01``\" in our case, but don't worry,\n :func:`getDocumentIDs` adds library specification into\n ... | 102 | false | edeposit/edeposit.amqp.aleph | downloadMARCXML | 40,248 | |
LDU_FT/fatiando/pooch/fetch | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a new :class:`~pooch.Pooch` with sensible defaults to fetch data files.",
" If a version string is given, the Pooch will be versioned, meaning that the local\n storage folder and the base URL depend on the project version. This is necessary\n if your users have multiple ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Get the absolute path to a file in the local storage.
If it's not in the local storage, it will be downloaded. If the hash of the file
in local storage doesn't match the one in the registry, will download a new copy
of the file. This is considered a sign that the file was updated in the remote
... | "Get the absolute path to a file in the local storage.\n\n If it's not in the local storage, it will be downloaded. If the hash of the file\n in local storage doesn't match the one in the registry, will download a new copy\n of the file. This is considered a sign that the file was updated in the re... | 69 | false | fatiando/pooch | fetch | 40,249 | |
LDU_FT/savvastj/nbashots/get_shots | LDU_FT | [
"<BEGIN>\n## `get_all_player_ids`",
"Returns a pandas DataFrame containing the player IDs used in the\n stats.nba.com API.",
" Parameters\n ----------\n ids : { \"shots\" | \"all_players\" | \"all_data\" }, optional\n Passing in \"shots\" returns a DataFrame that contains the player IDs of\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_shots API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_shots API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns the shot chart data as a pandas DataFrame. | "Returns the shot chart data as a pandas DataFrame." | 77 | false | savvastj/nbashots | get_shots | 40,250 | |
LDU_FT/escalant3/pyblueprints/getEdge | LDU_FT | [
"<BEGIN>\n## `addVertex`",
"Add param declared for compability with the API. Neo4j\n creates the id automatically\n @params _id: Node unique identifier",
" @returns The created Vertex or None\n<END>",
"<BEGIN>\n## `getVertex`",
"Retrieves an existing vertex from the graph\n @para... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getEdge API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getEdge API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Retrieves an existing edge from the graph
@params _id: Edge unique identifier
@returns The requested Edge or None | "Retrieves an existing edge from the graph\n @params _id: Edge unique identifier\n\n @returns The requested Edge or None" | 36 | false | escalant3/pyblueprints | getEdge | 40,251 | |
LDU_FT/iclab/centinel/traceroute | LDU_FT | [
"<BEGIN>\n## `parse_out_ips`",
"Given a message, parse out the ips in the answer\n<END>",
"<BEGIN>\n## `send_chaos_queries`",
"Send chaos queries to identify the DNS server and its manufacturer",
" Note: we send 2 queries for BIND stuff per RFC 4892 and 1\n query per RFC 6304",
" Note... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the traceroute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the traceroute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | This function uses centinel.command to issue
a traceroute command, wait for it to finish execution and
parse the results out to a dictionary.
:param domain: the domain to be queried
:param method: the packet type used for traceroute, UDP by default
:param cmd_arguments: the list of arguments that n... | "This function uses centinel.command to issue\n a traceroute command, wait for it to finish execution and\n parse the results out to a dictionary.\n\n :param domain: the domain to be queried\n :param method: the packet type used for traceroute, UDP by default\n :param cmd_arguments: the list of arguments... | 116 | false | iclab/centinel | traceroute | 40,252 | |
LDU_FT/foliant-docs/foliantcontrib.includes/_get_included_file_path | LDU_FT | [
"<BEGIN>\n## `_find_file`",
"Find a file in a directory by name. Check subdirectories recursively.",
" :param file_name: Name of the file\n :lookup_dir: Starting directory",
" :returns: Path to the found file or None if the file was not found\n :raises: FileNotFoundError\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_included_file_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_included_file_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Resolve user specified path to the local included file.
:param user_specified_path: User specified string that represents
the path to a local file
:param current_processed_file_path: Path to the currently processed Markdown file
that contains include statements
:return... | "Resolve user specified path to the local included file.\n\n :param user_specified_path: User specified string that represents\n the path to a local file\n\n :param current_processed_file_path: Path to the currently processed Markdown file\n that contains include statements\n\n ... | 49 | false | foliant-docs/foliantcontrib.includes | _get_included_file_path | 40,253 | |
LDU_FT/Fantomas42/django-blog-zinnia/cache_infos | LDU_FT | [
"<BEGIN>\n## `safe_get_user_model`",
"Safe loading of the User model, customized or not.\n<END>",
"<BEGIN>\n## `get_title`",
"Return the title with word count and number of comments.\n<END>",
"<BEGIN>\n## `get_queryset`",
"Make special filtering by user's permissions.\n<END>",
"<BEGIN>\n## `get_changefo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cache_infos API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cache_infos API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Cache the number of entries published and the last
modification date under each tag. | "Cache the number of entries published and the last\n modification date under each tag." | 262 | false | Fantomas42/django-blog-zinnia | cache_infos | 40,254 | |
LDU_FT/JarryShaw/DictDumper/_append_object | LDU_FT | [
"<BEGIN>\n## `_append_value`",
"Call this function to write contents.",
" Keyword arguments:\n * value - dict, content to be dumped\n * _file - FileIO, output file\n * _name - str, name of current content dict\n<END>",
"<BEGIN>\n## `_append_array`",
"Call this functio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _append_object API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _append_object API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Call this function to write object contents.
Keyword arguments:
* value - dict, content to be dumped
* _file - FileIO, output file | "Call this function to write object contents.\n\n Keyword arguments:\n * value - dict, content to be dumped\n * _file - FileIO, output file" | 51 | false | JarryShaw/DictDumper | _append_object | 40,255 | |
LDU_FT/Cue/scales/getStat | LDU_FT | [
"<BEGIN>\n## `lookup`",
"Traverses the source, looking up each key. Returns None if can't find anything instead of raising an exception.\n<END>",
"<BEGIN>\n## `connect`",
"Connects to the Graphite server if not already connected.\n<END>",
"<BEGIN>\n## `disconnect`",
"Disconnect from the Graphite server i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getStat API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getStat API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Gets the stat for the given object with the given name, or None if no such stat exists. | "Gets the stat for the given object with the given name, or None if no such stat exists." | 72 | false | Cue/scales | getStat | 40,256 | |
LDU_FT/TestInABox/stackInABox/register_method | LDU_FT | [
"<BEGIN>\n## `httpretty_callback`",
"httpretty request handler.",
" converts a call intercepted by httpretty to\n the stack-in-a-box infrastructure",
" :param request: request object\n :param uri: the uri of the request\n :param headers: headers for the response",
" :returns: tuple - (int,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_method API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_method API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Register an HTTP method and handler function.
:param method: string, HTTP verb
:param fn: python function handling the request
:raises: RouteAlreadyRegisteredError if the route is already registered
:returns: n/a | "Register an HTTP method and handler function.\n\n :param method: string, HTTP verb\n :param fn: python function handling the request\n :raises: RouteAlreadyRegisteredError if the route is already registered\n :returns: n/a" | 124 | false | TestInABox/stackInABox | register_method | 40,257 | |
LDU_FT/benhoff/vexbot/is_command | LDU_FT | [
"<BEGIN>\n## `main`",
"`kwargs`:",
" `configuration_filepath`: filepath for the `ini` configuration\n<END>",
"<BEGIN>\n## `get_addresses`",
"parses a raw list from zmq to get back the components that are the address\n messages are broken by the addresses in the beginning and then the\n message,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | checks for presence of shebang in the first character of the text | "checks for presence of shebang in the first character of the text" | 68 | false | benhoff/vexbot | is_command | 40,258 | |
LDU_FT/klen/graphite-beacon/_normalize_value_ms | LDU_FT | [
"<BEGIN>\n## `_get_loader`",
"Determine which config file type and loader to use based on a filename.",
" :param config str: filename to config file\n :return: a tuple of the loader type and callable to load\n :rtype: (str, Callable)\n<END>",
"<BEGIN>\n## `start`",
"Start all the things.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _normalize_value_ms API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _normalize_value_ms API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Normalize a value in ms to the largest unit possible without decimal places.
Note that this ignores fractions of a second and always returns a value _at least_
in seconds.
:return: the normalized value and unit name
:rtype: Tuple[Union[int, float], str] | "Normalize a value in ms to the largest unit possible without decimal places.\n\n Note that this ignores fractions of a second and always returns a value _at least_\n in seconds.\n\n :return: the normalized value and unit name\n :rtype: Tuple[Union[int, float], str]" | 34 | false | klen/graphite-beacon | _normalize_value_ms | 40,259 | |
LDU_FT/thiagopbueno/pyrddl/_build_action_bound_constraints_table | LDU_FT | [
"<BEGIN>\n## `rename_next_state_fluent`",
"Returns next state fluent canonical name.",
" Args:\n name (str): The current state fluent name.",
" Returns:\n str: The next state fluent name.\n<END>",
"<BEGIN>\n## `rename_state_fluent`",
"Returns current state fluent canonical name.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_action_bound_constraints_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_action_bound_constraints_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | Builds the lower and upper action bound constraint expressions. | "Builds the lower and upper action bound constraint expressions." | 158 | false | thiagopbueno/pyrddl | _build_action_bound_constraints_table | 40,260 | |
LDU_FT/ehansis/ozelot/plots_html_page | LDU_FT | [
"<BEGIN>\n## `_query`",
"Base query for an url and xpath",
" Args:\n url (str): URL to search\n xpath (str): xpath to search (may be ``None``)\n<END>",
"<BEGIN>\n## `get`",
"Get a URL via the cache.",
" If the URL exists in the cache, return the cached value. Otherwise ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plots_html_page API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plots_html_page API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Generate analysis output as html page
Args:
query_module (module): module to use for querying data for the
desired model/pipeline variant, e.g. leonardo.standard.queries | "Generate analysis output as html page\n\n Args:\n query_module (module): module to use for querying data for the\n desired model/pipeline variant, e.g. leonardo.standard.queries" | 203 | false | ehansis/ozelot | plots_html_page | 40,261 | |
LDU_FT/Aluriak/tergraw/previous_unwrittable_on_col | LDU_FT | [
"<BEGIN>\n## `clean`",
"Return a copy of given matrix where keys associated\n to space values are discarded\n<END>",
"<BEGIN>\n## `next_unwrittable_on_row`",
"Return position of the next (in row) letter that is unwrittable\n<END>",
"<BEGIN>\n## `next_unwrittable_on_col`",
"Return position of the next l... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the previous_unwrittable_on_col API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the previous_unwrittable_on_col API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Return position of the previous (in column) letter that is unwrittable | "Return position of the previous (in column) letter that is unwrittable" | 16 | false | Aluriak/tergraw | previous_unwrittable_on_col | 40,262 | |
LDU_FT/jeffh/rpi_courses/conflicts_with | LDU_FT | [
"<BEGIN>\n## `safeInt`",
"Throws an exception if the number starts with a 0 (may be significant).",
" If the value cannot be converted to an int, it is returned as is.\n<END>",
"<BEGIN>\n## `from_string`",
"Creates a new CourseCatalog instance from an string containing xml.\n<END>",
"<BEGIN>\n## `cross... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the conflicts_with API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the conflicts_with API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Returns True if the given section conflicts with this time range. | "Returns True if the given section conflicts with this time range." | 59 | false | jeffh/rpi_courses | conflicts_with | 40,263 | |
LDU_FT/notifiers/notifiers/clean_data | LDU_FT | [
"<BEGIN>\n## `handle_oneof`",
"Custom handle of `oneOf` JSON schema validator. Tried to match primitive type and see if it should be allowed\n to be passed multiple timns into a command",
" :param oneof_schema: `oneOf` JSON schema\n :return: Tuple of :class:`click.ParamType`, ``multiple`` flag and ``d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Removes all empty values and converts tuples into lists | "Removes all empty values and converts tuples into lists" | 95 | false | notifiers/notifiers | clean_data | 40,264 | |
LDU_FT/alecthomas/injector/inject | LDU_FT | [
"<BEGIN>\n## `provider`",
"Decorator for :class:`Module` methods, registering a provider of a type.",
" >>> class MyModule(Module):\n ... @provider\n ... def provide_name(self) -> str:\n ... return 'Bob'",
" @provider-decoration implies @inject so you can omit it and things will\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inject API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inject API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Decorator declaring parameters to be injected.
eg.
>>> Sizes = Key('sizes')
>>> Names = Key('names')
>>>
>>> class A:
... @inject
... def __init__(self, number: int, name: str, sizes: Sizes):
... print([number, name, sizes])
...
>>> def configure(binder):
..... | "Decorator declaring parameters to be injected.\n\n eg.\n\n >>> Sizes = Key('sizes')\n >>> Names = Key('names')\n >>>\n >>> class A:\n ... @inject\n ... def __init__(self, number: int, name: str, sizes: Sizes):\n ... print([number, name, sizes])\n ...\n >>> def configure(bi... | 60 | false | alecthomas/injector | inject | 40,265 | |
LDU_FT/fastai/fastai/on_batch_begin | LDU_FT | [
"<BEGIN>\n## `xception`",
"Preview version of Xception network. Not tested yet - use at own risk. No pretrained model yet.\n<END>",
"<BEGIN>\n## `get_model`",
"Method returns a RNN_Learner object, that wraps an instance of the RNN_Encoder module.",
" Args:\n opt_fn (Optimizer): the torch o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_batch_begin API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_batch_begin API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Clamp the weights with `self.clip` if it's not None, return the correct input. | "Clamp the weights with `self.clip` if it's not None, return the correct input." | 1,382 | true | fastai/fastai | on_batch_begin | 40,266 | |
LDU_FT/Galarzaa90/tibia.py/list_from_content | LDU_FT | [
"<BEGIN>\n## `ranks`",
":class:`list` of :class:`str`: Ranks in their hierarchical order.\n<END>",
"<BEGIN>\n## `from_content`",
"Creates an instance of the class from the HTML content of the guild's page.",
" Parameters\n -----------\n content: :class:`str`\n The HTML conten... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_from_content API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_from_content API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Gets a list of guilds from the HTML content of the world guilds' page.
Parameters
----------
content: :class:`str`
The HTML content of the page.
Returns
-------
:class:`list` of :class:`ListedGuild`
List of guilds in the current world. ``None`` i... | "Gets a list of guilds from the HTML content of the world guilds' page.\n\n Parameters\n ----------\n content: :class:`str`\n The HTML content of the page.\n\n Returns\n -------\n :class:`list` of :class:`ListedGuild`\n List of guilds in the current world.... | 254 | false | Galarzaa90/tibia.py | list_from_content | 40,267 | |
LDU_FT/port-zero/mite/get_daily | LDU_FT | [
"<BEGIN>\n## `request`",
"Low-level request interface to mite. Takes a HTTP request scheme (lower\n case!), a URL to request (relative), and optionally data to add to the\n request. Either returns the JSON body of the request or raises a \n HttpException.\n<END>",
"<BEGIN>\n## `get`",
"Lo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_daily API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_daily API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Get time entries for a date (defaults to today). | "Get time entries for a date (defaults to today)." | 32 | false | port-zero/mite | get_daily | 40,268 | |
LDU_FT/msuozzo/Lector/_login | LDU_FT | [
"<BEGIN>\n## `_to_reader_home`",
"Navigate to the Cloud Reader library page.",
" Raises:\n BrowserError: If the KCR homepage could not be loaded.\n ConnectionError: If there was a connection error.\n<END>",
"<BEGIN>\n## `_login`",
"Logs in to Kindle Cloud Reader.",
" Args:\n max_tries... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _login API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _login API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Logs in to Kindle Cloud Reader.
Args:
max_tries: The maximum number of login attempts that will be made.
Raises:
BrowserError: If method called when browser not at a signin URL.
LoginError: If login unsuccessful after `max_tries` attempts. | "Logs in to Kindle Cloud Reader.\n\n Args:\n max_tries: The maximum number of login attempts that will be made.\n\n Raises:\n BrowserError: If method called when browser not at a signin URL.\n LoginError: If login unsuccessful after `max_tries` attempts." | 29 | false | msuozzo/Lector | _login | 40,269 | |
LDU_FT/senaite/senaite.jsonapi/to_iso_date | LDU_FT | [
"<BEGIN>\n## `get`",
"Get a JSON compatible structure for the named attribute\n<END>",
"<BEGIN>\n## `json_data`",
"Get a JSON compatible value of the field\n<END>",
"<BEGIN>\n## `set`",
"Set the attribute to the given value.",
" The keyword arguments represent the other attribute values\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_iso_date API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_iso_date API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | ISO representation for the date object
:param date: A date object
:type field: datetime/DateTime
:returns: The ISO format of the date
:rtype: str | "ISO representation for the date object\n\n :param date: A date object\n :type field: datetime/DateTime\n :returns: The ISO format of the date\n :rtype: str" | 205 | false | senaite/senaite.jsonapi | to_iso_date | 40,270 | |
LDU_FT/mailgun/talon/build_pattern | LDU_FT | [
"<BEGIN>\n## `safe_format`",
"Helper: formats string with any combination of bytestrings/unicode\n strings without raising exceptions\n<END>",
"<BEGIN>\n## `to_unicode`",
"Safely returns a unicode version of a given string\n >>> utils.to_unicode('привет')\n u'привет'\n >>> utils.to_unicode(u'п... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_pattern API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_pattern API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Converts body into a pattern i.e. a point in the features space.
Applies features to the body lines and sums up the results.
Elements of the pattern indicate how many times a certain feature occurred
in the last lines of the body. | "Converts body into a pattern i.e. a point in the features space.\n\n Applies features to the body lines and sums up the results.\n Elements of the pattern indicate how many times a certain feature occurred\n in the last lines of the body." | 140 | false | mailgun/talon | build_pattern | 40,271 | |
LDU_FT/ga4gh/ga4gh-server/_add_to_ref | LDU_FT | [
"<BEGIN>\n## `VerifierMiddleware`",
"Common wrapper for the authentication modules.\n * Parses the request before passing it on to the authentication module.\n * Sets 'pyoidc' cookie if authentication succeeds.\n * Redirects the user to complete the authentication.\n * Allows the user ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_to_ref API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_to_ref API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Add new fields to the current reference. | "Add new fields to the current reference." | 768 | false | ga4gh/ga4gh-server | _add_to_ref | 40,272 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.