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/dwavesystems/dwave_networkx/maximum_clique | LDU_FT | [
"<BEGIN>\n## `traveling_salesman`",
"Returns an approximate minimum traveling salesperson route.",
" Defines a QUBO with ground states corresponding to the\n minimum routes and uses the sampler to sample\n from it.",
" A route is a cycle in the graph that reaches each node exactly once.\n A min... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the maximum_clique 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 maximum_clique 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 an approximate maximum clique.
A clique in an undirected graph G = (V, E) is a subset of the vertex set
`C \subseteq V` such that for every two vertices in C there exists an edge
connecting the two. This is equivalent to saying that the subgraph
induced by C is complete (in some cases, the term ... | "Returns an approximate maximum clique.\n A clique in an undirected graph G = (V, E) is a subset of the vertex set\n `C \\subseteq V` such that for every two vertices in C there exists an edge\n connecting the two. This is equivalent to saying that the subgraph\n induced by C is complete (in some cases, the... | 563 | false | dwavesystems/dwave_networkx | maximum_clique | 24,373 | |
LDU_FT/openfisca/openfisca-core/set_input | LDU_FT | [
"<BEGIN>\n## `apply_thresholds`",
"Return one of the choices depending on the input position compared to thresholds, for each input.",
" >>> apply_thresholds(np.array([4]), [5, 7], [10, 15, 20])\n array([10])\n >>> apply_thresholds(np.array([5]), [5, 7], [10, 15, 20])\n array([10])\n >>> apply_th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_input 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 set_input 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... | Set a variable's value (``array``) for a given period (``period``)
:param array: the input value for the variable
:param period: the period at which the value is setted
Example :
>>> holder.set_input([12, 14], '2018-04')
>>> holder.get_array('2018-04')
... | "Set a variable's value (``array``) for a given period (``period``)\n\n :param array: the input value for the variable\n :param period: the period at which the value is setted\n\n Example :\n\n >>> holder.set_input([12, 14], '2018-04')\n >>> holder.get_array('2018-... | 322 | false | openfisca/openfisca-core | set_input | 24,374 | |
LDU_FT/MechanicalSoup/MechanicalSoup/close | LDU_FT | [
"<BEGIN>\n## `new_control`",
"Call :func:`Form.new_control` on the currently selected form.\n<END>",
"<BEGIN>\n## `open`",
"Open the URL and store the Browser's state in this object.\n All arguments are forwarded to :func:`Browser.get`.",
" :return: Forwarded from :func:`Browser.get`.\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close 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 close 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... | Close the current session, if still open. | "Close the current session, if still open." | 119 | false | MechanicalSoup/MechanicalSoup | close | 24,375 | |
LDU_FT/otto-torino/django-baton/check_model_permission | LDU_FT | [
"<BEGIN>\n## `get`",
"Returns a json representing the menu voices\n in a format eaten by the js menu.\n Raised ImproperlyConfigured exceptions can be viewed\n in the browser console\n<END>",
"<BEGIN>\n## `get_title_voice`",
"Title voice\n Returns the js menu compati... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_model_permission 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 check_model_permission API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Checks if model is listed in apps_dict
Since apps_dict is derived from the app_list
given by django admin, it lists only the apps
and models the user can view | "Checks if model is listed in apps_dict\n Since apps_dict is derived from the app_list\n given by django admin, it lists only the apps\n and models the user can view" | 20 | false | otto-torino/django-baton | check_model_permission | 24,376 | |
LDU_FT/hyperledger-archives/indy-anoncreds/issueClaim | LDU_FT | [
"<BEGIN>\n## `get_hash_as_int`",
"Enumerate over the input tuple and generate a hash using the tuple values",
" :param args: sequence of either group or integer elements\n :param group: pairing group if an element is a group element\n :return:\n<END>",
"<BEGIN>\n## `randomString`",
"Generate a rand... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the issueClaim 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 issueClaim 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... | Issue a claim for the given user and schema.
:param schemaId: The schema ID (reference to claim
definition schema)
:param claimRequest: A claim request containing prover ID and
prover-generated values
:param iA: accumulator ID
:param i: claim's sequence number within acc... | "Issue a claim for the given user and schema.\n\n :param schemaId: The schema ID (reference to claim\n definition schema)\n :param claimRequest: A claim request containing prover ID and\n prover-generated values\n :param iA: accumulator ID\n :param i: claim's sequence number wi... | 48 | false | hyperledger-archives/indy-anoncreds | issueClaim | 24,377 | |
LDU_FT/Murali-group/halp/_has_converged | LDU_FT | [
"<BEGIN>\n## `_combine_attribute_arguments`",
"Combines attr_dict and attr dictionaries, by updating attr_dict\n with attr.",
" :param attr_dict: dictionary of attributes of the node.\n :param attr: keyword arguments of attributes of the node;\n attr's values will ove... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _has_converged 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 _has_converged 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... | Checks if the random walk has converged.
:param pi_star: the new vector
:param pi: the old vector
:returns: bool-- True iff pi has converged. | "Checks if the random walk has converged.\n\n :param pi_star: the new vector\n :param pi: the old vector\n :returns: bool-- True iff pi has converged." | 278 | false | Murali-group/halp | _has_converged | 24,378 | |
LDU_FT/asweigart/pyautogui/vscroll | LDU_FT | [
"<BEGIN>\n## `_specialKeyEvent`",
"Helper method for special keys.",
" Source: http://stackoverflow.com/questions/11045814/emulate-media-key-press-on-mac\n<END>",
"<BEGIN>\n## `_keyDown`",
"Performs a keyboard key press without the release. This will put that\n key in a held down state.",
" NOTE:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vscroll 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 vscroll 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... | Performs an explicitly vertical scroll of the mouse scroll wheel,
if this is supported by the operating system. (Currently just Linux.)
The x and y parameters detail where the mouse event happens. If None, the
current mouse position is used. If a float value, it is rounded down. If
outside the boundari... | "Performs an explicitly vertical scroll of the mouse scroll wheel,\n if this is supported by the operating system. (Currently just Linux.)\n\n The x and y parameters detail where the mouse event happens. If None, the\n current mouse position is used. If a float value, it is rounded down. If\n outside the bo... | 162 | false | asweigart/pyautogui | vscroll | 24,379 | |
LDU_FT/bearyinnovative/bearychat.py/send | LDU_FT | [
"<BEGIN>\n## `request`",
"Perform a request.",
" Args:\n request_method: HTTP method for this request.\n api_method: API method name for this request.\n *args: Extra arguments to pass to the request.\n **kwargs: Extra keyword arguments to pass to the request.",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send 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 send 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... | Sends a RTMMessage
Should be called after starting the loop
Args:
message(RTMMessage): the sending message
Raises:
WebSocketConnectionClosedException: if the loop is closed | "Sends a RTMMessage\n Should be called after starting the loop\n\n Args:\n message(RTMMessage): the sending message\n\n Raises:\n WebSocketConnectionClosedException: if the loop is closed" | 68 | false | bearyinnovative/bearychat.py | send | 24,380 | |
LDU_FT/google/importlab/create | LDU_FT | [
"<BEGIN>\n## `convert_to_path`",
"Converts \".module\" to \"./module\", \"..module\" to \"../module\", etc.\n<END>",
"<BEGIN>\n## `infer_module_name`",
"Convert a python filename to a module relative to pythonpath.\n<END>",
"<BEGIN>\n## `get_absolute_name`",
"Joins a package name and a relative name.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create 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 create 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 ... | Create and return a final graph.
Args:
env: An environment.Environment object
filenames: A list of filenames
trim: Whether to trim the dependencies of builtin and system files.
Returns:
An immutable ImportGraph with the recursive dependencies of all the
... | "Create and return a final graph.\n\n Args:\n env: An environment.Environment object\n filenames: A list of filenames\n trim: Whether to trim the dependencies of builtin and system files.\n\n Returns:\n An immutable ImportGraph with the recursive dependencies of all the... | 65 | false | google/importlab | create | 24,381 | |
LDU_FT/spencerahill/aospy/_load_data_from_disk | LDU_FT | [
"<BEGIN>\n## `_preprocess_and_rename_grid_attrs`",
"Call a custom preprocessing method first then rename grid attrs.",
" This wrapper is needed to generate a single function to pass to the\n ``preprocesss`` of xr.open_mfdataset. It makes sure that the\n user-specified preprocess function is called on ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_data_from_disk 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 _load_data_from_disk API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Load a Dataset from a list or glob-string of files.
Datasets from files are concatenated along time,
and all grid attributes are renamed to their aospy internal names.
Parameters
----------
file_set : list or str
List of paths to files or glob-string
preprocess_func : function (optiona... | "Load a Dataset from a list or glob-string of files.\n\n Datasets from files are concatenated along time,\n and all grid attributes are renamed to their aospy internal names.\n\n Parameters\n ----------\n file_set : list or str\n List of paths to files or glob-string\n preprocess_func : functio... | 323 | false | spencerahill/aospy | _load_data_from_disk | 24,382 | |
LDU_FT/althonos/fs.sshfs/_make_access_from_stat | LDU_FT | [
"<BEGIN>\n## `_get_ssh_config`",
"Extract the configuration located at ``config_path``.",
" Returns:\n paramiko.SSHConfig: the configuration instance.\n<END>",
"<BEGIN>\n## `openbin`",
"Open a binary file-like object.",
" Arguments:\n path (str): A path on the filesyste... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_access_from_stat 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 _make_access_from_stat API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Make an *access* dictionnary from a stat result. | "Make an *access* dictionnary from a stat result." | 26 | false | althonos/fs.sshfs | _make_access_from_stat | 24,383 | |
LDU_FT/testing-cabal/systemfixtures/_process_kill | LDU_FT | [
"<BEGIN>\n## `allocate_port`",
"Allocate an unused port.",
" There is a small race condition here (between the time we allocate the\n port, and the time it actually gets used), but for the purposes for which\n this function gets used it isn't a problem in practice.\n<END>",
"<BEGIN>\n## `spawn`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_kill 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 _process_kill 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... | Kill the fake executable process if it's still running. | "Kill the fake executable process if it's still running." | 22 | false | testing-cabal/systemfixtures | _process_kill | 24,384 | |
LDU_FT/openregister/openregister-python/meta | LDU_FT | [
"<BEGIN>\n## `config`",
"Return config variable value, defaulting to environment\n<END>",
"<BEGIN>\n## `index`",
"Search for records matching a value in an index service\n<END>",
"<BEGIN>\n## `reader`",
"Read Items from a stream containing TSV.\n<END>",
"<BEGIN>\n## `git_hash`",
"Return git-hash compa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the meta 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 meta 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... | Calculate statistics for a collection
return: meta | "Calculate statistics for a collection\n return: meta" | 14 | false | openregister/openregister-python | meta | 24,385 | |
LDU_FT/frnsys/broca/train_idf | LDU_FT | [
"<BEGIN>\n## `train_doc2vec`",
"Train a doc2vec model on a list of files.\n<END>",
"<BEGIN>\n## `_doc2vec_doc_stream`",
"Generator to feed sentences to the dov2vec model.\n<END>",
"<BEGIN>\n## `estimate_eps`",
"Estimates possible eps values (to be used with DBSCAN)\n for a given distance matrix by look... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the train_idf 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 train_idf 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... | Train a IDF model on a list of files (parallelized). | "Train a IDF model on a list of files (parallelized)." | 125 | false | frnsys/broca | train_idf | 24,386 | |
LDU_FT/AmesCornish/buttersink/display | LDU_FT | [
"<BEGIN>\n## `update`",
"Update self and parent with intermediate progress.\n<END>",
"<BEGIN>\n## `close`",
"Stop overwriting display, or update parent.\n<END>",
"<BEGIN>\n## `transfer`",
"Transfer (large) data from sender to receiver.\n<END>",
"<BEGIN>\n## `display`",
"Friendly string for volume, usi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the display 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 display 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... | Friendly string for volume, using sink paths. | "Friendly string for volume, using sink paths." | 148 | false | AmesCornish/buttersink | display | 24,387 | |
LDU_FT/equinor/segyio/update | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a new segy file.",
" Create a new segy file with the geometry and properties given by `spec`.\n This enables creating SEGY files from your data. The created file supports\n all segyio modes, but has an emphasis on writing. The spec must be\n complete, otherwise an exc... | 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 ... | d.update([E, ]**F) -> None. Update D from mapping/iterable E and F.
Overwrite the values in `d` with the keys from `E` and `F`. If any key
in `value` is invalid in `d`, ``KeyError`` is raised.
This method is atomic - either all values in `value` are set in `d`, or
none are. ``update``... | "d.update([E, ]**F) -> None. Update D from mapping/iterable E and F.\n\n Overwrite the values in `d` with the keys from `E` and `F`. If any key\n in `value` is invalid in `d`, ``KeyError`` is raised.\n\n This method is atomic - either all values in `value` are set in `d`, or\n none are. ``u... | 250 | false | equinor/segyio | update | 24,388 | |
LDU_FT/geopy/geopy/_parse_json | LDU_FT | [
"<BEGIN>\n## `_construct_url`",
"Construct geocoding request url. Overridden.",
" :param str base_api: Geocoding function base address - self.api\n or self.reverse_api.",
" :param dict params: Geocoding params.",
" :return: string URL.\n<END>",
"<BEGIN>\n## `geocode`",
"R... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_json 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_json 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 a location name, latitude, and longitude from an JSON response. | "Parse a location name, latitude, and longitude from an JSON response." | 405 | false | geopy/geopy | _parse_json | 24,389 | |
LDU_FT/amol-/depot/file_from_content | LDU_FT | [
"<BEGIN>\n## `set_default`",
"Replaces the current application default depot\n<END>",
"<BEGIN>\n## `get`",
"Gets the application wide depot instance.",
" Might return ``None`` if :meth:`configure` has not been\n called yet.\n<END>",
"<BEGIN>\n## `get_file`",
"Retrieves a file by storage na... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_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 file_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... | Provides a real file object from file content
Converts ``FileStorage``, ``FileIntent`` and
``bytes`` to an actual file. | "Provides a real file object from file content\n\n Converts ``FileStorage``, ``FileIntent`` and\n ``bytes`` to an actual file." | 51 | false | amol-/depot | file_from_content | 24,390 | |
LDU_FT/ghackebeil/PyORAM/chunkiter | LDU_FT | [
"<BEGIN>\n## `intdivceil`",
"Returns the exact value of ceil(x // y).\n No floating point calculations are used.\n Requires positive integer types. The result\n is undefined if at least one of the inputs\n is floating point.\n<END>",
"<BEGIN>\n## `chunkiter`",
"Chunk an iterator of unknown size. T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chunkiter 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 chunkiter 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... | Chunk an iterator of unknown size. The optional
keyword 'n' sets the chunk size (default 100). | "Chunk an iterator of unknown size. The optional\n keyword 'n' sets the chunk size (default 100)." | 20 | false | ghackebeil/PyORAM | chunkiter | 24,391 | |
LDU_FT/mromanello/hucitlib/get_resource_by_urn | LDU_FT | [
"<BEGIN>\n## `fetch_text_structure`",
"Fetches the text structure of a given work from a CTS endpoint.",
" :param urn: the work's CTS URN (at the work-level!,\n e.g.\"urn:cts:greekLit:tlg0012.tlg001\")\n :type urn: string\n :param endpoint: the URL of the CTS endpoint to use (defaults to Perseid... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_resource_by_urn 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 get_resource_by_urn 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... | Fetch the resource corresponding to the input CTS URN.
Currently supports
only HucitAuthor and HucitWork.
:param urn: the CTS URN of the resource to fetch
:return: either an instance of `HucitAuthor` or of `HucitWork` | "Fetch the resource corresponding to the input CTS URN.\n\n Currently supports\n only HucitAuthor and HucitWork.\n\n :param urn: the CTS URN of the resource to fetch\n :return: either an instance of `HucitAuthor` or of `HucitWork`" | 73 | false | mromanello/hucitlib | get_resource_by_urn | 24,392 | |
LDU_FT/CiscoUcs/UcsPythonSDK/SendUcsFirmware | LDU_FT | [
"<BEGIN>\n## `get_boot_device`",
"Get the current boot device for the node.\r",
" Provides the current boot device of the node. Be aware that not\r\n all drivers support this.\r",
" :raises: InvalidParameterValue if any connection parameters are\r\n incorrect.\r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the SendUcsFirmware 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 SendUcsFirmware 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... | Uploads a specific CCO Image on UCS.
- path specifies the path of the image to be uploaded. | "Uploads a specific CCO Image on UCS.\n\t\t\n\t\t- path specifies the path of the image to be uploaded." | 179 | false | CiscoUcs/UcsPythonSDK | SendUcsFirmware | 24,393 | |
LDU_FT/edx/auth-backends/get_user_claims | LDU_FT | [
"<BEGIN>\n## `get_user_if_exists`",
"Return a User with the given username iff the User exists.\n<END>",
"<BEGIN>\n## `update_email`",
"Update the user's email address using data from provider.\n<END>",
"<BEGIN>\n## `_merge_two_dicts`",
"Given two dicts, merge them into a new dict as a shallow copy.",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_user_claims 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 get_user_claims 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... | Returns a dictionary with the values for each claim requested. | "Returns a dictionary with the values for each claim requested." | 12 | false | edx/auth-backends | get_user_claims | 24,394 | |
LDU_FT/gfairchild/yelpapi/business_match_query | LDU_FT | [
"<BEGIN>\n## `autocomplete_query`",
"Query the Yelp Autocomplete API.",
" documentation: https://www.yelp.com/developers/documentation/v3/autocomplete",
" required parameters:\n * text - search text\n<END>",
"<BEGIN>\n## `business_query`",
"Query the Yelp Business API.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the business_match_query 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 business_match_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Query the Yelp Business Match API.
documentation: https://www.yelp.com/developers/documentation/v3/business_match
required parameters:
* name - business name
* city
* state
* country
* address1
... | "Query the Yelp Business Match API.\n \n documentation: https://www.yelp.com/developers/documentation/v3/business_match\n\n required parameters:\n * name - business name\n * city\n * state\n * country\n * address... | 41 | false | gfairchild/yelpapi | business_match_query | 24,395 | |
LDU_FT/lambdalisue/django-permission/get_supported_app_labels | LDU_FT | [
"<BEGIN>\n## `permission_required`",
"Permission check decorator for classbased generic view",
" This decorator works as class decorator\n DO NOT use ``method_decorator`` or whatever while this decorator will use\n ``self`` argument for method of classbased generic view.",
" Parameters\n ------... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_supported_app_labels 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 get_supported_app_labels API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Get app labels which this handler can treat.
Specified with :attr:`includes` and :attr:`excludes` of this instance.
Returns
-------
set
A set instance of app_label | "Get app labels which this handler can treat.\n Specified with :attr:`includes` and :attr:`excludes` of this instance.\n\n Returns\n -------\n set\n A set instance of app_label" | 147 | false | lambdalisue/django-permission | get_supported_app_labels | 24,396 | |
LDU_FT/aerogear/digger-build-cli/prepare | LDU_FT | [
"<BEGIN>\n## `jarsign`",
"Uses Jarsign to sign an apk target file using the provided keystore information.",
" :param storepass(str) - keystore storepass\n :param keypass(str) - keystore keypass\n :param keystore(str) - keystore file path\n :param source(str) - apk path\n :param alias(str) - keystore alias... | 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... | Prepares the android project to the build process.
Prepare the ant project to be built | "Prepares the android project to the build process.\n\n Prepare the ant project to be built" | 100 | false | aerogear/digger-build-cli | prepare | 24,397 | |
LDU_FT/dogoncouch/logdissect/filter_data | LDU_FT | [
"<BEGIN>\n## `parse_file`",
"Parse an object-per-line JSON file into a log data dict\n<END>",
"<BEGIN>\n## `filter_data`",
"Morph log data by preceeding time period (single log)\n<END>",
"<BEGIN>\n## `parse_file`",
"Parse single JSON object into a LogData object\n<END>",
"<BEGIN>\n## `filter_data`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_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 extra... | Return entries containing specified patterns (single log) | "Return entries containing specified patterns (single log)" | 24 | false | dogoncouch/logdissect | filter_data | 24,398 | |
LDU_FT/sphinx-contrib/paverutils/_get_and_create_paths | LDU_FT | [
"<BEGIN>\n## `pdf`",
"Generate PDF output.",
" Use Sphinx to produce LaTeX, then use external tools such as\n TeXLive to convert the .tex file to a PDF.",
" This task uses the following options, searching first in the\n \"pdf\" then \"sphinx\" section of the options.",
" docroot\n the ro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_and_create_paths 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_and_create_paths API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Retrieves and creates paths needed to run sphinx.
Returns a Bundle with the required values filled in. | "Retrieves and creates paths needed to run sphinx.\n\n Returns a Bundle with the required values filled in." | 38 | false | sphinx-contrib/paverutils | _get_and_create_paths | 24,399 | |
LDU_FT/shaunduncan/smokesignal/_call | LDU_FT | [
"<BEGIN>\n## `install_twisted`",
"If twisted is available, make `emit' return a DeferredList",
" This has been successfully tested with Twisted 14.0 and later.\n<END>",
"<BEGIN>\n## `emit`",
"Emits a single signal to call callbacks registered to respond to that signal.\n Optionally accepts args and kw... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _call 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 _call 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... | Calls a callback with optional args and keyword args lists. This method exists so
we can inspect the `_max_calls` attribute that's set by `_on`. If this value is None,
the callback is considered to have no limit. Otherwise, an integer value is expected
and decremented until there are no remaining calls | "Calls a callback with optional args and keyword args lists. This method exists so\n we can inspect the `_max_calls` attribute that's set by `_on`. If this value is None,\n the callback is considered to have no limit. Otherwise, an integer value is expected\n and decremented until there are no remaining calls" | 24 | false | shaunduncan/smokesignal | _call | 24,400 | |
LDU_FT/ymyzk/python-gyazo/_request_url | LDU_FT | [
"<BEGIN>\n## `get_image_list`",
"Return a list of user's saved images",
" :param page: (optional) Page number (default: 1)\n :param per_page: (optional) Number of images per page\n (default: 20, min: 1, max: 100)\n<END>",
"<BEGIN>\n## `upload_image`",
"Upload an image",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _request_url 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 _request_url 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... | Send HTTP request
:param url: URL
:param method: HTTP method (get, post or delete)
:param with_client_id: send request with client_id (default: false)
:param with_access_token: send request with with_access_token
(default: false)
:raise GyazoErr... | "Send HTTP request\n\n :param url: URL\n :param method: HTTP method (get, post or delete)\n :param with_client_id: send request with client_id (default: false)\n :param with_access_token: send request with with_access_token\n (default: false)\n :raise ... | 35 | false | ymyzk/python-gyazo | _request_url | 24,401 | |
LDU_FT/softlayer/softlayer-python/generate_order_template | LDU_FT | [
"<BEGIN>\n## `cli`",
"List package items used for ordering.",
" The item keyNames listed can be used with `slcli order place` to specify\n the items that are being ordered in the package.",
" .. Note::\n Items with a numbered category, like disk0 or gpu0, can be included\n multiple time... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_order_template 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 generate_order_template API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Generate a complete order template.
:param int quote_id: ID of target quote
:param dictionary extra: Overrides for the defaults of SoftLayer_Container_Product_Order
:param int quantity: Number of items to order. | "Generate a complete order template.\n\n :param int quote_id: ID of target quote\n :param dictionary extra: Overrides for the defaults of SoftLayer_Container_Product_Order\n :param int quantity: Number of items to order." | 1,375 | true | softlayer/softlayer-python | generate_order_template | 24,402 | |
LDU_FT/MLAB-project/pymlab/write_word_data | LDU_FT | [
"<BEGIN>\n## `Move`",
"Move some distance units from current position\n<END>",
"<BEGIN>\n## `SPI_write_byte`",
"Writes a data to a SPI device selected by chipselect bit.\n<END>",
"<BEGIN>\n## `SPI_write`",
"Writes data to SPI device selected by chipselect bit.\n<END>",
"<BEGIN>\n## `GPIO_read`",
"Read... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_word_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 e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_word_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 e... | SMBus Write Word: i2c_smbus_write_word_data()
==============================================
This is the opposite of the Read Word operation. 16 bits
of data is written to a device, to the designated register that is
specified through the Comm byte.
S Addr Wr [A] Comm [A] Data... | "SMBus Write Word: i2c_smbus_write_word_data()\n ==============================================\n\n This is the opposite of the Read Word operation. 16 bits\n of data is written to a device, to the designated register that is\n specified through the Comm byte.\n\n S Addr Wr [A] Comm ... | 99 | false | MLAB-project/pymlab | write_word_data | 24,403 | |
LDU_FT/quantumlib/Cirq/_apply_unitary_circuit | LDU_FT | [
"<BEGIN>\n## `_absorb_z_into_w`",
"Absorbs a Z^t gate into a W(a) flip.",
" [Where W(a) is shorthand for PhasedX(phase_exponent=a).]",
" Uses the following identity:\n ───W(a)───Z^t───\n ≡ ───W(a)───────────Z^t/2──────────Z^t/2─── (split Z)\n ≡ ───W(a)───W(a)───Z^-t/2───W(a)───Z^t/2... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _apply_unitary_circuit 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 _apply_unitary_circuit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Applies a circuit's unitary effect to the given vector or matrix.
This method assumes that the caller wants to ignore measurements.
Args:
circuit: The circuit to simulate. All operations must have a known
matrix or decompositions leading to known matrices. Measurements
are allo... | "Applies a circuit's unitary effect to the given vector or matrix.\n\n This method assumes that the caller wants to ignore measurements.\n\n Args:\n circuit: The circuit to simulate. All operations must have a known\n matrix or decompositions leading to known matrices. Measurements\n ... | 1,764 | true | quantumlib/Cirq | _apply_unitary_circuit | 24,404 | |
LDU_FT/cloud-custodian/cloud-custodian/get_tag_value | LDU_FT | [
"<BEGIN>\n## `factory`",
"Factory func for filters.",
" data - policy config for filters\n manager - resource type manager (ec2, s3, etc)\n<END>",
"<BEGIN>\n## `get_block_operator`",
"Determine the immediate parent boolean operator for a filter\n<END>",
"<BEGIN>\n## `_validate_resource_count... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tag_value 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 get_tag_value 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... | Get the resource's tag value specifying its schedule. | "Get the resource's tag value specifying its schedule." | 506 | false | cloud-custodian/cloud-custodian | get_tag_value | 24,405 | |
LDU_FT/wearpants/instrument/metric | LDU_FT | [
"<BEGIN>\n## `_make_decorator`",
"morass of closures for making decorators/descriptors\n<END>",
"<BEGIN>\n## `all`",
"Measure total time and item count for consuming an iterable",
" :arg iterable: any iterable\n :arg function metric: f(name, count, total_time)\n :arg str name: name for the metric\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the metric 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 metric 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 ... | A metric function that writes multiple CSV files
:arg str name: name of the metric
:arg int count: number of items
:arg float elapsed: time in seconds | "A metric function that writes multiple CSV files\n\n :arg str name: name of the metric\n :arg int count: number of items\n :arg float elapsed: time in seconds" | 53 | false | wearpants/instrument | metric | 24,406 | |
LDU_FT/ryanmcgrath/twython/update_status_with_media | LDU_FT | [
"<BEGIN>\n## `update_status_with_media`",
"Updates the authenticating user's current status and attaches media\n for upload. In other words, it creates a Tweet with a picture attached.",
" Docs:\n https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-updat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_status_with_media 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 update_status_with_media API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Updates the authenticating user's current status and attaches media
for upload. In other words, it creates a Tweet with a picture attached.
Docs:
https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-update_with_media | "Updates the authenticating user's current status and attaches media\n for upload. In other words, it creates a Tweet with a picture attached.\n\n Docs:\n https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-update_with_media" | 80 | false | ryanmcgrath/twython | update_status_with_media | 24,407 | |
LDU_FT/stevepeak/inquiry/unique | LDU_FT | [
"<BEGIN>\n## `unique`",
"Unique with keeping sort/order\n [\"a\", \"c\", \"b\", \"c\", \"c\", [\"d\", \"e\"]]",
" Results in\n [\"a\", \"c\", \"b\", \"d\", \"e\"]\n<END>",
"<BEGIN>\n## `_merge_fix`",
"Fixes keys that start with \"&\" and \"-\"\n d = {\n \"&steve\": 10,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unique 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 unique 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 ... | Unique with keeping sort/order
["a", "c", "b", "c", "c", ["d", "e"]]
Results in
["a", "c", "b", "d", "e"] | "Unique with keeping sort/order\n [\"a\", \"c\", \"b\", \"c\", \"c\", [\"d\", \"e\"]]\n\n Results in\n [\"a\", \"c\", \"b\", \"d\", \"e\"]" | 17 | false | stevepeak/inquiry | unique | 24,408 | |
LDU_FT/openclimatedata/pymagicc/get_dattype_regionmode | LDU_FT | [
"<BEGIN>\n## `get_magicc_region_to_openscm_region_mapping`",
"Get the mappings from MAGICC to OpenSCM regions.",
" This is not a pure inverse of the other way around. For example, we never provide\n \"GLOBAL\" as a MAGICC return value because it's unnecesarily confusing when we also\n have \"World\". F... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dattype_regionmode 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_dattype_regionmode 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 THISFILE_DATTYPE and THISFILE_REGIONMODE flags for a given region set.
In all MAGICC input files, there are two flags: THISFILE_DATTYPE and
THISFILE_REGIONMODE. These tell MAGICC how to read in a given input file. This
function maps the regions which are in a given file to the value of these flags
... | "Get the THISFILE_DATTYPE and THISFILE_REGIONMODE flags for a given region set.\n\n In all MAGICC input files, there are two flags: THISFILE_DATTYPE and\n THISFILE_REGIONMODE. These tell MAGICC how to read in a given input file. This\n function maps the regions which are in a given file to the value of these f... | 245 | false | openclimatedata/pymagicc | get_dattype_regionmode | 24,409 | |
LDU_FT/Shizmob/pydle/parse_modes | LDU_FT | [
"<BEGIN>\n## `on_ctcp_version`",
"Built-in CTCP version as some networks seem to require it.\n<END>",
"<BEGIN>\n## `on_raw_privmsg`",
"Modify PRIVMSG to redirect CTCP messages.\n<END>",
"<BEGIN>\n## `on_raw_notice`",
"Modify NOTICE to redirect CTCP messages.\n<END>",
"<BEGIN>\n## `_register`",
"Hijack... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_modes 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_modes 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 mode change string(s) and return updated dictionary. | "Parse mode change string(s) and return updated dictionary." | 96 | false | Shizmob/pydle | parse_modes | 24,410 | |
LDU_FT/fmenabe/python-dokuwiki/append | LDU_FT | [
"<BEGIN>\n## `date`",
"DokuWiki returns dates of `xmlrpclib`/`xmlrpc.client` ``DateTime``\n type and the format changes between DokuWiki versions ... This function\n convert *date* to a `datetime` object.\n<END>",
"<BEGIN>\n## `utc2local`",
"DokuWiki returns date with a +0000 timezone. This function con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append 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 append 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 ... | Appends *content* text to *page*.
Valid *options* are:
* *sum*: (str) change summary
* *minor*: (bool) whether this is a minor change | "Appends *content* text to *page*.\n\n Valid *options* are:\n\n * *sum*: (str) change summary\n * *minor*: (bool) whether this is a minor change" | 32 | false | fmenabe/python-dokuwiki | append | 24,411 | |
LDU_FT/peepall/FancyLogger/throw | LDU_FT | [
"<BEGIN>\n## `set_configuration`",
"Defines the current configuration of the logger. Can be used at any moment during runtime to modify the logger\n behavior.\n :param command: The command object that holds all the necessary information from the remote process.\n<END>",
"<BEGIN>\n## `run`",
"The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the throw 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 throw 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... | Posts an exception's stacktrace string as returned by 'traceback.format_exc()' in an 'except' block.
:param command: The command object that holds all the necessary information from the remote process. | "Posts an exception's stacktrace string as returned by 'traceback.format_exc()' in an 'except' block.\n :param command: The command object that holds all the necessary information from the remote process." | 61 | false | peepall/FancyLogger | throw | 24,412 | |
LDU_FT/ruipgil/TrackToTrip/generate_name | LDU_FT | [
"<BEGIN>\n## `remove_liers`",
"Removes obvious noise points",
" Checks time consistency, removing points that appear out of order",
" Args:\n points (:obj:`list` of :obj:`Point`)\n Returns:\n :obj:`list` of :obj:`Point`\n<END>",
"<BEGIN>\n## `bounds`",
"Computes the bounds of the se... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_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 ext... | Generates a name for the track
The name is generated based on the date of the first point of the
track, or in case it doesn't exist, "EmptyTrack"
Args:
name_format (str, optional): Name formar to give to the track, based on
its start time. Defaults to DEFAULT_FILE_N... | "Generates a name for the track\n\n The name is generated based on the date of the first point of the\n track, or in case it doesn't exist, \"EmptyTrack\"\n\n Args:\n name_format (str, optional): Name formar to give to the track, based on\n its start time. Defaults to DEFA... | 262 | false | ruipgil/TrackToTrip | generate_name | 24,413 | |
LDU_FT/CartoDB/cartoframes/temp_ignore_warnings | LDU_FT | [
"<BEGIN>\n## `get_scheme_cartocss`",
"Get TurboCARTO CartoCSS based on input parameters\n<END>",
"<BEGIN>\n## `custom`",
"Create a custom scheme.",
" Args:\n colors (list of str): List of hex values for styling data\n bins (int, optional): Number of bins to style by. If not given, the\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the temp_ignore_warnings 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 temp_ignore_warnings API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Temporarily ignores warnings like those emitted by the carto python sdk | "Temporarily ignores warnings like those emitted by the carto python sdk" | 217 | false | CartoDB/cartoframes | temp_ignore_warnings | 24,414 | |
LDU_FT/sailthru/relay/create_ramp_plan | LDU_FT | [
"<BEGIN>\n## `create_ramp_plan`",
"Formulate and execute on a plan to slowly add heat or cooling to the system",
" `err` initial error (PV - SP)\n `ramp` the size of the ramp",
" A ramp plan might yield MVs in this order at every timestep:\n [5, 0, 4, 0, 3, 0, 2, 0, 1]\n where err == 5 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_ramp_plan 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 create_ramp_plan 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 ... | Formulate and execute on a plan to slowly add heat or cooling to the system
`err` initial error (PV - SP)
`ramp` the size of the ramp
A ramp plan might yield MVs in this order at every timestep:
[5, 0, 4, 0, 3, 0, 2, 0, 1]
where err == 5 + 4 + 3 + 2 + 1 | "Formulate and execute on a plan to slowly add heat or cooling to the system\n\n `err` initial error (PV - SP)\n `ramp` the size of the ramp\n\n A ramp plan might yield MVs in this order at every timestep:\n [5, 0, 4, 0, 3, 0, 2, 0, 1]\n where err == 5 + 4 + 3 + 2 + 1" | 32 | false | sailthru/relay | create_ramp_plan | 24,415 | |
LDU_FT/celery/django-celery/get_task | LDU_FT | [
"<BEGIN>\n## `transaction_retry`",
"Decorator for methods doing database operations.",
" If the database operation fails, it will retry the operation\n at most ``max_retries`` times.\n<END>",
"<BEGIN>\n## `get_task`",
"Get task meta for task by ``task_id``.",
" :keyword exception_retry_count:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_task 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 get_task 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... | Get task meta for task by ``task_id``.
:keyword exception_retry_count: How many times to retry by
transaction rollback on exception. This could theoretically
happen in a race condition if another worker is trying to
create the same task. The default is to retry once. | "Get task meta for task by ``task_id``.\n\n :keyword exception_retry_count: How many times to retry by\n transaction rollback on exception. This could theoretically\n happen in a race condition if another worker is trying to\n create the same task. The default is to retry once." | 65 | false | celery/django-celery | get_task | 24,416 | |
LDU_FT/graphql-python/graphql-core-next/snake_to_camel | LDU_FT | [
"<BEGIN>\n## `uni_char_code`",
"Convert unicode characters to integers.",
" Converts four hexadecimal chars to the integer that the string represents.\n For example, uni_char_code('0','0','0','f') will return 15,\n and uni_char_code('0','0','f','f') returns 255.",
" Returns a negative number on er... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the snake_to_camel 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 snake_to_camel 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... | Convert from snake_case to CamelCase
If upper is set, then convert to upper CamelCase, otherwise the first character
keeps its case. | "Convert from snake_case to CamelCase\n\n If upper is set, then convert to upper CamelCase, otherwise the first character\n keeps its case." | 470 | false | graphql-python/graphql-core-next | snake_to_camel | 24,417 | |
LDU_FT/ozgurgunes/django-manifest/login_redirect | LDU_FT | [
"<BEGIN>\n## `create_user`",
"A simple wrapper that creates a new :class:`User`.",
" :param username:\n String containing the username of the new user.",
" :param email:\n String containing the email address of the new user.",
" :param password:\n String... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login_redirect 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 login_redirect 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... | Redirect user after successful sign in.
First looks for a ``requested_redirect``. If not supplied will fall-back
to the user specific account page. If all fails, will fall-back to the
standard Django ``LOGIN_REDIRECT_URL`` setting. Returns a string defining
the URI to go next.
:param redirect:
... | "Redirect user after successful sign in.\n\n First looks for a ``requested_redirect``. If not supplied will fall-back \n to the user specific account page. If all fails, will fall-back to the \n standard Django ``LOGIN_REDIRECT_URL`` setting. Returns a string defining \n the URI to go next.\n\n :param re... | 121 | false | ozgurgunes/django-manifest | login_redirect | 24,418 | |
LDU_FT/scidash/sciunit/color | LDU_FT | [
"<BEGIN>\n## `mean`",
"Compute a total score for each model over all the tests.",
" Uses the `norm_score` attribute, since otherwise direct comparison\n across different kinds of scores would not be possible.\n<END>",
"<BEGIN>\n## `to_html`",
"Extend Pandas built in `to_html` method for render... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the color 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 color 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... | Turn the score intp an RGB color tuple of three 8-bit integers. | "Turn the score intp an RGB color tuple of three 8-bit integers." | 128 | false | scidash/sciunit | color | 24,419 | |
LDU_FT/cathalgarvey/deadlock/get_profile | LDU_FT | [
"<BEGIN>\n## `get_slanted_adjacent_coords`",
"returns the six adjacent coordinates on a standard keyboard, where each row is slanted to the right from the last.\n adjacencies are clockwise, starting with key to the left, then two keys above, then right key, then two keys below.\n (that is, only near-diagona... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_profile 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_profile 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... | Fail-soft profile getter; if no profile is present assume none and quietly ignore. | "Fail-soft profile getter; if no profile is present assume none and quietly ignore." | 73 | false | cathalgarvey/deadlock | get_profile | 24,420 | |
LDU_FT/kurtbrose/pyjks/_jks_keystream | LDU_FT | [
"<BEGIN>\n## `new`",
"Helper function to create a new TrustedCertEntry.",
" :param str alias: The alias for the Trusted Cert Entry\n :param str certs: The certificate, as a byte string.",
" :returns: A loaded :class:`TrustedCertEntry` instance, ready\n to be placed in a keystore.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _jks_keystream 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 _jks_keystream 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... | Helper keystream generator for _jks_pkey_decrypt | "Helper keystream generator for _jks_pkey_decrypt" | 104 | false | kurtbrose/pyjks | _jks_keystream | 24,421 | |
LDU_FT/adafruit/Adafruit_Python_PN532/get_firmware_version | LDU_FT | [
"<BEGIN>\n## `create_block`",
"Build a block with the specified id and subtype under the player in the\n Minecraft world. Subtype is optional and can be specified as None to use\n the default subtype for the block.\n<END>",
"<BEGIN>\n## `_busy_wait_ms`",
"Busy wait for the specified number of milliseco... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_firmware_version 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_firmware_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Call PN532 GetFirmwareVersion function and return a tuple with the IC,
Ver, Rev, and Support values. | "Call PN532 GetFirmwareVersion function and return a tuple with the IC,\n Ver, Rev, and Support values." | 26 | false | adafruit/Adafruit_Python_PN532 | get_firmware_version | 24,422 | |
LDU_FT/ttsteiger/cryptocompy/get_current_price | LDU_FT | [
"<BEGIN>\n## `get_current_price`",
"Get latest trading price or full trading information in display or raw \r\n\tformat for the specified FROM/TO currency pairs.\r",
"\tArgs:\r\n\t\tfsyms: Single string or list of FROM symbols.\r\n\t\ttsyms: Single string or list of TO symbols.\r\n\t\te: Default returns average... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_current_price 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_current_price 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 latest trading price or full trading information in display or raw
format for the specified FROM/TO currency pairs.
Args:
fsyms: Single string or list of FROM symbols.
tsyms: Single string or list of TO symbols.
e: Default returns average price across all exchanges. Can be set to the
name of a s... | "Get latest trading price or full trading information in display or raw \r\n\tformat for the specified FROM/TO currency pairs.\r\n\r\n\tArgs:\r\n\t\tfsyms: Single string or list of FROM symbols.\r\n\t\ttsyms: Single string or list of TO symbols.\r\n\t\te: Default returns average price across all exchanges. Can be set t... | 76 | false | ttsteiger/cryptocompy | get_current_price | 24,423 | |
LDU_FT/etcher-be/epab/amend_commit | LDU_FT | [
"<BEGIN>\n## `cli`",
"This is a tool that handles all the tasks to build a Python application",
" This tool is installed as a setuptools entry point, which means it should be accessible from your terminal once\n this application is installed in develop mode.\n<END>",
"<BEGIN>\n## `sort`",
"Runs iSort ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the amend_commit 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 amend_commit 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... | Amends last commit
Args:
append_to_msg: string to append to previous message
new_message: new commit message
files_to_add: optional list of files to commit | "Amends last commit\n\n Args:\n append_to_msg: string to append to previous message\n new_message: new commit message\n files_to_add: optional list of files to commit" | 133 | false | etcher-be/epab | amend_commit | 24,424 | |
LDU_FT/josegomezr/pqb/where | LDU_FT | [
"<BEGIN>\n## `from_`",
"Establece el origen de datos (y un alias opcionalmente).\n<END>",
"<BEGIN>\n## `where`",
"Establece condiciones para la consulta unidas por AND\n<END>",
"<BEGIN>\n## `order_by`",
"Indica los campos y el criterio de ordenamiento\n<END>",
"<BEGIN>\n## `where`",
"Establece condici... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the where 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 where 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... | Establece condiciones para la consulta unidas por AND | "Establece condiciones para la consulta unidas por AND" | 14 | false | josegomezr/pqb | where | 24,425 | |
LDU_FT/apriha/lineage/create_dir | LDU_FT | [
"<BEGIN>\n## `detect_build`",
"Detect build of SNPs.",
" Use the coordinates of common SNPs to identify the build / assembly of a genotype file\n that is being loaded.",
" Notes\n -----\n rs3094315 : plus strand in 36, 37, and 38\n rs11928389 : plus strand in 36, minus strand in 37 and 38\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_dir 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 create_dir 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... | Create directory specified by `path` if it doesn't already exist.
Parameters
----------
path : str
path to directory
Returns
-------
bool
True if `path` exists | "Create directory specified by `path` if it doesn't already exist.\n\n Parameters\n ----------\n path : str\n path to directory\n\n Returns\n -------\n bool\n True if `path` exists" | 183 | false | apriha/lineage | create_dir | 24,426 | |
LDU_FT/kubernetes-client/python/list_namespaced_role | LDU_FT | [
"<BEGIN>\n## `delete_namespaced_horizontal_pod_autoscaler`",
"delete a HorizontalPodAutoscaler\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.delete_namespaced_horizontal_pod_autoscaler(name, nam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_namespaced_role 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 list_namespaced_role API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | list or watch objects of kind Role
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_namespaced_role(namespace, async_req=True)
>>> result = thread.get()
:param async_req bool
:... | "list or watch objects of kind Role\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.list_namespaced_role(namespace, async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\n ... | 1,652 | true | kubernetes-client/python | list_namespaced_role | 24,427 | |
LDU_FT/viveksck/changepoint/compute_balance_mean_ts | LDU_FT | [
"<BEGIN>\n## `estimate_cp`",
"Estimate changepoints in a time series by using R.\n<END>",
"<BEGIN>\n## `estimate_cp_pval`",
"Estimate changepoints in a time series by using R.\n<END>",
"<BEGIN>\n## `get_ts_stats_significance`",
"Returns the statistics, pvalues and the actual number of bootstrap\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_balance_mean_ts 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 compute_balance_mean_ts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Compute the balance at each time 't' of the time series. | "Compute the balance at each time 't' of the time series." | 28 | false | viveksck/changepoint | compute_balance_mean_ts | 24,428 | |
LDU_FT/nilp0inter/cpe/append | LDU_FT | [
"<BEGIN>\n## `_trim`",
"Remove trailing colons from the URI back to the first non-colon.",
" :param string s: input URI string\n :returns: URI string with trailing colons removed\n :rtype: string",
" TEST: trailing colons necessary",
" >>> s = '1:2::::'\n >>> CPE._t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append 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 append 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 ... | Adds a CPE element to the set if not already.
Only WFN CPE Names are valid, so this function converts the input CPE
object of version 2.3 to WFN style.
:param CPE cpe: CPE Name to store in set
:returns: None
:exception: ValueError - invalid version of CPE Name | "Adds a CPE element to the set if not already.\n Only WFN CPE Names are valid, so this function converts the input CPE\n object of version 2.3 to WFN style.\n\n :param CPE cpe: CPE Name to store in set\n :returns: None\n :exception: ValueError - invalid version of CPE Name" | 206 | false | nilp0inter/cpe | append | 24,429 | |
LDU_FT/pyroscope/pyrocore/anneal | LDU_FT | [
"<BEGIN>\n## `resolve_slashed`",
"Resolve symlinked directories if they end in a '/',\n remove trailing '/' otherwise.\n<END>",
"<BEGIN>\n## `guarded`",
"Catch exceptions thrown by filesystem calls, and don't really\n execute them in dry-run mode.\n<END>",
"<BEGIN>\n## `_make_it_so`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the anneal 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 anneal 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 ... | Perform post-processing.
Return True when any changes were applied. | "Perform post-processing.\n\n Return True when any changes were applied." | 247 | false | pyroscope/pyrocore | anneal | 24,430 | |
LDU_FT/ofek/bit/segwit_address | LDU_FT | [
"<BEGIN>\n## `currency_to_satoshi`",
"Converts a given amount of currency to the equivalent number of\n satoshi. The amount can be either an int, float, or string as long as\n it is a valid input to :py:class:`decimal.Decimal`.",
" :param amount: The quantity of currency.\n :param currency: One of t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the segwit_address 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 segwit_address 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... | The public segwit nested in P2SH address you share with others to
receive funds. | "The public segwit nested in P2SH address you share with others to\n receive funds." | 71 | false | ofek/bit | segwit_address | 24,431 | |
LDU_FT/pneff/wsgiservice/raise_415 | LDU_FT | [
"<BEGIN>\n## `raise_201`",
"Abort the current request with a 201 (Created) response code. Sets the\n Location header correctly. If the location does not start with a slash,\n the path of the current request is prepended.",
" :param instance: Resource instance (used to access the response)\n :type in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raise_415 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 raise_415 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... | Abort the current request with a 415 (Unsupported Media Type) response
code. If the message is given it's output as an error message in the
response body (correctly converted to the requested MIME type).
:param instance: Resource instance (used to access the response)
:type instance: :class:`webob.reso... | "Abort the current request with a 415 (Unsupported Media Type) response\n code. If the message is given it's output as an error message in the\n response body (correctly converted to the requested MIME type).\n\n :param instance: Resource instance (used to access the response)\n :type instance: :class:`webo... | 156 | false | pneff/wsgiservice | raise_415 | 24,432 | |
LDU_FT/chimera0/accel-brain-code/inference | LDU_FT | [
"<BEGIN>\n## `draw`",
"Draws samples from the `true` distribution.\r",
" Returns:\r\n `np.ndarray` of samples.\n<END>",
"<BEGIN>\n## `generate`",
"Generate noise samples.\r",
" Returns:\r\n `np.ndarray` of samples.\n<END>",
"<BEGIN>\n## `generate`",
"Draws samples f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inference 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 inference 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... | Draws samples from the `true` distribution.
Args:
observed_arr: `np.ndarray` of observed data points.
Returns:
`np.ndarray` of inferenced. | "Draws samples from the `true` distribution.\r\n\r\n Args:\r\n observed_arr: `np.ndarray` of observed data points.\r\n \r\n Returns:\r\n `np.ndarray` of inferenced." | 550 | false | chimera0/accel-brain-code | inference | 24,433 | |
LDU_FT/veeti/decent/Range | LDU_FT | [
"<BEGIN>\n## `as_dict`",
"Returns the error as a path to message dictionary. Paths are joined\n with the ``join`` string.\n<END>",
"<BEGIN>\n## `as_dict`",
"Returns all the errors in this collection as a path to message\n dictionary. Paths are joined with the ``join`` string.\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Range 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 Range 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... | Creates a validator that checks if the given numeric value is in the
specified range, inclusive.
Accepts values specified by ``numbers.Number`` only, excluding booleans.
The error messages raised can be customized with ``min_message`` and
``max_message``. The ``min`` and ``max`` arguments are formatte... | "Creates a validator that checks if the given numeric value is in the\n specified range, inclusive.\n\n Accepts values specified by ``numbers.Number`` only, excluding booleans.\n\n The error messages raised can be customized with ``min_message`` and\n ``max_message``. The ``min`` and ``max`` arguments are f... | 47 | false | veeti/decent | Range | 24,434 | |
LDU_FT/qba73/circleclient/recent_all_projects | LDU_FT | [
"<BEGIN>\n## `client_post`",
"Send POST request with given url and keyword args.\n<END>",
"<BEGIN>\n## `trigger`",
"Trigger new build and return a summary of the build.\n<END>",
"<BEGIN>\n## `cancel`",
"Cancel the build and return its summary.\n<END>",
"<BEGIN>\n## `recent_all_projects`",
"Return info... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the recent_all_projects 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 recent_all_projects 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... | Return information about recent builds across all projects.
Args:
limit (int), Number of builds to return, max=100, defaults=30.
offset (int): Builds returned from this point, default=0.
Returns:
A list of dictionaries. | "Return information about recent builds across all projects.\n\n Args:\n limit (int), Number of builds to return, max=100, defaults=30.\n offset (int): Builds returned from this point, default=0.\n\n Returns:\n A list of dictionaries." | 15 | false | qba73/circleclient | recent_all_projects | 24,435 | |
LDU_FT/FNNDSC/chrisapp/get_json_representation | LDU_FT | [
"<BEGIN>\n## `path`",
"Define the 'path' data type that can be used by apps.\n<END>",
"<BEGIN>\n## `get_json_representation`",
"Return a JSON object with a representation of this app (type and parameters).\n<END>",
"<BEGIN>\n## `save_json_representation`",
"Save the app's JSON representation object to a J... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_json_representation 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_json_representation API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Return a JSON object with a representation of this app (type and parameters). | "Return a JSON object with a representation of this app (type and parameters)." | 16 | false | FNNDSC/chrisapp | get_json_representation | 24,436 | |
LDU_FT/amzn/ion-python/_drain | LDU_FT | [
"<BEGIN>\n## `local_symbol_table`",
"Constructs a local symbol table.",
" Args:\n imports (Optional[SymbolTable]): Shared symbol tables to import.\n symbols (Optional[Iterable[Unicode]]): Initial local symbols to add.",
" Returns:\n SymbolTable: A mutable local symbol table with the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _drain 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 _drain 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 ... | Drain the writer of its pending write events.
Args:
writer (Coroutine): A writer co-routine.
ion_event (amazon.ion.core.IonEvent): The first event to apply to the writer.
Yields:
DataEvent: Yields each pending data event. | "Drain the writer of its pending write events.\n\n Args:\n writer (Coroutine): A writer co-routine.\n ion_event (amazon.ion.core.IonEvent): The first event to apply to the writer.\n\n Yields:\n DataEvent: Yields each pending data event." | 384 | false | amzn/ion-python | _drain | 24,437 | |
LDU_FT/AlecAivazis/graphql-over-kafka/walk_query | LDU_FT | [
"<BEGIN>\n## `roll_call_handler`",
"This action handler responds to the \"roll call\" emitted by the api\n gateway when it is brought up with the normal summary produced by\n the service.\n<END>",
"<BEGIN>\n## `flexible_api_handler`",
"This query handler builds the dynamic picture of availible s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the walk_query 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 walk_query 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 traverses a query and collects the corresponding
information in a dictionary. | "This function traverses a query and collects the corresponding\n information in a dictionary." | 145 | false | AlecAivazis/graphql-over-kafka | walk_query | 24,438 | |
LDU_FT/F-Secure/see/subscribe_async | LDU_FT | [
"<BEGIN>\n## `create`",
"Creates a virtual network according to the given configuration.",
" @param hypervisor: (libvirt.virConnect) connection to libvirt hypervisor.\n @param identifier: (str) UUID for the virtual network.\n @param configuration: (dict) network configuration.",
" @return: (libvir... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subscribe_async 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 subscribe_async 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... | Subscribes an asynchronous Handler for the given Event.
An asynchronous handler is executed concurrently to the others
without blocking the Events flow.
@param event: (str|see.Event) event to react to.
@param handler: (callable) function or method to subscribe. | "Subscribes an asynchronous Handler for the given Event.\n\n An asynchronous handler is executed concurrently to the others\n without blocking the Events flow.\n\n @param event: (str|see.Event) event to react to.\n @param handler: (callable) function or method to subscribe." | 130 | false | F-Secure/see | subscribe_async | 24,439 | |
LDU_FT/jrief/django-sass-processor/find_templates | LDU_FT | [
"<BEGIN>\n## `traverse_tree`",
"traverse the static folders an look for at least one file ending in .scss/.sass\n<END>",
"<BEGIN>\n## `find_sources`",
"Look for Python sources available for the current configuration.\n<END>",
"<BEGIN>\n## `parse_source`",
"Extract the statements from the given file, look ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_templates 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 find_templates 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... | Look for templates and extract the nodes containing the SASS file. | "Look for templates and extract the nodes containing the SASS file." | 14 | false | jrief/django-sass-processor | find_templates | 24,440 | |
LDU_FT/hfaran/Tornado-JSON/get_api_docs | LDU_FT | [
"<BEGIN>\n## `_validate_example`",
"Validates example against schema",
" :returns: Formatted example if example exists and validates, otherwise None\n :raises ValidationError: If example does not validate against the schema\n<END>",
"<BEGIN>\n## `_get_rh_methods`",
"Yield all HTTP methods in ``rh`` th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_api_docs 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_api_docs 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... | Generates GitHub Markdown formatted API documentation using
provided schemas in RequestHandler methods and their docstrings.
:type routes: [(url, RequestHandler), ...]
:param routes: List of routes (this is ideally all possible routes of the
app)
:rtype: str
:returns: generated GFM-formatt... | "Generates GitHub Markdown formatted API documentation using\n provided schemas in RequestHandler methods and their docstrings.\n\n :type routes: [(url, RequestHandler), ...]\n :param routes: List of routes (this is ideally all possible routes of the\n app)\n :rtype: str\n :returns: generated GFM... | 61 | false | hfaran/Tornado-JSON | get_api_docs | 24,441 | |
LDU_FT/senaite/senaite.core/upgradestep | LDU_FT | [
"<BEGIN>\n## `get_type_id`",
"Returns the type id for the context passed in\n<END>",
"<BEGIN>\n## `get_suffix`",
"Get the suffix of the ID, e.g. '-R01' or '-P05'",
" The current regex determines a pattern of a single uppercase character with\n at most 2 numbers following at the end of the ID as the su... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upgradestep 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 upgradestep 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... | Decorator for updating the QuickInstaller of a upgrade | "Decorator for updating the QuickInstaller of a upgrade" | 2,333 | true | senaite/senaite.core | upgradestep | 24,442 | |
LDU_FT/ojarva/python-ledcontroller/white | LDU_FT | [
"<BEGIN>\n## `execute`",
"Execute a single command, and sets sleep times properly.",
" - controller_id = index of controller, zero-based\n - command is normal LedController command as a string\n - *args and **kwargs are passed to command",
" For example, .execute(0, \"on\", 1) send... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the white 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 white 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... | Switch lights on and change color to white.
If group (1-4) is not specified, all four groups
will be switched on and to white. | "Switch lights on and change color to white.\n If group (1-4) is not specified, all four groups\n will be switched on and to white." | 49 | false | ojarva/python-ledcontroller | white | 24,443 | |
LDU_FT/cenkalti/github-flask/raw_request | LDU_FT | [
"<BEGIN>\n## `authorize`",
"Redirect to GitHub and request access to a user's data.",
" :param scope: List of `Scopes`_ for which to request access, formatted\n as a string or comma delimited list of scopes as a\n string. Defaults to ``None``, resulting in granti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raw_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raw_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 extra... | Makes a HTTP request and returns the raw
:class:`~requests.Response` object. | "Makes a HTTP request and returns the raw\n :class:`~requests.Response` object." | 24 | false | cenkalti/github-flask | raw_request | 24,444 | |
LDU_FT/square/connect-python-sdk/employee_id | LDU_FT | [
"<BEGIN>\n## `attribute_name`",
"Sets the attribute_name of this CatalogQueryRange.\n The name of the attribute to be searched.",
" :param attribute_name: The attribute_name of this CatalogQueryRange.\n :type: str\n<END>",
"<BEGIN>\n## `idempotency_key`",
"Sets the idempotency_key of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the employee_id 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 employee_id 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... | Sets the employee_id of this Shift.
The ID of the employee this shift belongs to.
:param employee_id: The employee_id of this Shift.
:type: str | "Sets the employee_id of this Shift.\n The ID of the employee this shift belongs to.\n\n :param employee_id: The employee_id of this Shift.\n :type: str" | 148 | false | square/connect-python-sdk | employee_id | 24,445 | |
LDU_FT/SwissDataScienceCenter/renku-python/update | LDU_FT | [
"<BEGIN>\n## `_jsonld`",
"Return formatted graph in JSON-LD ``format`` function.\n<END>",
"<BEGIN>\n## `_rdf2dot_simple`",
"Create a simple graph of processes and artifacts.\n<END>",
"<BEGIN>\n## `_rdf2dot_reduced`",
"A reduced dot graph.",
" Adapted from original source:\n https://rdflib.readthed... | 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 ... | Update existing files by rerunning their outdated workflow. | "Update existing files by rerunning their outdated workflow." | 121 | false | SwissDataScienceCenter/renku-python | update | 24,446 | |
LDU_FT/zeroSteiner/smoke-zephyr/log_level_type | LDU_FT | [
"<BEGIN>\n## `normalize_job_id`",
"Convert a value to a job id.",
"\t:param job_id: Value to convert.\n\t:type job_id: int, str\n\t:return: The job id.\n\t:rtype: :py:class:`uuid.UUID`\n<END>",
"<BEGIN>\n## `now`",
"Return a :py:class:`datetime.datetime` instance representing the current time.",
"\t\t:rty... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log_level_type 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 log_level_type 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... | An argparse type representing a logging level. | "An argparse type representing a logging level." | 116 | false | zeroSteiner/smoke-zephyr | log_level_type | 24,447 | |
LDU_FT/projecthamster/hamster/bring_to_front | LDU_FT | [
"<BEGIN>\n## `set_start_time`",
"set the start time. when start time is set, drop down list\n will start from start time and duration will be displayed in\n brackets\n<END>",
"<BEGIN>\n## `parse_fact`",
"tries to extract fact fields from the string\n the optional arguments in the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bring_to_front 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 bring_to_front 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... | adjusts sprite's z-order so that the sprite is on top of it's
siblings | "adjusts sprite's z-order so that the sprite is on top of it's\n siblings" | 249 | false | projecthamster/hamster | bring_to_front | 24,448 | |
LDU_FT/frasertweedale/ledgertools/filter_decimal | LDU_FT | [
"<BEGIN>\n## `apply`",
"Manufacture decorator that filters return value with given function.",
" ``filter``:\n Callable that takes a single parameter.\n<END>",
"<BEGIN>\n## `format_outpat`",
"Format an outpat for the given transaction.",
" Format the given output filename pattern. The pattern ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_decimal 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 filter_decimal 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... | Return the input decimal number, or the default. | "Return the input decimal number, or the default." | 82 | false | frasertweedale/ledgertools | filter_decimal | 24,449 | |
LDU_FT/intuition-io/insights/save_portfolio | LDU_FT | [
"<BEGIN>\n## `push_to_android`",
"Push android notification through www.pushbullet.com\n<END>",
"<BEGIN>\n## `_device_lookup`",
"Request informations about <name> device\n<END>",
"<BEGIN>\n## `_watchdog`",
"Notifications are stopped if\n * The last one was too close\n * We reach a rated ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_portfolio 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 save_portfolio 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... | Store in Rethinkdb a zipline.Portfolio object | "Store in Rethinkdb a zipline.Portfolio object" | 14 | false | intuition-io/insights | save_portfolio | 24,450 | |
LDU_FT/GeoPyTool/GeoPyTool/create_main_frame | LDU_FT | [
"<BEGIN>\n## `lines`",
"read the Excel, then draw the wulf net and Plot points, job done~\n<END>",
"<BEGIN>\n## `add_edge`",
"Add a line between the i-th and j-th points,\n if not in the list already\n<END>",
"<BEGIN>\n## `alpha_shape`",
"Compute the alpha shape (concave hull) of a set\n of points.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_main_frame 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 create_main_frame 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... | for w in [self.fit_cb,self.fit_label, self.fit_seter,self.xlim_seter_left_label,self.xlim_seter_left,self.xlim_seter_right_label,self.xlim_seter_right,self.ylim_seter_down_label,self.ylim_seter_down,self.ylim_seter_up_label,self.ylim_seter_up,self.shape_cb]:
self.hbox0.addWidget(w)
self.hbox0.se... | "for w in [self.fit_cb,self.fit_label, self.fit_seter,self.xlim_seter_left_label,self.xlim_seter_left,self.xlim_seter_right_label,self.xlim_seter_right,self.ylim_seter_down_label,self.ylim_seter_down,self.ylim_seter_up_label,self.ylim_seter_up,self.shape_cb]:\n self.hbox0.addWidget(w)\n self.hbox0... | 53 | false | GeoPyTool/GeoPyTool | create_main_frame | 24,451 | |
LDU_FT/wuher/devil/parse_accept_header | LDU_FT | [
"<BEGIN>\n## `create`",
"Create object from the given data.",
" The given data may or may not have been validated prior to calling\n this function. This function will try its best in creating the object.\n If the resulting object cannot be produced, raises ``ValidationError``.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_accept_header 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 parse_accept_header 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... | Parse the Accept header
todo: memoize
:returns: list with pairs of (media_type, q_value), ordered by q
values. | "Parse the Accept header\n\n todo: memoize\n\n :returns: list with pairs of (media_type, q_value), ordered by q\n values." | 193 | false | wuher/devil | parse_accept_header | 24,452 | |
LDU_FT/Azure/azure-cli-extensions/express_route_cross_connection_peerings | LDU_FT | [
"<BEGIN>\n## `_retry`",
"A function which determines whether and how to retry.",
" :param ~azure.storage.models.RetryContext context: \n The retry context. This contains the request, response, and other data \n which can be used to determine whether or not to retry.\n :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the express_route_cross_connection_peerings API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicate... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the express_route_cross_connection_peerings API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicate... | Instance depends on the API version:
* 2018-02-01: :class:`ExpressRouteCrossConnectionPeeringsOperations<azure.mgmt.network.v2018_02_01.operations.ExpressRouteCrossConnectionPeeringsOperations>`
* 2018-04-01: :class:`ExpressRouteCrossConnectionPeeringsOperations<azure.mgmt.network.v2018_04_01.ope... | "Instance depends on the API version:\n\n * 2018-02-01: :class:`ExpressRouteCrossConnectionPeeringsOperations<azure.mgmt.network.v2018_02_01.operations.ExpressRouteCrossConnectionPeeringsOperations>`\n * 2018-04-01: :class:`ExpressRouteCrossConnectionPeeringsOperations<azure.mgmt.network.v2018_04_01... | 472 | false | Azure/azure-cli-extensions | express_route_cross_connection_peerings | 24,453 | |
LDU_FT/ddorn/GUI/color | LDU_FT | [
"<BEGIN>\n## `select`",
"Select an arbitrary item, by possition or by reference.\n<END>",
"<BEGIN>\n## `on_select`",
"Add an action to make when an object is selected.\n Only one action can be stored this way.\n<END>",
"<BEGIN>\n## `on_unselect`",
"Add an action to make when an object is unfocused.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the color 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 color 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... | Set the color to a new value (tuple). Renders the text if needed. | "Set the color to a new value (tuple). Renders the text if needed." | 84 | false | ddorn/GUI | color | 24,454 | |
LDU_FT/bfrog/whizzer/_readable | LDU_FT | [
"<BEGIN>\n## `remote`",
"Decorator that adds a remote attribute to a function.",
" fn -- function being decorated\n name -- aliased name of the function, used for remote proxies\n types -- a argument type specifier, can be used to ensure\n arguments are of the correct type\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _readable 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 _readable 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... | Called by the pyev watcher (self.read_watcher) whenever the socket
is readable.
Calls recv and checks for errors. If there are no errors then read_cb
is called with the newly arrived bytes. Otherwise closes the socket
and calls close_cb with the error. | "Called by the pyev watcher (self.read_watcher) whenever the socket\n is readable.\n\n Calls recv and checks for errors. If there are no errors then read_cb\n is called with the newly arrived bytes. Otherwise closes the socket\n and calls close_cb with the error." | 107 | false | bfrog/whizzer | _readable | 24,455 | |
LDU_FT/ralphje/imagemounter/find_volume_groups | LDU_FT | [
"<BEGIN>\n## `_get_mount_methods`",
"Finds which mount methods are suitable for the specified disk type. Returns a list of all suitable mount\n methods.\n<END>",
"<BEGIN>\n## `mount`",
"Mounts the base image on a temporary location using the mount method stored in :attr:`method`. If mounting\n w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_volume_groups 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 find_volume_groups 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... | Finds all volume groups that are mounted through a loopback originating from :attr:`orig_re_pattern`.
Generator yields tuples of vgname, pvname | "Finds all volume groups that are mounted through a loopback originating from :attr:`orig_re_pattern`.\n\n Generator yields tuples of vgname, pvname" | 225 | false | ralphje/imagemounter | find_volume_groups | 24,456 | |
LDU_FT/dtmilano/AndroidViewClient/distanceTo | LDU_FT | [
"<BEGIN>\n## `takeScreenshotAndShowItOnWindow`",
"Takes the current screenshot and shows it on the main window.\n It also:\n - sizes the window\n - create the canvas\n - set the focus\n - enable the events\n - create widgets\n - finds the targets (as explaine... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the distanceTo 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 distanceTo 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... | Calculates the distance between the current state and the tree passed as argument.
@type tree: list of Views
@param tree: Tree of Views
@return: the distance | "Calculates the distance between the current state and the tree passed as argument.\n\n @type tree: list of Views\n @param tree: Tree of Views\n @return: the distance" | 197 | false | dtmilano/AndroidViewClient | distanceTo | 24,457 | |
LDU_FT/python-rope/rope/transform | LDU_FT | [
"<BEGIN>\n## `find_occurrences`",
"Return a list of `Location`\\s",
" If `unsure` is `True`, possible matches are returned, too. You\n can use `Location.unsure` to see which are unsure occurrences.\n `resources` can be a list of `rope.base.resource.File`\\s that\n should be searched for occurrences... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform 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 transform 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... | Transform an object from textual form to `PyObject` | "Transform an object from textual form to `PyObject`" | 312 | false | python-rope/rope | transform | 24,458 | |
LDU_FT/portfors-lab/sparkle/getCheckedDetails | LDU_FT | [
"<BEGIN>\n## `purgeDeletedWidgets`",
"Finds old references to stashed fields and deletes them\n<END>",
"<BEGIN>\n## `set_calibration`",
"See :meth:`AbstractAcquisitionRunner<sparkle.run.abstract_acquisition.AbstractAcquisitionRunner.set_calibration>`\n<END>",
"<BEGIN>\n## `set_current_stim_parameter`",
"S... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getCheckedDetails 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 getCheckedDetails 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 the currently checked components and checked attributes
:returns: dict -- of members with stimtype:list<attribute names> | "Gets the currently checked components and checked attributes\n\n :returns: dict -- of members with stimtype:list<attribute names>" | 834 | false | portfors-lab/sparkle | getCheckedDetails | 24,459 | |
LDU_FT/planetlabs/planet-client-python/read | LDU_FT | [
"<BEGIN>\n## `get_body`",
"Get the response Body",
" :returns Body: A Body object containing the response.\n<END>",
"<BEGIN>\n## `last_modified`",
"Read the last-modified header as a datetime, if present.\n<END>",
"<BEGIN>\n## `write`",
"Write the contents of the body to the optionally provided f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read 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 read 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... | Get the value of an option interpreting as a file implicitly or
explicitly and falling back to the value if not explicitly specified.
If the value is '@name', then a file must exist with name and the returned
value will be the contents of that file. If the value is '@-' or '-', then
stdin will be read a... | "Get the value of an option interpreting as a file implicitly or\n explicitly and falling back to the value if not explicitly specified.\n If the value is '@name', then a file must exist with name and the returned\n value will be the contents of that file. If the value is '@-' or '-', then\n stdin will be r... | 129 | false | planetlabs/planet-client-python | read | 24,460 | |
LDU_FT/django-import-export/django-import-export/import_field | LDU_FT | [
"<BEGIN>\n## `has_import_permission`",
"Returns whether a request has import permission.\n<END>",
"<BEGIN>\n## `get_import_resource_kwargs`",
"Prepares/returns kwargs used when initializing Resource\n<END>",
"<BEGIN>\n## `process_import`",
"Perform the actual import action (after the user has confirmed th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_field 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 import_field 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... | Calls :meth:`import_export.fields.Field.save` if ``Field.attribute``
and ``Field.column_name`` are found in ``data``. | "Calls :meth:`import_export.fields.Field.save` if ``Field.attribute``\n and ``Field.column_name`` are found in ``data``." | 84 | false | django-import-export/django-import-export | import_field | 24,461 | |
LDU_FT/mbakker7/timml/equation | LDU_FT | [
"<BEGIN>\n## `plot`",
"Plot layout",
" Parameters\n ----------",
" win : list or tuple\n [x1, x2, y1, y2]\n<END>",
"<BEGIN>\n## `contour`",
"Contour plot",
" Parameters\n ----------",
" win : list or tuple\n [x1, x2, y1, y2]\n ngr ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the equation 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 equation 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... | Mix-in class that returns matrix rows for leaky wall condition.
Qnormal = resfac * (headin - headout)
Returns matrix part (nunknowns,neq)
Returns rhs part nunknowns | "Mix-in class that returns matrix rows for leaky wall condition.\n Qnormal = resfac * (headin - headout)\n Returns matrix part (nunknowns,neq)\n Returns rhs part nunknowns" | 82 | false | mbakker7/timml | equation | 24,462 | |
LDU_FT/influxdata/influxdb-python/add_database_user | LDU_FT | [
"<BEGIN>\n## `_get_unicode`",
"Try to return a text aka unicode object from the given data.\n<END>",
"<BEGIN>\n## `make_lines`",
"Extract points from given dict.",
" Extracts the points from the given dict and returns a Unicode string\n matching the line protocol introduced in InfluxDB 0.9.0.\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_database_user 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 add_database_user 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... | Add database user.
:param permissions: A ``(readFrom, writeTo)`` tuple | "Add database user.\n\n :param permissions: A ``(readFrom, writeTo)`` tuple" | 205 | false | influxdata/influxdb-python | add_database_user | 24,463 | |
LDU_FT/iotile/coretools/dump_begin | LDU_FT | [
"<BEGIN>\n## `_value_length`",
"Given an integer or list of them, convert it to an array of bytes.\n<END>",
"<BEGIN>\n## `_parse_line`",
"Parse a line in a TileBus file",
" Args:\n line_no (int): The line number for printing useful error messages\n line (string): The line that w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump_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 extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump_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 extrac... | Start dumping a stream.
Args:
selector_id (int): The buffered stream we want to dump.
Returns:
(int, int, int): Error code, second error code, number of available readings | "Start dumping a stream.\n\n Args:\n selector_id (int): The buffered stream we want to dump.\n\n Returns:\n (int, int, int): Error code, second error code, number of available readings" | 4,849 | true | iotile/coretools | dump_begin | 24,464 | |
LDU_FT/raphaelm/django-hierarkey/freeze | LDU_FT | [
"<BEGIN>\n## `add_default`",
"Adds a default value and a default type for a key.",
" :param key: Key\n :param value: *Serialized* default value, i.e. a string or ``None``.\n :param default_type: The type to unserialize values for this key to, defaults to ``str``.\n<END>",
"<BEGIN>\n## `ad... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the freeze 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 freeze 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 ... | Returns a dictionary of all settings set for this object, including
any values of its parents or hardcoded defaults. | "Returns a dictionary of all settings set for this object, including\n any values of its parents or hardcoded defaults." | 29 | false | raphaelm/django-hierarkey | freeze | 24,465 | |
LDU_FT/mdickinson/refcycle/object_annotation | LDU_FT | [
"<BEGIN>\n## `restore_gc_state`",
"Restore the garbage collector state on leaving the with block.\n<END>",
"<BEGIN>\n## `children`",
"Return the list of immediate children of the given vertex.\n<END>",
"<BEGIN>\n## `parents`",
"Return the list of immediate parents of this vertex.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the object_annotation 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 object_annotation 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... | Return a string to be used for Graphviz nodes. The string
should be short but as informative as possible. | "Return a string to be used for Graphviz nodes. The string\n should be short but as informative as possible." | 98 | false | mdickinson/refcycle | object_annotation | 24,466 | |
LDU_FT/wal-e/wal-e/connect | LDU_FT | [
"<BEGIN>\n## `configure`",
"Configure logging.",
" Borrowed from logging.basicConfig",
" Uses the IndentFormatter instead of the regular Formatter",
" Also, opts the caller into Syslog output, unless syslog could not\n be opened for some reason or another, in which case a warning will\n be pr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect 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 connect 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... | Construct a connection value to Google Storage API
The credentials are retrieved using get_credentials that checks
the environment for the correct values. | "Construct a connection value to Google Storage API\n\n The credentials are retrieved using get_credentials that checks\n the environment for the correct values." | 214 | false | wal-e/wal-e | connect | 24,467 | |
LDU_FT/fred49/linshare-api/compute_key | LDU_FT | [
"<BEGIN>\n## `upload`",
"Upload a file to LinShare using its rest api.\n The uploaded document uuid will be returned\n<END>",
"<BEGIN>\n## `upload`",
"Upload a file to LinShare using its rest api.\n The uploaded document uuid will be returned\n<END>",
"<BEGIN>\n## `compute_key`",
"This funct... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_key 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 compute_key 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... | This function is used to compute a unique key from all connection parametters. | "This function is used to compute a unique key from all connection parametters." | 21 | false | fred49/linshare-api | compute_key | 24,468 | |
LDU_FT/koordinates/python-client/get_published | LDU_FT | [
"<BEGIN>\n## `create`",
"Create single permission for the given object.",
" :param Permission permission: A single Permission object to be set.\n<END>",
"<BEGIN>\n## `set`",
"Set the object permissions. If the parent object already has permissions, they will be overwritten.",
" :param [] per... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_published 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 get_published 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... | Get the latest published version of this layer.
:raises NotFound: if there is no published version. | "Get the latest published version of this layer.\n :raises NotFound: if there is no published version." | 178 | false | koordinates/python-client | get_published | 24,469 | |
LDU_FT/asweigart/pysimplevalidate/_errstr | LDU_FT | [
"<BEGIN>\n## `_errstr`",
"Returns the value str, truncated to MAX_ERROR_STR_LEN characters. If\n it's truncated, the returned value will have '...' on the end.\n<END>",
"<BEGIN>\n## `_getStrippedValue`",
"Like the strip() string method, except the strip argument describes\n different behavior:",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _errstr 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 _errstr 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... | Returns the value str, truncated to MAX_ERROR_STR_LEN characters. If
it's truncated, the returned value will have '...' on the end. | "Returns the value str, truncated to MAX_ERROR_STR_LEN characters. If\n it's truncated, the returned value will have '...' on the end." | 148 | false | asweigart/pysimplevalidate | _errstr | 24,470 | |
LDU_FT/aws/sagemaker-python-sdk/secondary_training_status_message | LDU_FT | [
"<BEGIN>\n## `deploy`",
"Deploy this ``Model`` to an ``Endpoint`` and optionally return a ``Predictor``.",
" Create a SageMaker ``Model`` and ``EndpointConfig``, and deploy an ``Endpoint`` from this ``Model``.\n If ``self.predictor_cls`` is not None, this method returns a the result of invoking\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the secondary_training_status_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the secondary_training_status_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | Returns a string contains last modified time and the secondary training job status message.
Args:
job_description: Returned response from DescribeTrainingJob call
prev_description: Previous job description from DescribeTrainingJob call
Returns:
str: Job status string to be printed. | "Returns a string contains last modified time and the secondary training job status message.\n\n Args:\n job_description: Returned response from DescribeTrainingJob call\n prev_description: Previous job description from DescribeTrainingJob call\n\n Returns:\n str: Job status string to be prin... | 796 | false | aws/sagemaker-python-sdk | secondary_training_status_message | 24,471 | |
LDU_FT/eqcorrscan/EQcorrscan/sort | LDU_FT | [
"<BEGIN>\n## `_xcorr_interp`",
"Intrpolate around the maximum correlation value for sub-sample precision.",
" :param ccc: Cross-correlation array\n :type ccc: numpy.ndarray\n :param dt: sample interval\n :type dt: float",
" :return: Position of interpolated maximum in seconds from start of ccc\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sort 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 sort 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... | Sort the families by template name.
.. rubric:: Example
>>> party = Party(families=[Family(template=Template(name='b')),
... Family(template=Template(name='a'))])
>>> party[0]
Family of 0 detections from template b
>>> party.sort()[0]
Fa... | "Sort the families by template name.\n\n\n .. rubric:: Example\n\n >>> party = Party(families=[Family(template=Template(name='b')),\n ... Family(template=Template(name='a'))])\n >>> party[0]\n Family of 0 detections from template b\n >>> party.sort()[0]\... | 1,281 | true | eqcorrscan/EQcorrscan | sort | 24,472 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.