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/City-of-Helsinki/django-helusers/uuid_to_username | LDU_FT | [
"<BEGIN>\n## `get_username`",
"Sets the `username` argument.",
" If the user exists already, use the existing username. Otherwise\n generate username from the `new_uuid` using the\n `helusers.utils.uuid_to_username` function.\n<END>",
"<BEGIN>\n## `sync_groups_from_ad`",
"Determine which Django gro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the uuid_to_username API.
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 uuid_to_username API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Convert UUID to username.
>>> uuid_to_username('00fbac99-0bab-5e66-8e84-2e567ea4d1f6')
'u-ad52zgilvnpgnduefzlh5jgr6y'
>>> uuid_to_username(UUID('00fbac99-0bab-5e66-8e84-2e567ea4d1f6'))
'u-ad52zgilvnpgnduefzlh5jgr6y' | "Convert UUID to username.\n\n >>> uuid_to_username('00fbac99-0bab-5e66-8e84-2e567ea4d1f6')\n 'u-ad52zgilvnpgnduefzlh5jgr6y'\n\n >>> uuid_to_username(UUID('00fbac99-0bab-5e66-8e84-2e567ea4d1f6'))\n 'u-ad52zgilvnpgnduefzlh5jgr6y'" | 21 | false | City-of-Helsinki/django-helusers | uuid_to_username | 38,773 | |
LDU_FT/frejanordsiek/hdf5storage/get_type_string | LDU_FT | [
"<BEGIN>\n## `update_type_lookups`",
"Update type and typestring lookup dicts.",
" Must be called once the ``types`` and ``python_type_strings``\n attributes are set so that ``type_to_typestring`` and\n ``typestring_to_type`` are constructed.",
" .. versionadded:: 0.2",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_type_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_type_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Gets type string.
Finds the type string for 'data' contained in
``python_type_strings`` using its ``type``. Non-``None``
'type_string` overrides whatever type string is looked up.
The override makes it easier for subclasses to convert something
that the parent marshaller can wri... | "Gets type string.\n\n Finds the type string for 'data' contained in\n ``python_type_strings`` using its ``type``. Non-``None``\n 'type_string` overrides whatever type string is looked up.\n The override makes it easier for subclasses to convert something\n that the parent marshaller ... | 264 | false | frejanordsiek/hdf5storage | get_type_string | 38,774 | |
LDU_FT/asweigart/pysimplevalidate/validateYesNo | 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 validateYesNo API.
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 validateYesNo API.
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... | Raises ValidationException if value is not a yes or no response.
Returns the yesVal or noVal argument, not value.
Note that value can be any case (by default) and can also just match the
* value (str): The value being validated as an email address.
* blank (bool): If True, a blank string will be acce... | "Raises ValidationException if value is not a yes or no response.\n Returns the yesVal or noVal argument, not value.\n\n Note that value can be any case (by default) and can also just match the\n\n * value (str): The value being validated as an email address.\n * blank (bool): If True, a blank string will ... | 148 | false | asweigart/pysimplevalidate | validateYesNo | 38,775 | |
LDU_FT/tensorflow/lucid/laplacian_pyramid_image | LDU_FT | [
"<BEGIN>\n## `SvelteComponent`",
"Display svelte components in iPython.",
" Args:\n name: name of svelte component (must match component filename when built)\n path: path to compile svelte .js file or source svelte .html file.\n (If html file, we try to call svelte and build the file.)",
" Return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the laplacian_pyramid_image 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 laplacian_pyramid_image API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Simple laplacian pyramid paramaterization of an image.
For more flexibility, use a sum of lowres_tensor()s.
Args:
shape: shape of resulting image, [batch, width, height, channels].
n_levels: number of levels of laplacian pyarmid.
sd: standard deviation of param initialization.
Returns:
... | "Simple laplacian pyramid paramaterization of an image.\n\n For more flexibility, use a sum of lowres_tensor()s.\n\n Args:\n shape: shape of resulting image, [batch, width, height, channels].\n n_levels: number of levels of laplacian pyarmid.\n sd: standard deviation of param initialization.\n\n ... | 296 | false | tensorflow/lucid | laplacian_pyramid_image | 38,776 | |
LDU_FT/peterldowns/python-mustache/get_match_info | LDU_FT | [
"<BEGIN>\n## `get_match_info`",
"Given a template and a regex match within said template, return a\n dictionary of information about the match to be used to help parse the\n template.\n<END>",
"<BEGIN>\n## `get_tag_context`",
"Given a tag name, return its associated value as defined in the current\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_match_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_match_info API.
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... | Given a template and a regex match within said template, return a
dictionary of information about the match to be used to help parse the
template. | "Given a template and a regex match within said template, return a\n dictionary of information about the match to be used to help parse the\n template." | 33 | false | peterldowns/python-mustache | get_match_info | 38,777 | |
LDU_FT/basho/riak-python-client/stream_keys | LDU_FT | [
"<BEGIN>\n## `mkpath`",
"Constructs the path & query portion of a URI from path segments\n and a dict.\n<END>",
"<BEGIN>\n## `search_index_path`",
"Builds a Yokozuna search index URL.",
" :param index: optional name of a yz index\n :type index: string\n :param options: optional list ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stream_keys API.
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 stream_keys API.
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... | Streams keys from a bucket, returning an iterator that yields
lists of keys. | "Streams keys from a bucket, returning an iterator that yields\n lists of keys." | 620 | false | basho/riak-python-client | stream_keys | 38,778 | |
LDU_FT/appknox/pyaxmlparser/getAttributeValueData | LDU_FT | [
"<BEGIN>\n## `_decode8`",
"Decode an UTF-8 String at the given offset",
" :param offset: offset of the string inside the data\n :return: str\n<END>",
"<BEGIN>\n## `_decode16`",
"Decode an UTF-16 String at the given offset",
" :param offset: offset of the string inside the data\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getAttributeValueData 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 getAttributeValueData 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 the data of the attribute at the given index
:param index: index of the attribute | "Return the data of the attribute at the given index\n\n :param index: index of the attribute" | 63 | false | appknox/pyaxmlparser | getAttributeValueData | 38,779 | |
LDU_FT/pivotal-energy-solutions/django-datatable-view/get_field_choices | LDU_FT | [
"<BEGIN>\n## `resolve_orm_path`",
"Follows the queryset-style query path of ``orm_path`` starting from ``model`` class. If the\n path ends up referring to a bad field name, ``django.db.models.fields.FieldDoesNotExist`` will\n be raised.\n<END>",
"<BEGIN>\n## `get_model_at_related_field`",
"Looks up ``a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_field_choices API.
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_field_choices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Returns the valid choices for ``field``. The ``field_name`` argument is given for
convenience. | "Returns the valid choices for ``field``. The ``field_name`` argument is given for\n convenience." | 128 | false | pivotal-energy-solutions/django-datatable-view | get_field_choices | 38,780 | |
LDU_FT/SamLau95/nbinteract/short_answer | LDU_FT | [
"<BEGIN>\n## `multiple_choice`",
"Generates a multiple choice question that allows the user to select an\n answer choice and shows whether choice was correct.",
" Args:\n question (str): Question text displayed above choices.",
" choices (list str): Answer choices that user can select.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the short_answer API.
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 short_answer API.
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 a short answer question that allows user to input an answer in
a textbox and a submit button to check the answer.
Args:
question (str): The question being asked.
answers (str | list str | func): If a string, only that string will be
marked correct. If a list of string, a... | "Generates a short answer question that allows user to input an answer in\n a textbox and a submit button to check the answer.\n\n Args:\n question (str): The question being asked.\n\n answers (str | list str | func): If a string, only that string will be\n marked correct. If a list of s... | 159 | false | SamLau95/nbinteract | short_answer | 38,781 | |
LDU_FT/pycontribs/python-crowd/_post | LDU_FT | [
"<BEGIN>\n## `_get`",
"Wrapper around Requests for GET requests",
" Returns:\n Response:\n A Requests Response object\n<END>",
"<BEGIN>\n## `_get_xml`",
"Wrapper around Requests for GET XML requests",
" Returns:\n Response:\n A Requests Res... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _post API.
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 _post API.
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... | Wrapper around Requests for POST requests
Returns:
Response:
A Requests Response object | "Wrapper around Requests for POST requests\n\n Returns:\n Response:\n A Requests Response object" | 102 | false | pycontribs/python-crowd | _post | 38,782 | |
LDU_FT/mediawiki-utilities/python-mwpersistence/update | LDU_FT | [
"<BEGIN>\n## `persist_revision_once`",
"This function makes sure that a revision is only marked as persisting\n for a token once. This is important since some diff algorithms allow\n tokens to be copied more than once in a revision. The id(token) should\n unique to the in-memory representation of any o... | 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 ... | Modifies the internal state based a change to the content and returns
the sets of words added and removed.
:Parameters:
text : str
The text content of a revision
revision : `mixed`
Revision metadata
:Returns:
A triple of lists... | "Modifies the internal state based a change to the content and returns\n the sets of words added and removed.\n\n :Parameters:\n text : str\n The text content of a revision\n revision : `mixed`\n Revision metadata\n\n :Returns:\n A trip... | 22 | false | mediawiki-utilities/python-mwpersistence | update | 38,783 | |
LDU_FT/bitly/asyncmongo/collection_names | LDU_FT | [
"<BEGIN>\n## `_unpack_response`",
"Unpack a response from the database.",
" Check the response for errors and unpack, returning a dictionary\n containing the response data.",
" :Parameters:\n - `response`: byte string as returned from the database\n - `cursor_id` (optional): cursor_id we se... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collection_names API.
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 collection_names API.
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 a list of all the collection names in selected database | "Get a list of all the collection names in selected database" | 88 | false | bitly/asyncmongo | collection_names | 38,784 | |
LDU_FT/VIVelev/PyDojoML/_low_dim_sim | LDU_FT | [
"<BEGIN>\n## `accuracy_score`",
"Calculates the fraction of the correctly\n classified samples over all.",
" Parameters:\n -----------\n y : vector, shape (n_samples,)\n The target labels.",
" y_pred : vector, shape (n_samples,)\n The predicted labels.",
" Returns:\n --------\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _low_dim_sim API.
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 _low_dim_sim API.
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... | Similarity measurement based on (Student) t-Distribution | "Similarity measurement based on (Student) t-Distribution" | 170 | false | VIVelev/PyDojoML | _low_dim_sim | 38,785 | |
LDU_FT/ThePlasmaRailgun/py-rolldice/_eval_call | LDU_FT | [
"<BEGIN>\n## `safe_power`",
"Same power of a ^ b\n :param a: Number a\n :param b: Number b\n :return: a ^ b\n<END>",
"<BEGIN>\n## `rabin_miller`",
"Performs a rabin-miller primality test",
" :param p: Number to test\n :return: Bool of whether num is prime\n<END>",
"<BEGIN>\n## `zero_width_s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _eval_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 extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _eval_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 extrac... | Evaluate a function call
:param node: Node to eval
:return: Result of node | "Evaluate a function call\n\n :param node: Node to eval\n :return: Result of node" | 41 | false | ThePlasmaRailgun/py-rolldice | _eval_call | 38,786 | |
LDU_FT/pytroll/satpy/parse_format | LDU_FT | [
"<BEGIN>\n## `_get_coarse_dataset`",
"Get the coarse dataset refered to by `key` from the XML data.\n<END>",
"<BEGIN>\n## `get_dataset`",
"Get output data and metadata of specified dataset.\n<END>",
"<BEGIN>\n## `find_coefficient_index`",
"Return index in to coefficient arrays for this band's wavelength."... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_format API.
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 parse_format API.
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... | Parse the xml file to create types, scaling factor types, and scales. | "Parse the xml file to create types, scaling factor types, and scales." | 924 | false | pytroll/satpy | parse_format | 38,787 | |
LDU_FT/UAVCAN/pyuavcan/add | LDU_FT | [
"<BEGIN>\n## `enum_mark_last`",
"Returns a generator over iterable that tells whether the current item is the last one.\n Usage:\n >>> iterable = range(10)\n >>> for index, is_last, item in enum_mark_last(iterable):\n >>> print(index, item, end='\\n' if is_last else ', ')\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Feed ASCII string or bytes to the signature function | "Feed ASCII string or bytes to the signature function" | 65 | false | UAVCAN/pyuavcan | add | 38,788 | |
LDU_FT/atztogo/phonopy/get_ir_reciprocal_mesh | LDU_FT | [
"<BEGIN>\n## `_set_translations`",
"Set primitive translations in supercell",
" _trans_s\n Translations with respect to supercell basis vectors\n _trans_p\n Translations with respect to primitive cell basis vectors\n _N\n Number of the translations = det(sup... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ir_reciprocal_mesh 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_ir_reciprocal_mesh 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 k-points mesh and k-point map to the irreducible k-points.
The symmetry is serched from the input cell.
Parameters
----------
mesh : array_like
Uniform sampling mesh numbers.
dtype='intc', shape=(3,)
cell : spglib cell tuple
Crystal structure.
is_shift : array_li... | "Return k-points mesh and k-point map to the irreducible k-points.\n\n The symmetry is serched from the input cell.\n\n Parameters\n ----------\n mesh : array_like\n Uniform sampling mesh numbers.\n dtype='intc', shape=(3,)\n cell : spglib cell tuple\n Crystal structure.\n is_shif... | 417 | false | atztogo/phonopy | get_ir_reciprocal_mesh | 38,789 | |
LDU_FT/biocore/mustached-octo-ironman/unlisten_to_node | LDU_FT | [
"<BEGIN>\n## `on_message`",
"Accept a message that was published, process and forward",
" Parameters\n ----------\n msg : str\n The message sent over the line",
" Notes\n -----\n This method only handles messages where `message_type` is \"message\".\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unlisten_to_node API.
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 unlisten_to_node API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Stop listening to a job
Parameters
----------
id_ : str
An ID to remove
Returns
--------
str or None
The ID removed or None if the ID was not removed | "Stop listening to a job\n\n Parameters\n ----------\n id_ : str\n An ID to remove\n\n Returns\n --------\n str or None\n The ID removed or None if the ID was not removed" | 68 | false | biocore/mustached-octo-ironman | unlisten_to_node | 38,790 | |
LDU_FT/openeventdata/mordecai/infer_country | LDU_FT | [
"<BEGIN>\n## `country_list_maker`",
"Helper function to return dictionary of countries in {\"country\" : \"iso\"} form.\n<END>",
"<BEGIN>\n## `make_skip_list`",
"Return hand-defined list of place names to skip and not attempt to geolocate. If users would like to exclude\n country names, this would be the f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the infer_country API.
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 infer_country API.
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... | NLP a doc, find its entities, get their features, and return the model's country guess for each.
Maybe use a better name.
Parameters
-----------
doc: str or spaCy
the document to country-resolve the entities in
Returns
-------
proced: list of dict
... | "NLP a doc, find its entities, get their features, and return the model's country guess for each.\n Maybe use a better name.\n\n Parameters\n -----------\n doc: str or spaCy\n the document to country-resolve the entities in\n\n Returns\n -------\n proced: list... | 110 | false | openeventdata/mordecai | infer_country | 38,791 | |
LDU_FT/huggingface/pytorch-pretrained-BERT/sample_logits | LDU_FT | [
"<BEGIN>\n## `from_json_file`",
"Constructs a `GPT2Config` from a json file of parameters.\n<END>",
"<BEGIN>\n## `from_pretrained`",
"Instantiate a GPT2PreTrainedModel from a pre-trained model file or a pytorch state dict.\n Download and cache the pre-trained model file if needed.",
" Params:\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sample_logits API.
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 sample_logits API.
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... | embedding: an nn.Embedding layer
bias: [n_vocab]
labels: [b1, b2]
inputs: [b1, b2, n_emb]
sampler: you may use a LogUniformSampler
Return
logits: [b1, b2, 1 + n_sample] | "embedding: an nn.Embedding layer\n bias: [n_vocab]\n labels: [b1, b2]\n inputs: [b1, b2, n_emb]\n sampler: you may use a LogUniformSampler\n Return\n logits: [b1, b2, 1 + n_sample]" | 115 | false | huggingface/pytorch-pretrained-BERT | sample_logits | 38,792 | |
LDU_FT/thombashi/SimpleSQLite/create_table_from_json | LDU_FT | [
"<BEGIN>\n## `set_log_level`",
"Set logging level of this module. Using\n `logbook <https://logbook.readthedocs.io/en/stable/>`__ module for logging.",
" :param int log_level:\n One of the log level of\n `logbook <https://logbook.readthedocs.io/en/stable/api/base.html>`__.\n Disabled ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_table_from_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.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_table_from_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.... | Create a table from a JSON file/text.
:param str json_source: Path to the JSON file or JSON text.
:param str table_name: Table name to create.
:param str primary_key: |primary_key|
:param tuple index_attrs: |index_attrs|
:Dependency Packages:
- `pytablereader <https... | "Create a table from a JSON file/text.\n\n :param str json_source: Path to the JSON file or JSON text.\n :param str table_name: Table name to create.\n :param str primary_key: |primary_key|\n :param tuple index_attrs: |index_attrs|\n\n :Dependency Packages:\n - `pytableread... | 185 | false | thombashi/SimpleSQLite | create_table_from_json | 38,793 | |
LDU_FT/silver-castle/mach9/register | LDU_FT | [
"<BEGIN>\n## `get_connect_message`",
"http://channels.readthedocs.io/en/stable/asgi/www.html#connection\n<END>",
"<BEGIN>\n## `get_receive_message`",
"http://channels.readthedocs.io/en/stable/asgi/www.html#receive\n<END>",
"<BEGIN>\n## `get_disconnect_message`",
"http://channels.readthedocs.io/en/stable/a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
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 register API.
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... | Register the blueprint to the mach9 app. | "Register the blueprint to the mach9 app." | 78 | false | silver-castle/mach9 | register | 38,794 | |
LDU_FT/adafruit/Adafruit_Python_LED_Backpack/animate | LDU_FT | [
"<BEGIN>\n## `set_pixel`",
"Set pixel at position x, y to the given value. X and Y should be values\n of 0 to 8. Value should be OFF, GREEN, RED, or YELLOW.\n<END>",
"<BEGIN>\n## `set_image`",
"Set display buffer to Python Image Library image. Red pixels (r=255,\n g=0, b=0) will map to red LE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the animate API.
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 animate API.
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... | Displays each of the input images in order, pausing for "delay"
seconds after each image.
Keyword arguments:
image -- An iterable collection of Image objects.
delay -- How many seconds to wait after displaying an image before
displaying the next one. (Default = .25) | "Displays each of the input images in order, pausing for \"delay\"\n seconds after each image.\n\n Keyword arguments:\n image -- An iterable collection of Image objects.\n delay -- How many seconds to wait after displaying an image before\n displaying the next one. (Default = .25)... | 57 | false | adafruit/Adafruit_Python_LED_Backpack | animate | 38,795 | |
LDU_FT/dsoprea/PySchedules/new_mapping | LDU_FT | [
"<BEGIN>\n## `_startXTVDNode`",
"Process the start of the top-level xtvd node\n<END>",
"<BEGIN>\n## `_startStationsNode`",
"Process the start of a node under xtvd/stations\n<END>",
"<BEGIN>\n## `_endStationsNode`",
"Process the end of a node under xtvd/stations\n<END>",
"<BEGIN>\n## `_startLineupsNode`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the new_mapping API.
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 new_mapping API.
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... | Callback run for each new mapping within a lineup | "Callback run for each new mapping within a lineup" | 50 | false | dsoprea/PySchedules | new_mapping | 38,796 | |
LDU_FT/Stewori/pytypes/_issubclass | LDU_FT | [
"<BEGIN>\n## `_outter_split`",
"Splits only at delims that are at outter-most level regarding\n openers/closers pairs.\n Unchecked requirements:\n Only supports length-1 delim, openers and closers.\n delim must not be member of openers or closers.\n len(openers) == len(closers) or closers == None\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _issubclass API.
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 _issubclass API.
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... | Access this via ``pytypes.is_subtype``.
Works like ``issubclass``, but supports PEP 484 style types from ``typing`` module.
subclass : type
The type to check for being a subtype of ``superclass``.
superclass : type
The type to check for being a supertype of ``subclass``.
bound_Generic : Optio... | "Access this via ``pytypes.is_subtype``.\n Works like ``issubclass``, but supports PEP 484 style types from ``typing`` module.\n\n subclass : type\n The type to check for being a subtype of ``superclass``.\n\n superclass : type\n The type to check for being a supertype of ``subclass``.\n\n bound_Gener... | 187 | false | Stewori/pytypes | _issubclass | 38,797 | |
LDU_FT/google/dotty/getmembers_static | LDU_FT | [
"<BEGIN>\n## `generate_chunks`",
"Yield 'chunk_size' items from 'data' at a time.\n<END>",
"<BEGIN>\n## `reduce`",
"Repeatedly call fold and merge on data and then finalize.",
" Arguments:\n data: Input for the fold function.\n reducer: The IReducer to use.\n chunk_size: How many ite... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getmembers_static API.
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 getmembers_static API.
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 members (vars) from all scopes using ONLY static information.
You most likely want to use ScopeStack.getmembers instead.
Returns:
Set of available vars.
Raises:
NotImplementedError if any scope fails to implement 'getmembers'. | "Gets members (vars) from all scopes using ONLY static information.\n\n You most likely want to use ScopeStack.getmembers instead.\n\n Returns:\n Set of available vars.\n\n Raises:\n NotImplementedError if any scope fails to implement 'getmembers'." | 284 | false | google/dotty | getmembers_static | 38,798 | |
LDU_FT/mikekatz04/BOWIE/return_dict | LDU_FT | [
"<BEGIN>\n## `read_noise_curve`",
"Simple auxillary function that can read noise curves in.",
" This function can read in noise curves from a provided file or those that are preinstalled\n with this installation. All pre-installed noise curves are in the form of\n an amplitude spectral density. Informa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the return_dict API.
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 return_dict API.
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... | Output dictionary for :mod:`gwsnrcalc.generate_contour_data` input.
Iterates through the entire MainContainer class turning its contents
into dictionary form. This dictionary becomes the input for
:mod:`gwsnrcalc.generate_contour_data`.
If `print_input` attribute is True, the entire di... | "Output dictionary for :mod:`gwsnrcalc.generate_contour_data` input.\n\n Iterates through the entire MainContainer class turning its contents\n into dictionary form. This dictionary becomes the input for\n :mod:`gwsnrcalc.generate_contour_data`.\n\n If `print_input` attribute is True, the en... | 264 | false | mikekatz04/BOWIE | return_dict | 38,799 | |
LDU_FT/romana/vpc-router/_choose_different_host | LDU_FT | [
"<BEGIN>\n## `_do_tcp_check`",
"Attempt to establish a TCP connection.",
" If not successful, record the IP in the results dict.",
" Always closes the connection at the end.\n<END>",
"<BEGIN>\n## `do_health_checks`",
"Perform a health check on a list of IP addresses.",
" Each check ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _choose_different_host 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 _choose_different_host API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Randomly choose a different host from a list of hosts.
Pick from fully healthy IPs first (neither failed nor questionable).
If we don't have any of those, pick from questionable ones next.
If no suitable hosts can be found in the list (if it's empty or all hosts
are in the failed_ips list) it will ret... | "Randomly choose a different host from a list of hosts.\n\n Pick from fully healthy IPs first (neither failed nor questionable).\n If we don't have any of those, pick from questionable ones next.\n\n If no suitable hosts can be found in the list (if it's empty or all hosts\n are in the failed_ips list) it w... | 207 | false | romana/vpc-router | _choose_different_host | 38,800 | |
LDU_FT/dr-leo/pandaSDMX/write | LDU_FT | [
"<BEGIN>\n## `namedtuple`",
"Returns a new subclass of tuple with named fields.\n This is a patched version of collections.namedtuple from the stdlib.\n Unlike the latter, it accepts non-identifier strings as field names.\n All values are accessible through dict syntax. Fields whose names are\n identi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Transfform structural metadata, i.e. codelists, concept-schemes,
lists of dataflow definitions or category-schemes
from a :class:`pandasdmx.model.StructureMessage` instance into a pandas DataFrame.
This method is called by :meth:`pandasdmx.api.Response.write` . It is not
part of th... | "Transfform structural metadata, i.e. codelists, concept-schemes,\r\n lists of dataflow definitions or category-schemes \r\n from a :class:`pandasdmx.model.StructureMessage` instance into a pandas DataFrame.\r\n This method is called by :meth:`pandasdmx.api.Response.write` . It is not\r\n p... | 86 | false | dr-leo/pandaSDMX | write | 38,801 | |
LDU_FT/zooniverse/panoptes-python-client/remove | LDU_FT | [
"<BEGIN>\n## `find`",
"Like :py:meth:`.PanoptesObject.find` but can also query by user and\n project.",
" - **user** and **project** can be either a :py:class:`.User` and\n :py:class:`.Project` instance respectively, or they can be given as\n IDs. If either argument is given, the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
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 remove API.
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 ... | Removes the given `objs` from this `LinkCollection`.
- **objs** can be a list of :py:class:`.PanoptesObject` instances, a
list of object IDs, a single :py:class:`.PanoptesObject` instance, or
a single object ID.
Examples::
organization.links.projects.remove(1234)
... | "Removes the given `objs` from this `LinkCollection`.\n\n - **objs** can be a list of :py:class:`.PanoptesObject` instances, a\n list of object IDs, a single :py:class:`.PanoptesObject` instance, or\n a single object ID.\n\n Examples::\n\n organization.links.projects.remove(12... | 104 | false | zooniverse/panoptes-python-client | remove | 38,802 | |
LDU_FT/sdss/sdss_access/_call_special_functions | LDU_FT | [
"<BEGIN>\n## `remote`",
"Configures remote access",
" Parameters\n ----------\n remote_base : str\n base URL path for remote repository\n username : str\n user name for remote repository\n password : str\n password for local repository\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _call_special_functions 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 _call_special_functions 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 the special functions found in a template path
Calls special functions indicated by %methodname found in the
sdss_paths.ini template file, and replaces the %location in the path
with the returned content.
Parameters:
filetype (str):
template name of fil... | "Call the special functions found in a template path\n\n Calls special functions indicated by %methodname found in the\n sdss_paths.ini template file, and replaces the %location in the path\n with the returned content.\n\n Parameters:\n filetype (str):\n template na... | 121 | false | sdss/sdss_access | _call_special_functions | 38,803 | |
LDU_FT/CI-WATER/mapkit/getPointAsKmlCircle | LDU_FT | [
"<BEGIN>\n## `getAsKmlGrid`",
"Creates a KML file with each cell in the raster represented by a polygon. The result is a vector grid representation of the raster.\n Note that pixels with values between -1 and 0 are omitted as no data values. Also note that this method only works on the first band.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getPointAsKmlCircle 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 getPointAsKmlCircle 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 a string representing a circular polygon in KML format with center at the coordinates of the point
and radius as specified. | "Return a string representing a circular polygon in KML format with center at the coordinates of the point\n and radius as specified." | 62 | false | CI-WATER/mapkit | getPointAsKmlCircle | 38,804 | |
LDU_FT/vedvyas/doxytag2zealdb/get_name | LDU_FT | [
"<BEGIN>\n## `set_property`",
"Set a new (or updating existing) key value pair.",
" Args:\n key: A string containing the key namespace\n value: A str, int, or bool value",
" Raises:\n NotImplementedError: an unsupported value-type was provided\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extracte... | Override. Extract a representative "name" from a function tag.
get_name's output can be controlled through keyword arguments that are
provided when initializing a functionTagProcessor. For instance,
function arguments and return types can be included by passing
include_function_signatur... | "Override. Extract a representative \"name\" from a function tag.\n\n get_name's output can be controlled through keyword arguments that are\n provided when initializing a functionTagProcessor. For instance,\n function arguments and return types can be included by passing\n include_function_... | 50 | false | vedvyas/doxytag2zealdb | get_name | 38,805 | |
LDU_FT/rkhleics/police-api-client-python/locate_neighbourhood | LDU_FT | [
"<BEGIN>\n## `get_forces`",
"Get a list of all police forces. Uses the forces_ API call.",
" .. _forces: https://data.police.uk/docs/method/forces/",
" :rtype: list\n :return: A list of :class:`forces.Force` objects (one for each police\n force represented in the API)\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the locate_neighbourhood 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 locate_neighbourhood API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Find a neighbourhood by location. Uses the locate-neighbourhood_ API
call.
.. _locate-neighbourhood:
https://data.police.uk/docs/method/neighbourhood-locate/
:param lat: The latitude of the location.
:type lat: float or str
:param lng: The longitude of the location.... | "Find a neighbourhood by location. Uses the locate-neighbourhood_ API\n call.\n\n .. _locate-neighbourhood:\n https://data.police.uk/docs/method/neighbourhood-locate/\n\n :param lat: The latitude of the location.\n :type lat: float or str\n :param lng: The longitude of the ... | 43 | false | rkhleics/police-api-client-python | locate_neighbourhood | 38,806 | |
LDU_FT/inspirehep/refextract/check_boundary_lines_similar | LDU_FT | [
"<BEGIN>\n## `process_reference_line`",
"After the phase of identifying and tagging citation instances\n in a reference line, this function is called to go through the\n line and the collected information about the recognised citations,\n and to transform the line into a string of MARC XML in wh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_boundary_lines_similar API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_boundary_lines_similar API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Compare two lists to see if their elements are roughly the same.
@param l_1: (list) of strings.
@param l_2: (list) of strings.
@return: (int) 1/0. | "Compare two lists to see if their elements are roughly the same.\n @param l_1: (list) of strings.\n @param l_2: (list) of strings.\n @return: (int) 1/0." | 301 | false | inspirehep/refextract | check_boundary_lines_similar | 38,807 | |
LDU_FT/metric-learn/metric-learn/fit | LDU_FT | [
"<BEGIN>\n## `fit`",
"Create constraints from labels and learn the LSML model.",
" Parameters\n ----------\n X : (n x d) matrix\n Input data, where each row corresponds to a single instance.",
" y : (n) array-like\n Data labels.",
" random_state : numpy.random.RandomState, optio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Fit MLKR model
Parameters
----------
X : (n x d) array of samples
y : (n) data labels | "Fit MLKR model\n\n Parameters\n ----------\n X : (n x d) array of samples\n y : (n) data labels" | 132 | false | metric-learn/metric-learn | fit | 38,808 | |
LDU_FT/softlayer/softlayer-python/add_key | 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 add_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 extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_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 extracted... | Adds a new SSH key to the account.
:param string key: The SSH key to add
:param string label: The label for the key
:param string notes: Additional notes for the key
:returns: A dictionary of the new key's information. | "Adds a new SSH key to the account.\n\n :param string key: The SSH key to add\n :param string label: The label for the key\n :param string notes: Additional notes for the key\n :returns: A dictionary of the new key's information." | 1,375 | true | softlayer/softlayer-python | add_key | 38,809 | |
LDU_FT/coderholic/pyradio/keypress | LDU_FT | [
"<BEGIN>\n## `toggleTransparency`",
"Toggles theme trasparency.",
" force_value will set trasparency if True or False,\n or toggle trasparency if None\n<END>",
"<BEGIN>\n## `keypress`",
"returns theme_id, save_theme\n return_id\n 0-.. : id in self._theme\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the keypress API.
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 keypress API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | returns theme_id, save_theme
return_id
0-.. : id in self._theme
-1 : end or canel
-2 : go no
save_them
True : theme is to be saved in config
False : theme is not to be saved in config | "returns theme_id, save_theme\n return_id\n 0-.. : id in self._theme\n -1 : end or canel\n -2 : go no\n save_them\n True : theme is to be saved in config\n False : theme is not to be saved in config" | 65 | false | coderholic/pyradio | keypress | 38,810 | |
LDU_FT/facebookresearch/fastText/get_output_matrix | LDU_FT | [
"<BEGIN>\n## `cpp_flag`",
"Return the -std=c++[0x/11/14] compiler flag.\n The c++14 is preferred over c++0x/11 (when it is available).\n<END>",
"<BEGIN>\n## `find_nearest_neighbor`",
"query is a 1d numpy array corresponding to the vector to which you want to\n find the closest vector\n vectors is a 2... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_output_matrix API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_output_matrix API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Get a copy of the full output matrix of a Model. This only
works if the model is not quantized. | "Get a copy of the full output matrix of a Model. This only\n works if the model is not quantized." | 32 | false | facebookresearch/fastText | get_output_matrix | 38,811 | |
LDU_FT/twisted/vertex/selectOptimalChunk | LDU_FT | [
"<BEGIN>\n## `enregister`",
"Register a new account and return a Deferred that fires if it worked.",
" @param svc: a Q2QService",
" @param newAddress: a Q2QAddress object",
" @param password: a shared secret (str)\n<END>",
"<BEGIN>\n## `connectCached`",
"See module docstring",
" @param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the selectOptimalChunk 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 selectOptimalChunk 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... | select an optimal chunk to send to a peer.
@return: int(chunkNumber), str(chunkData) if there is data to be sent,
otherwise None, None | "select an optimal chunk to send to a peer.\n\n @return: int(chunkNumber), str(chunkData) if there is data to be sent,\n otherwise None, None" | 191 | false | twisted/vertex | selectOptimalChunk | 38,812 | |
LDU_FT/ska-sa/purr/_entryChanged | LDU_FT | [
"<BEGIN>\n## `rotate`",
"Rotate a coordinate around point (0,0).\n - x and y specify the coordinate.\n - degree is a number from 0 to 360.\n Returns a new coordinate.\n<END>",
"<BEGIN>\n## `_compute_bounding_box`",
"Given the list of coordinates (x,y), this procedure computes\n the smallest rectan... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _entryChanged API.
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 _entryChanged API.
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... | This is called when a log entry is changed | "This is called when a log entry is changed" | 265 | false | ska-sa/purr | _entryChanged | 38,813 | |
LDU_FT/sci-bots/pygtkhelpers/create_treecolumn | LDU_FT | [
"<BEGIN>\n## `gcall`",
"Calls a function, with the given arguments inside Gtk's main loop.\n Example::\n gcall(lbl.set_text, \"foo\")",
" If this call would be made in a thread there could be problems, using\n it inside Gtk's main loop makes it thread safe.\n<END>",
"<BEGIN>\n## `invoke_in_mai... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_treecolumn API.
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_treecolumn API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Create a gtk.TreeViewColumn for the configuration. | "Create a gtk.TreeViewColumn for the configuration." | 240 | false | sci-bots/pygtkhelpers | create_treecolumn | 38,814 | |
LDU_FT/tilezen/mapbox-vector-tile/encode_arc | LDU_FT | [
"<BEGIN>\n## `_coords`",
"Return a list of lists of coordinates of the polygon. The list consists\n firstly of the list of exterior coordinates followed by zero or more lists\n of any interior coordinates.\n<END>",
"<BEGIN>\n## `_drop_degenerate_inners`",
"Drop degenerate (zero-size) inners from the pol... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encode_arc API.
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 encode_arc API.
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... | Appends commands to _geometry to create an arc.
- Returns False if nothing was added
- Returns True and moves _last_x, _last_y if
some points where added | "Appends commands to _geometry to create an arc.\n - Returns False if nothing was added\n - Returns True and moves _last_x, _last_y if\n some points where added" | 32 | false | tilezen/mapbox-vector-tile | encode_arc | 38,815 | |
LDU_FT/core/uricore/url_unquote | LDU_FT | [
"<BEGIN>\n## `iteritems`",
"Like :meth:`items` but returns an iterator.\n<END>",
"<BEGIN>\n## `iterlists`",
"Like :meth:`items` but returns an iterator.\n<END>",
"<BEGIN>\n## `to_dict`",
"Return the contents as regular dict. If `flat` is `True` the\n returned dict will only have the first item pre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the url_unquote API.
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 url_unquote API.
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... | URL decode a single string with a given decoding.
Per default encoding errors are ignored. If you want a different behavior
you can set `errors` to ``'replace'`` or ``'strict'``. In strict mode a
`HTTPUnicodeError` is raised.
:param s: the string to unquote.
:param charset: the charset to be use... | "URL decode a single string with a given decoding.\n\n Per default encoding errors are ignored. If you want a different behavior\n you can set `errors` to ``'replace'`` or ``'strict'``. In strict mode a\n `HTTPUnicodeError` is raised.\n\n :param s: the string to unquote.\n :param charset: the charset t... | 85 | false | core/uricore | url_unquote | 38,816 | |
LDU_FT/KE-works/pykechain/members | LDU_FT | [
"<BEGIN>\n## `value`",
"Value of a reference property.",
" You can set the reference with a Part, Part id or None value.\n Ensure that the model of the provided part, matches the configured model",
" :return: a :class:`Part` or None\n :raises APIError: When unable to find the assoc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the members API.
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 members API.
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... | Members of the team.
You may provide the role in the team, to retrieve only the teammmber with that role. Normally there is a
single owner, that has administration rights of the team. Normal team members do not have any rights to
administer the team itself such as altering the teamname, team im... | "Members of the team.\n\n You may provide the role in the team, to retrieve only the teammmber with that role. Normally there is a\n single owner, that has administration rights of the team. Normal team members do not have any rights to\n administer the team itself such as altering the teamname, te... | 751 | false | KE-works/pykechain | members | 38,817 | |
LDU_FT/fprimex/zdesk/triggers_update_many | LDU_FT | [
"<BEGIN>\n## `batch`",
"Helper to setup batch requests.",
" There are endpoints which support updating multiple resources at once,\n but they are often limited to 100 updates per request.\n This function helps with splitting bigger requests into sequence of\n smaller ones.",
" Example:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the triggers_update_many 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 triggers_update_many API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | https://developer.zendesk.com/rest_api/docs/core/triggers#update-many-triggers | "https://developer.zendesk.com/rest_api/docs/core/triggers#update-many-triggers" | 803 | false | fprimex/zdesk | triggers_update_many | 38,818 | |
LDU_FT/simpleenergy/env-excavator/env_bool | LDU_FT | [
"<BEGIN>\n## `env_int`",
"Pulls an environment variable out of the environment and casts it to an\n integer. If the name is not present in the environment and no default is\n specified then a ``ValueError`` will be raised. Similarly, if the\n environment value is not castable to an integer, a ``ValueErro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the env_bool API.
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 env_bool API.
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... | Pulls an environment variable out of the environment returning it as a
boolean. The strings ``'True'`` and ``'true'`` are the default *truthy*
values. If not present in the environment and no default is specified,
``None`` is returned.
:param name: The name of the environment variable be pulled
:ty... | "Pulls an environment variable out of the environment returning it as a\n boolean. The strings ``'True'`` and ``'true'`` are the default *truthy*\n values. If not present in the environment and no default is specified,\n ``None`` is returned.\n\n :param name: The name of the environment variable be pulled\n... | 45 | false | simpleenergy/env-excavator | env_bool | 38,819 | |
LDU_FT/jadolg/rocketchat_API/channels_set_join_code | LDU_FT | [
"<BEGIN>\n## `directory`",
"Search by users or channels on all server.\n<END>",
"<BEGIN>\n## `spotlight`",
"Searches for users or rooms that are visible to the user.\n<END>",
"<BEGIN>\n## `users_info`",
"Gets a user’s information, limited to the caller’s permissions.\n<END>",
"<BEGIN>\n## `chat_search`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the channels_set_join_code 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 channels_set_join_code API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Sets the code required to join the channel. | "Sets the code required to join the channel." | 82 | false | jadolg/rocketchat_API | channels_set_join_code | 38,820 | |
LDU_FT/jplusplus/statscraper/descendants | LDU_FT | [
"<BEGIN>\n## `initiate_browser`",
"The button for expanded detailed options. This\n also happens to be a good indicator as to wheter\n all content is loaded.\n<END>",
"<BEGIN>\n## `_fetch_dimensions`",
"Declaring available dimensions like this is not mandatory,\n but nice, especially if ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the descendants API.
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 descendants API.
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... | Recursively return every dataset below current item. | "Recursively return every dataset below current item." | 57 | false | jplusplus/statscraper | descendants | 38,821 | |
LDU_FT/DreamLab/VmShepherd/list_vms | LDU_FT | [
"<BEGIN>\n## `initialize_openstack`",
"Initialize and refresh openstack connection\n<END>",
"<BEGIN>\n## `initialize`",
"Initialize static data like images and flavores and set it as object property\n<END>",
"<BEGIN>\n## `create_vm`",
"Create VM\n :arg preset_name: string\n :arg image: str... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_vms API.
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 list_vms API.
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... | Listing virtual machines in a given preset
:arg string preset: preset name
:return: (Size of a preset, list of virtual machines)
- first element of a tuple is a size of virtual machines in a preset
- second element is a dict which contains all Virtual Machines, where every ele... | "Listing virtual machines in a given preset\n\n :arg string preset: preset name\n :return: (Size of a preset, list of virtual machines)\n\n - first element of a tuple is a size of virtual machines in a preset\n - second element is a dict which contains all Virtual Machines, where ev... | 47 | false | DreamLab/VmShepherd | list_vms | 38,822 | |
LDU_FT/modlinltd/django-advanced-filters/deserialize | LDU_FT | [
"<BEGIN>\n## `changelist_view`",
"Add advanced_filters form to changelist context\n<END>",
"<BEGIN>\n## `filter_by_user`",
"All filters that should be displayed to a user (by users/group)\n<END>",
"<BEGIN>\n## `query`",
"De-serialize, decode and return an ORM query stored in b64_query.\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deserialize API.
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 deserialize API.
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... | De-serialize a Q object from a (possibly nested) dict. | "De-serialize a Q object from a (possibly nested) dict." | 37 | false | modlinltd/django-advanced-filters | deserialize | 38,823 | |
LDU_FT/egineering-llc/egat/validate_user_threaded_json | LDU_FT | [
"<BEGIN>\n## `validate_config_json`",
"Takes the parsed JSON (output from json.load) from a configuration file \n and checks it for common errors.\n<END>",
"<BEGIN>\n## `validate_user_threaded_json`",
"Takes a parsed JSON dict representing a set of tests in the user-threaded \n format and valida... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_user_threaded_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_user_threaded_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Takes a parsed JSON dict representing a set of tests in the user-threaded
format and validates it. | "Takes a parsed JSON dict representing a set of tests in the user-threaded \n format and validates it." | 16 | false | egineering-llc/egat | validate_user_threaded_json | 38,824 | |
LDU_FT/wharris/dougrain/set_property | LDU_FT | [
"<BEGIN>\n## `add_curie`",
"Adds a CURIE definition.",
" A CURIE link with the given ``name`` and ``href`` is added to the\n document.",
" This method returns self, allowing it to be chained with additional\n method calls.\n<END>",
"<BEGIN>\n## `add_link`",
"Adds a link to the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_property API.
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 set_property API.
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... | Set a property on the document.
Calling code should use this method to add and modify properties
on the document instead of modifying ``properties`` directly.
If ``key`` is ``"_links"`` or ``"_embedded"`` this method will silently
fail.
If there is no property with the name in... | "Set a property on the document.\n\n Calling code should use this method to add and modify properties\n on the document instead of modifying ``properties`` directly.\n\n If ``key`` is ``\"_links\"`` or ``\"_embedded\"`` this method will silently\n fail.\n\n If there is no property wit... | 94 | false | wharris/dougrain | set_property | 38,825 | |
LDU_FT/codelv/enaml-native-cli/find_commands | LDU_FT | [
"<BEGIN>\n## `find_commands`",
"Finds commands by finding the subclasses of Command\n<END>",
"<BEGIN>\n## `link`",
"Link the package in the current directory.\n<END>",
"<BEGIN>\n## `is_settings_linked`",
"Returns true if the \"include ':<project>'\" line exists in the file\n<END>",
"<BEGIN>\n## `is_buil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_commands API.
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 find_commands API.
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... | Finds commands by finding the subclasses of Command | "Finds commands by finding the subclasses of Command" | 36 | false | codelv/enaml-native-cli | find_commands | 38,826 | |
LDU_FT/henzk/django-productline/import_context | LDU_FT | [
"<BEGIN>\n## `requires_product_environment`",
"task decorator that makes sure that the product environment\n of django_productline is activated:\n -context is bound\n -features have been composed\n<END>",
"<BEGIN>\n## `set_site`",
"This method is part of the prepare_data helper.\n Sets the site. D... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_context API.
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 import_context API.
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... | Overwrite old context.json, use context.json from target_zip
:param target_zip:
:return: | "Overwrite old context.json, use context.json from target_zip\n :param target_zip:\n :return:" | 57 | false | henzk/django-productline | import_context | 38,827 | |
LDU_FT/sensu-plugins/sensu-plugin-python/map_v2_event_into_v1 | LDU_FT | [
"<BEGIN>\n## `__make_dynamic`",
"Create a method for each of the exit codes.\n<END>",
"<BEGIN>\n## `__exitfunction`",
"Method called by exit hook, ensures that both an exit code and\n output is supplied, also catches errors.\n<END>",
"<BEGIN>\n## `run`",
"Set up the event object, global settings an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map_v2_event_into_v1 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 map_v2_event_into_v1 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Helper method to convert Sensu 2.x event into Sensu 1.x event. | "Helper method to convert Sensu 2.x event into Sensu 1.x event." | 23 | false | sensu-plugins/sensu-plugin-python | map_v2_event_into_v1 | 38,828 | |
LDU_FT/HttpRunner/har2case/__make_request_url | LDU_FT | [
"<BEGIN>\n## `__make_request_url`",
"parse HAR entry request url and queryString, and make teststep url and params",
" Args:\n entry_json (dict):\n {\n \"request\": {\n \"url\": \"https://httprunner.top/home?v=1&w=2\",\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __make_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __make_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.
Th... | parse HAR entry request url and queryString, and make teststep url and params
Args:
entry_json (dict):
{
"request": {
"url": "https://httprunner.top/home?v=1&w=2",
"queryString": [
{"name... | "parse HAR entry request url and queryString, and make teststep url and params\n\n Args:\n entry_json (dict):\n {\n \"request\": {\n \"url\": \"https://httprunner.top/home?v=1&w=2\",\n \"queryString\": [\n ... | 32 | false | HttpRunner/har2case | __make_request_url | 38,829 | |
LDU_FT/skorokithakis/shortuuid/set_alphabet | LDU_FT | [
"<BEGIN>\n## `int_to_string`",
"Convert a number to a string, using the given alphabet.\n The output has the most significant digit first.\n<END>",
"<BEGIN>\n## `string_to_int`",
"Convert a string to a number, using the given alphabet.\n The input is assumed to have the most significant digit first.\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_alphabet API.
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 set_alphabet API.
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... | Set the alphabet to be used for new UUIDs. | "Set the alphabet to be used for new UUIDs." | 17 | false | skorokithakis/shortuuid | set_alphabet | 38,830 | |
LDU_FT/mila-iqia/fuel/other_set_producer | LDU_FT | [
"<BEGIN>\n## `convert_mnist`",
"Converts the MNIST dataset to HDF5.",
" Converts the MNIST dataset to an HDF5 dataset compatible with\n :class:`fuel.datasets.MNIST`. The converted dataset is\n saved as 'mnist.hdf5'.",
" This method assumes the existence of the following files:\n `train-images-i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the other_set_producer 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 other_set_producer 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... | Push image files read from the valid/test set TAR to a socket.
Parameters
----------
socket : :class:`zmq.Socket`
PUSH socket on which to send images.
which_set : str
Which set of images is being processed. One of 'train', 'valid',
'test'. Used for extracting the appropriate im... | "Push image files read from the valid/test set TAR to a socket.\n\n Parameters\n ----------\n socket : :class:`zmq.Socket`\n PUSH socket on which to send images.\n which_set : str\n Which set of images is being processed. One of 'train', 'valid',\n 'test'. Used for extracting the appro... | 358 | false | mila-iqia/fuel | other_set_producer | 38,831 | |
LDU_FT/deepmind/pysc2/camera_action | LDU_FT | [
"<BEGIN>\n## `DEFINE_point`",
"Registers a flag whose value parses as a point.\n<END>",
"<BEGIN>\n## `spatial`",
"Choose the action space for the action proto.\n<END>",
"<BEGIN>\n## `select_unit`",
"Select a specific unit from the multi-unit selection.\n<END>",
"<BEGIN>\n## `control_group`",
"Act on a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the camera_action API.
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 camera_action API.
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... | Return a `sc_pb.Action` with the camera movement filled. | "Return a `sc_pb.Action` with the camera movement filled." | 300 | false | deepmind/pysc2 | camera_action | 38,832 | |
LDU_FT/FutunnOpen/futuquant/_split_stock_code | LDU_FT | [
"<BEGIN>\n## `unpack_rsp`",
"Convert from PLS response to user response\n<END>",
"<BEGIN>\n## `getJsonPath`",
"获取JSON配置文件的路径:\n 1. 优先从当前工作目录查找JSON文件\n 2. 若无法找到则前往模块所在目录查找\n<END>",
"<BEGIN>\n## `set_client_info`",
".. py:function:: set_client_info(cls, client_id, client_ver)",
" 设置调用api的客户端... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _split_stock_code API.
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 _split_stock_code API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | do not use the built-in split function in python.
The built-in function cannot handle some stock strings correctly.
for instance, US..DJI, where the dot . itself is a part of original code | "do not use the built-in split function in python.\n The built-in function cannot handle some stock strings correctly.\n for instance, US..DJI, where the dot . itself is a part of original code" | 288 | false | FutunnOpen/futuquant | _split_stock_code | 38,833 | |
LDU_FT/iamteem/redisco/_index_key_for | LDU_FT | [
"<BEGIN>\n## `_initialize_referenced`",
"Adds a property to the target of a reference field that\n returns the list of associated objects.\n<END>",
"<BEGIN>\n## `_initialize_lists`",
"Stores the list fields descriptors of a model.\n<END>",
"<BEGIN>\n## `_initialize_references`",
"Stores the list of ref... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _index_key_for API.
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 _index_key_for API.
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 a key based on the attribute and its value.
The key is used for indexing. | "Returns a key based on the attribute and its value.\n\n The key is used for indexing." | 70 | false | iamteem/redisco | _index_key_for | 38,834 | |
LDU_FT/spotify/docker_interface/abspath | LDU_FT | [
"<BEGIN>\n## `abspath`",
"Create an absolute path.",
" Parameters\n ----------\n path : str\n absolute or relative path with respect to `ref`\n ref : str or None\n reference path if `path` is relative",
" Returns\n -------\n path : str\n absolute path",
" Raises\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the abspath API.
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 abspath API.
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 an absolute path.
Parameters
----------
path : str
absolute or relative path with respect to `ref`
ref : str or None
reference path if `path` is relative
Returns
-------
path : str
absolute path
Raises
------
ValueError
if an absolute pat... | "Create an absolute path.\n\n Parameters\n ----------\n path : str\n absolute or relative path with respect to `ref`\n ref : str or None\n reference path if `path` is relative\n\n Returns\n -------\n path : str\n absolute path\n\n Raises\n ------\n ValueError\n ... | 82 | false | spotify/docker_interface | abspath | 38,835 | |
LDU_FT/earlye/nephele/do_copy | LDU_FT | [
"<BEGIN>\n## `do_mfa`",
"Enter a 6-digit MFA token. Nephele will execute the appropriate\n `aws` command line to authenticate that token. ",
" mfa -h for more details\n<END>",
"<BEGIN>\n## `do_up`",
"Navigate up by one level.",
" For example, if you are in `(aws)/stack:.../asg:.../`, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_copy API.
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 do_copy API.
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... | Copy specified id to stack. copy -h for detailed help. | "Copy specified id to stack. copy -h for detailed help." | 52 | false | earlye/nephele | do_copy | 38,836 | |
LDU_FT/cons3rt/pycons3rt/zip_dir | LDU_FT | [
"<BEGIN>\n## `getdict`",
"Returns a standard python Dict with computed values\n from the DynDict\n :param source: (DynDict) input\n :return: (dict) Containing computed values\n<END>",
"<BEGIN>\n## `get_ec2_client`",
"Gets an EC2 client",
" :return: boto3.client object\n :raises: AWSAPIError\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the zip_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 extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the zip_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 extracted... | Creates a zip file of a directory tree
This method creates a zip archive using the directory tree dir_path
and adds to zip_file output.
:param dir_path: (str) Full path to directory to be zipped
:param zip_file: (str) Full path to the output zip file
:return: None
:raises CommandError | "Creates a zip file of a directory tree\n\n This method creates a zip archive using the directory tree dir_path\n and adds to zip_file output.\n\n :param dir_path: (str) Full path to directory to be zipped\n :param zip_file: (str) Full path to the output zip file\n :return: None\n :raises CommandError... | 386 | false | cons3rt/pycons3rt | zip_dir | 38,837 | |
LDU_FT/jrigden/pyPodcastParser/set_creative_commons | LDU_FT | [
"<BEGIN>\n## `set_is_valid_rss`",
"Check to if this is actually a valid RSS feed\n<END>",
"<BEGIN>\n## `set_optional_elements`",
"Sets elements considered option by RSS spec\n<END>",
"<BEGIN>\n## `count_items`",
"Counts Items in full_soup and soup. For debugging\n<END>",
"<BEGIN>\n## `set_creative_commo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_creative_commons 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 set_creative_commons API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Parses creative commons for item and sets value | "Parses creative commons for item and sets value" | 38 | false | jrigden/pyPodcastParser | set_creative_commons | 38,838 | |
LDU_FT/Rambatino/CHAID/model_predictions | LDU_FT | [
"<BEGIN>\n## `chisquare`",
"Calculates the chisquare for a matrix of ind_v x dep_v\n for the unweighted and SPSS weighted case\n<END>",
"<BEGIN>\n## `best_split`",
"determine which splitting function to apply\n<END>",
"<BEGIN>\n## `best_cat_heuristic_split`",
"determine best categorical variable split ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the model_predictions API.
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 model_predictions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Determines the highest frequency of
categorical dependent variable in the
terminal node where that row fell | "Determines the highest frequency of\n categorical dependent variable in the\n terminal node where that row fell" | 34 | false | Rambatino/CHAID | model_predictions | 38,839 | |
LDU_FT/neovim/pynvim/from_session | LDU_FT | [
"<BEGIN>\n## `connection_made`",
"Used to signal `asyncio.Protocol` of a successful connection.\n<END>",
"<BEGIN>\n## `data_received`",
"Used to signal `asyncio.Protocol` of incoming data.\n<END>",
"<BEGIN>\n## `pipe_data_received`",
"Used to signal `asyncio.SubprocessProtocol` of incoming data.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_session API.
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 from_session API.
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... | Create a new Nvim instance for a Session instance.
This method must be called to create the first Nvim instance, since it
queries Nvim metadata for type information and sets a SessionHook for
creating specialized objects from Nvim remote handles. | "Create a new Nvim instance for a Session instance.\n\n This method must be called to create the first Nvim instance, since it\n queries Nvim metadata for type information and sets a SessionHook for\n creating specialized objects from Nvim remote handles." | 139 | false | neovim/pynvim | from_session | 38,840 | |
LDU_FT/lepture/captcha/choices | LDU_FT | [
"<BEGIN>\n## `generate`",
"Generate an Image Captcha of the given characters.",
" :param chars: text to be generated.\n :param format: image file format\n<END>",
"<BEGIN>\n## `write`",
"Generate and write an image CAPTCHA data to the output.",
" :param chars: text to be generated.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the choices API.
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 choices API.
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... | Available choices for characters to be generated. | "Available choices for characters to be generated." | 26 | false | lepture/captcha | choices | 38,841 | |
LDU_FT/inveniosoftware/invenio-files-rest/get | LDU_FT | [
"<BEGIN>\n## `send_stream`",
"Send the contents of a file to the client.",
" .. warning::",
" It is very easy to be exposed to Cross-Site Scripting (XSS) attacks if\n you serve user uploaded files. Here are some recommendations:",
" 1. Serve user uploaded files from a separate do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Get a bucket object (excluding deleted).
:param bucket_id: Bucket identifier.
:returns: Bucket instance. | "Get a bucket object (excluding deleted).\n\n :param bucket_id: Bucket identifier.\n :returns: Bucket instance." | 272 | false | inveniosoftware/invenio-files-rest | get | 38,842 | |
LDU_FT/sethmlarson/trytravis/_submit_changes_to_github_repo | LDU_FT | [
"<BEGIN>\n## `_input_github_repo`",
"Grabs input from the user and saves\n it as their trytravis target repo\n<END>",
"<BEGIN>\n## `_load_github_repo`",
"Loads the GitHub repository from the users config.\n<END>",
"<BEGIN>\n## `_submit_changes_to_github_repo`",
"Temporarily commits local changes and su... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _submit_changes_to_github_repo API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _submit_changes_to_github_repo API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Temporarily commits local changes and submits them to
the GitHub repository that the user has specified. Then
reverts the changes to the git repository if a commit was
necessary. | "Temporarily commits local changes and submits them to\n the GitHub repository that the user has specified. Then\n reverts the changes to the git repository if a commit was\n necessary." | 20 | false | sethmlarson/trytravis | _submit_changes_to_github_repo | 38,843 | |
LDU_FT/Sliim/soundcloud-syncer/get_client_id | LDU_FT | [
"<BEGIN>\n## `get_client_id`",
"Attempt to get client_id from soundcloud homepage.\n<END>",
"<BEGIN>\n## `write_playlist_file`",
"Check if playlist exists in local directory.\n<END>",
"<BEGIN>\n## `get_download_link`",
"Get direct download link with soudcloud's redirect system.\n<END>",
"<BEGIN>\n## `ge... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_client_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_client_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 ext... | Attempt to get client_id from soundcloud homepage. | "Attempt to get client_id from soundcloud homepage." | 14 | false | Sliim/soundcloud-syncer | get_client_id | 38,844 | |
LDU_FT/jmoiron/micromongo/make_default | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect to the database. Passes arguments along to\n ``pymongo.connection.Connection`` unmodified.",
" The Connection returned by this proxy method will be used by micromongo\n for all of its queries. Micromongo will alter the behavior of this\n conneciton object in some ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_default API.
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 make_default API.
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... | Create an empty document that follows spec. Any field with a default
will take that value, required or not. Required fields with no default
will get a value of None. If your default value does not match your
type or otherwise customized Field class, this can create a spec that
fails validation. | "Create an empty document that follows spec. Any field with a default\n will take that value, required or not. Required fields with no default\n will get a value of None. If your default value does not match your\n type or otherwise customized Field class, this can create a spec that\n fails validation." | 30 | false | jmoiron/micromongo | make_default | 38,845 | |
LDU_FT/emencia/emencia-django-forum/get_first_post | LDU_FT | [
"<BEGIN>\n## `get_first_post`",
"Retourne le premier post en date, celui créé lors de la création du fil\n<END>",
"<BEGIN>\n## `save`",
"Fill 'created' and 'modified' attributes on first create\n<END>",
"<BEGIN>\n## `get_paginated_urlargs`",
"Return url arguments to retrieve the Post in a paginated list\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_first_post API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_first_post API.
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... | Retourne le premier post en date, celui créé lors de la création du fil | "Retourne le premier post en date, celui créé lors de la création du fil" | 23 | false | emencia/emencia-django-forum | get_first_post | 38,846 | |
LDU_FT/inveniosoftware/invenio-openaire/harvest_all_openaire_projects | LDU_FT | [
"<BEGIN>\n## `get_text_node`",
"Return a text node from given XML tree given an lxml XPath.\n<END>",
"<BEGIN>\n## `iter_grants`",
"Fetch grants from a remote OAI-PMH endpoint.",
" Return the Sickle-provided generator object.\n<END>",
"<BEGIN>\n## `dump`",
"Dump the grant information to a local st... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the harvest_all_openaire_projects API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the harvest_all_openaire_projects API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Reharvest all grants from OpenAIRE.
Harvest all OpenAIRE grants in a chain to prevent OpenAIRE
overloading from multiple parallel harvesting. | "Reharvest all grants from OpenAIRE.\n\n Harvest all OpenAIRE grants in a chain to prevent OpenAIRE\n overloading from multiple parallel harvesting." | 33 | false | inveniosoftware/invenio-openaire | harvest_all_openaire_projects | 38,847 | |
LDU_FT/tsnaomi/finnsyll/syllable_split | LDU_FT | [
"<BEGIN>\n## `syllabify`",
"Syllabify the given word, whether simplex or complex.\n<END>",
"<BEGIN>\n## `apply_T2`",
"There is a syllable boundary within a VV sequence of two nonidentical\n vowels that are not a genuine diphthong, e.g., [ta.e], [ko.et.taa].\n<END>",
"<BEGIN>\n## `apply_T5`",
"If a (V)V... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the syllable_split API.
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 syllable_split API.
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... | Split 'string' into (stressed) syllables and punctuation/whitespace. | "Split 'string' into (stressed) syllables and punctuation/whitespace." | 108 | false | tsnaomi/finnsyll | syllable_split | 38,848 | |
LDU_FT/iamteem/redisco/_initialize_referenced | LDU_FT | [
"<BEGIN>\n## `_initialize_referenced`",
"Adds a property to the target of a reference field that\n returns the list of associated objects.\n<END>",
"<BEGIN>\n## `_initialize_lists`",
"Stores the list fields descriptors of a model.\n<END>",
"<BEGIN>\n## `_initialize_references`",
"Stores the list of ref... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _initialize_referenced 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 _initialize_referenced API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Adds a property to the target of a reference field that
returns the list of associated objects. | "Adds a property to the target of a reference field that\n returns the list of associated objects." | 70 | false | iamteem/redisco | _initialize_referenced | 38,849 | |
LDU_FT/biocommons/eutils/_query | LDU_FT | [
"<BEGIN>\n## `databases`",
"list of databases available from eutils (per einfo query)\n<END>",
"<BEGIN>\n## `einfo`",
"query the einfo endpoint",
" :param db: string (optional)\n :rtype: EInfo or EInfoDB object",
" If db is None, the reply is a list of databases, which is returned\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _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 extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _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 extracted ... | return results for a NCBI query, possibly from the cache
:param: path: relative query path (e.g., 'einfo.fcgi')
:param: args: dictionary of query args
:param: skip_cache: whether to bypass the cache on reading
:param: skip_sleep: whether to bypass query throttling
:rtype: xml st... | "return results for a NCBI query, possibly from the cache\n\n :param: path: relative query path (e.g., 'einfo.fcgi')\n :param: args: dictionary of query args\n :param: skip_cache: whether to bypass the cache on reading\n :param: skip_sleep: whether to bypass query throttling\n :rtype:... | 23 | false | biocommons/eutils | _query | 38,850 | |
LDU_FT/python-visualization/branca/color_brewer | LDU_FT | [
"<BEGIN>\n## `legend_scaler`",
"Downsamples the number of legend values so that there isn't a collision\n of text on the legend colorbar (within reason). The colorbar seems to\n support ~10 entries as a maximum.\n<END>",
"<BEGIN>\n## `linear_gradient`",
"Given a list of hexcode values, will return a lis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the color_brewer API.
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 color_brewer API.
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... | Generate a colorbrewer color scheme of length 'len', type 'scheme.
Live examples can be seen at http://colorbrewer2.org/ | "Generate a colorbrewer color scheme of length 'len', type 'scheme.\n Live examples can be seen at http://colorbrewer2.org/" | 73 | false | python-visualization/branca | color_brewer | 38,851 | |
LDU_FT/boronine/discipline/get | LDU_FT | [
"<BEGIN>\n## `word`",
"This function generates a fake word by creating between two and three\n random syllables and then joining them together.\n<END>",
"<BEGIN>\n## `save_object`",
"Save an object with Discipline",
" Only argument is a Django object. This function saves the object\n (r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Return the value of a field.
Take a string argument representing a field name, return the value of
that field at the time of this TimeMachine. When restoring a
ForeignKey-pointer object that doesn't exist, raise
DisciplineException | "Return the value of a field.\n \n Take a string argument representing a field name, return the value of\n that field at the time of this TimeMachine. When restoring a \n ForeignKey-pointer object that doesn't exist, raise \n DisciplineException" | 49 | false | boronine/discipline | get | 38,852 | |
LDU_FT/bookieio/breadability/decode_html | LDU_FT | [
"<BEGIN>\n## `check_node_attributes`",
"Searches match in attributes against given pattern and if\n finds the match against any of them returns True.\n<END>",
"<BEGIN>\n## `generate_hash_id`",
"Generates a hash_id for the node in question.",
" :param node: lxml etree node\n<END>",
"<BEGIN>\n## `get_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_html API.
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 decode_html API.
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... | Converts bytes stream containing an HTML page into Unicode.
Tries to guess character encoding from meta tag of by "chardet" library. | "Converts bytes stream containing an HTML page into Unicode.\n Tries to guess character encoding from meta tag of by \"chardet\" library." | 48 | false | bookieio/breadability | decode_html | 38,853 | |
LDU_FT/asweigart/pyautogui/_unpackXY | 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 _unpackXY API.
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 _unpackXY API.
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... | If x is a sequence and y is None, returns x[0], y[0]. Else, returns x, y.
On functions that receive a pair of x,y coordinates, they can be passed as
separate arguments, or as a single two-element sequence. | "If x is a sequence and y is None, returns x[0], y[0]. Else, returns x, y.\n\n On functions that receive a pair of x,y coordinates, they can be passed as\n separate arguments, or as a single two-element sequence." | 162 | false | asweigart/pyautogui | _unpackXY | 38,854 | |
LDU_FT/PyFilesystem/pyfilesystem2/relativefrom | LDU_FT | [
"<BEGIN>\n## `install`",
"Install an opener.",
" Arguments:\n opener (`Opener`): an `Opener` instance, or a callable that\n returns an opener instance.",
" Note:\n May be used as a class decorator. For example::\n registry = Registry()\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the relativefrom API.
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 relativefrom API.
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... | Return a path relative from a given base path.
Insert backrefs as appropriate to reach the path from the base.
Arguments:
base (str): Path to a directory.
path (str): Path to make relative.
Returns:
str: the path to ``base`` from ``path``.
>>> relativefrom("foo/bar", "baz/ind... | "Return a path relative from a given base path.\n\n Insert backrefs as appropriate to reach the path from the base.\n\n Arguments:\n base (str): Path to a directory.\n path (str): Path to make relative.\n\n Returns:\n str: the path to ``base`` from ``path``.\n\n >>> relativefrom(\"foo/b... | 320 | false | PyFilesystem/pyfilesystem2 | relativefrom | 38,855 | |
LDU_FT/spacetelescope/pysynphot/efflam | LDU_FT | [
"<BEGIN>\n## `setUpClass`",
"Always overridden by the child cases, but let's put some\n real values in here to test with\n<END>",
"<BEGIN>\n## `extract_keywords`",
"Helper function",
" Parameters\n ----------\n icss : string\n comma-separated string",
" Return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the efflam API.
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 efflam API.
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 ... | Calculate :ref:`effective wavelength <pysynphot-formula-efflam>`
of the observation.
Calculation is done in the flux unit of ``flam``.
.. note::
Similar to IRAF STSDAS SYNPHOT ``efflphot`` task.
Parameters
----------
binned : bool
Use binned dat... | "Calculate :ref:`effective wavelength <pysynphot-formula-efflam>`\n of the observation.\n Calculation is done in the flux unit of ``flam``.\n\n .. note::\n\n Similar to IRAF STSDAS SYNPHOT ``efflphot`` task.\n\n Parameters\n ----------\n binned : bool\n Us... | 600 | false | spacetelescope/pysynphot | efflam | 38,856 | |
LDU_FT/lltk/lltk/pos | LDU_FT | [
"<BEGIN>\n## `pos`",
"Tries to decide about the part of speech.\n<END>",
"<BEGIN>\n## `articles`",
"Tries to scrape the correct articles for singular and plural from uitmuntend.nl.\n<END>",
"<BEGIN>\n## `plural`",
"Tries to scrape the plural version from uitmuntend.nl.\n<END>",
"<BEGIN>\n## `warning`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pos API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pos API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Tries to decide about the part of speech. | "Tries to decide about the part of speech." | 80 | false | lltk/lltk | pos | 38,857 | |
LDU_FT/peterbrittain/asciimatics/_draw_tile_layer | LDU_FT | [
"<BEGIN>\n## `reset`",
"Reset the scene ready for playing.",
" :param old_scene: The previous version of this Scene that was running before the\n application reset - e.g. due to a screen resize.\n :param screen: New screen to use if old_scene is not None.\n<END>",
"<BEGIN>\n## `add_ef... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _draw_tile_layer API.
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 _draw_tile_layer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Draw the visible geometry in the specified map tile. | "Draw the visible geometry in the specified map tile." | 355 | false | peterbrittain/asciimatics | _draw_tile_layer | 38,858 | |
LDU_FT/graphql-python/graphql-relay-py/connection_from_list | LDU_FT | [
"<BEGIN>\n## `node_definitions`",
"Given a function to map from an ID to an underlying object, and a function\n to map from an underlying object to the concrete GraphQLObjectType it\n corresponds to, constructs a `Node` interface that objects can implement,\n and a field config for a `node` root field.",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connection_from_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connection_from_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | A simple function that accepts an array and connection arguments, and returns
a connection object for use in GraphQL. It uses array offsets as pagination,
so pagination will only work if the array is static. | "A simple function that accepts an array and connection arguments, and returns\n a connection object for use in GraphQL. It uses array offsets as pagination,\n so pagination will only work if the array is static." | 17 | false | graphql-python/graphql-relay-py | connection_from_list | 38,859 | |
LDU_FT/osrg/ryu/register_service | LDU_FT | [
"<BEGIN>\n## `update`",
"Updates global configuration settings with given values.",
" First checks if given configuration values differ from current values.\n If any of the configuration values changed, generates a change event.\n Currently we generate change event for any configuration cha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_service API.
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 register_service API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Register the ryu application specified by 'service' as
a provider of events defined in the calling module.
If an application being loaded consumes events (in the sense of
set_ev_cls) provided by the 'service' application, the latter
application will be automatically loaded.
This mechanism is used ... | "Register the ryu application specified by 'service' as\n a provider of events defined in the calling module.\n\n If an application being loaded consumes events (in the sense of\n set_ev_cls) provided by the 'service' application, the latter\n application will be automatically loaded.\n\n This mechanism ... | 1,172 | true | osrg/ryu | register_service | 38,860 | |
LDU_FT/tchellomello/python-arlo/get_speaker_volume | LDU_FT | [
"<BEGIN>\n## `query`",
"Return a JSON object or raw session.",
" :param url: Arlo API URL\n :param method: Specify the method GET, POST or PUT. Default is GET.\n :param extra_params: Dictionary to be appended on request.body\n :param extra_headers: Dictionary to be apppended on requ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_speaker_volume API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_speaker_volume 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... | Return the volume setting of the speaker. | "Return the volume setting of the speaker." | 69 | false | tchellomello/python-arlo | get_speaker_volume | 38,861 | |
LDU_FT/discogs/python-cas-client/delete_session | LDU_FT | [
"<BEGIN>\n## `acquire_auth_token_ticket`",
"Acquire an auth token from the CAS server.\n<END>",
"<BEGIN>\n## `create_session`",
"Create a session record from a service ticket.\n<END>",
"<BEGIN>\n## `delete_session`",
"Delete a session record associated with a service ticket.\n<END>",
"<BEGIN>\n## `get_a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_session API.
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 delete_session API.
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... | Delete a session record associated with a service ticket. | "Delete a session record associated with a service ticket." | 30 | false | discogs/python-cas-client | delete_session | 38,862 | |
LDU_FT/the01/python-paps/stop | LDU_FT | [
"<BEGIN>\n## `format_message_type`",
"Get printable version for message type",
" :param message_type: Message type\n :type message_type: int\n :return: Printable version\n :rtype: str\n<END>",
"<BEGIN>\n## `format_data`",
"Format bytes for printing",
" :param data: Bytes\n :type data: No... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop API.
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 stop API.
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... | Stop the sensor server (soft stop - signal packet loop to stop)
Warning: Is non blocking (server might still do something after this!)
:rtype: None | "Stop the sensor server (soft stop - signal packet loop to stop)\n Warning: Is non blocking (server might still do something after this!)\n\n :rtype: None" | 182 | false | the01/python-paps | stop | 38,863 | |
LDU_FT/iamjarret/pystockfish/_bestmove_get_info | LDU_FT | [
"<BEGIN>\n## `move`",
"Advance game by single move, if possible.",
" @return: logical indicator if move was performed.\n<END>",
"<BEGIN>\n## `setposition`",
"Move list is a list of moves (i.e. ['e2e4', 'e7e5', ...]) each entry as a string. Moves must be in full algebraic notation.\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _bestmove_get_info 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 _bestmove_get_info 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... | Parse stockfish evaluation output as dictionary.
Examples of input:
"info depth 2 seldepth 3 multipv 1 score cp -656 nodes 43 nps 43000 tbhits 0 \
time 1 pv g7g6 h3g3 g6f7"
"info depth 10 seldepth 12 multipv 1 score mate 5 nodes 2378 nps 1189000 tbhits 0 \
time 2 pv h3g3 g6f7 ... | "Parse stockfish evaluation output as dictionary.\n\n Examples of input:\n\n \"info depth 2 seldepth 3 multipv 1 score cp -656 nodes 43 nps 43000 tbhits 0 \\\n time 1 pv g7g6 h3g3 g6f7\"\n\n \"info depth 10 seldepth 12 multipv 1 score mate 5 nodes 2378 nps 1189000 tbhits 0 \\\n time 2... | 25 | false | iamjarret/pystockfish | _bestmove_get_info | 38,864 | |
LDU_FT/yahoo/TensorFlowOnSpark/_fit | LDU_FT | [
"<BEGIN>\n## `start`",
"Create a new multiprocess.Manager (or return existing one).",
" Args:\n :authkey: string authorization key\n :queues: *INTERNAL_USE*\n :mode: 'local' indicates that the manager will only be accessible from the same host, otherwise remotely accessible.",
" Returns:\n A TFM... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fit API.
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 _fit API.
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... | Trains a TensorFlow model and returns a TFModel instance with the same args/params pointing to a checkpoint or saved_model on disk.
Args:
:dataset: A Spark DataFrame with columns that will be mapped to TensorFlow tensors.
Returns:
A TFModel representing the trained model, backed on disk by a Tenso... | "Trains a TensorFlow model and returns a TFModel instance with the same args/params pointing to a checkpoint or saved_model on disk.\n\n Args:\n :dataset: A Spark DataFrame with columns that will be mapped to TensorFlow tensors.\n\n Returns:\n A TFModel representing the trained model, backed on disk by ... | 483 | false | yahoo/TensorFlowOnSpark | _fit | 38,865 | |
LDU_FT/Shizmob/pydle/_has_message | 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 _has_message API.
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 _has_message API.
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... | Whether or not we have messages available for processing. | "Whether or not we have messages available for processing." | 96 | false | Shizmob/pydle | _has_message | 38,866 | |
LDU_FT/Robpol86/libnl/probe_response | LDU_FT | [
"<BEGIN>\n## `nla_ok`",
"Check if the attribute header and payload can be accessed safely.",
" https://github.com/thom311/libnl/blob/libnl3_2_25/lib/attr.c#L148",
" Verifies that the header and payload do not exceed the number of bytes left in the attribute stream. This function\n must be called befo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the probe_response API.
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 probe_response API.
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... | Process responses from from the query sent by genl_ctrl_probe_by_name().
https://github.com/thom311/libnl/blob/libnl3_2_25/lib/genl/ctrl.c#L203
Process returned messages, filling out the missing information in the genl_family structure.
Positional arguments:
msg -- returned message (nl_msg class inst... | "Process responses from from the query sent by genl_ctrl_probe_by_name().\n\n https://github.com/thom311/libnl/blob/libnl3_2_25/lib/genl/ctrl.c#L203\n\n Process returned messages, filling out the missing information in the genl_family structure.\n\n Positional arguments:\n msg -- returned message (nl_msg cl... | 702 | false | Robpol86/libnl | probe_response | 38,867 | |
LDU_FT/kpdyer/regex2dfa/Send | LDU_FT | [
"<BEGIN>\n## `MakeRanges`",
"Turn a list like [1,2,3,7,8,9] into a range list [[1,3], [7,9]]\n<END>",
"<BEGIN>\n## `PrintRanges`",
"Print the ranges as an array of type named name.\n<END>",
"<BEGIN>\n## `PrintGroup`",
"Print the data structures for the group of codes.\n Return a UGroup literal for the gr... | 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 an RPC and returns the response.
Args:
request_path: The path to send the request to, eg /api/appversion/create.
payload: The body of the request, or None to send an empty request.
content_type: The Content-Type header to use.
timeout: timeout in seconds; default None i.e. no timeout.
(Note: fo... | "Sends an RPC and returns the response.\n\n\t\tArgs:\n\t\t\trequest_path: The path to send the request to, eg /api/appversion/create.\n\t\t\tpayload: The body of the request, or None to send an empty request.\n\t\t\tcontent_type: The Content-Type header to use.\n\t\t\ttimeout: timeout in seconds; default None i.e. no t... | 163 | false | kpdyer/regex2dfa | Send | 38,868 | |
LDU_FT/astropy/regions/event_table | LDU_FT | [
"<BEGIN>\n## `ds9_objects_to_string`",
"Converts a `list` of `~regions.Region` to DS9 region string.",
" Parameters\n ----------\n regions : `list`\n List of `~regions.Region` objects\n coordsys : `str`, optional\n This overrides the coordinate system frame for all regions.\n De... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the event_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the event_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Event table (`~astropy.table.Table`).
Columns: GLON, GLAT, SOURCE_IDX | "Event table (`~astropy.table.Table`).\n\n Columns: GLON, GLAT, SOURCE_IDX" | 237 | false | astropy/regions | event_table | 38,869 | |
LDU_FT/horazont/aioopenssl/starttls | LDU_FT | [
"<BEGIN>\n## `create_starttls_connection`",
"Create a connection which can later be upgraded to use TLS.",
" .. versionchanged:: 0.4",
" The `local_addr` argument was added.",
" :param loop: The event loop to use.\n :type loop: :class:`asyncio.BaseEventLoop`\n :param protocol_factory: Fac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the starttls API.
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 starttls API.
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... | Start a TLS stream on top of the socket. This is an invalid operation
if the stream is not in RAW_OPEN state.
If `ssl_context` is set, it overrides the `ssl_context` passed to the
constructor. If `post_handshake_callback` is set, it overrides the
`post_handshake_callback` passed to the ... | "Start a TLS stream on top of the socket. This is an invalid operation\n if the stream is not in RAW_OPEN state.\n\n If `ssl_context` is set, it overrides the `ssl_context` passed to the\n constructor. If `post_handshake_callback` is set, it overrides the\n `post_handshake_callback` passed t... | 26 | false | horazont/aioopenssl | starttls | 38,870 | |
LDU_FT/Kentzo/Power/add_observer | LDU_FT | [
"<BEGIN>\n## `add_observer`",
"Adds weak ref to an observer.",
" @param observer: Instance of class registered with PowerManagementObserver\n @raise TypeError: If observer is not registered with PowerManagementObserver abstract class\n<END>",
"<BEGIN>\n## `startThread`",
"Spawns new NSThread t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_observer API.
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 add_observer API.
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... | Spawns thread or adds IOPSNotificationCreateRunLoopSource directly to provided cf_run_loop
@see: __init__ | "Spawns thread or adds IOPSNotificationCreateRunLoopSource directly to provided cf_run_loop\n @see: __init__" | 44 | false | Kentzo/Power | add_observer | 38,871 | |
LDU_FT/oceanprotocol/squid-py/process_agreement_events_consumer | LDU_FT | [
"<BEGIN>\n## `get_requests_session`",
"Set connection pool maxsize and block value to avoid `connection pool full` warnings.",
" :return: requests session\n<END>",
"<BEGIN>\n## `request_tokens`",
"Request an amount of tokens for a particular address.\n This transaction has gas cost",
" :p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_agreement_events_consumer 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 process_agreement_events_consumer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | Process the agreement events during the register of the service agreement for the consumer side.
:param publisher_address: ethereum account address of publisher, hex str
:param agreement_id: id of the agreement, hex str
:param did: DID, str
:param service_agreement: ServiceAgreement instance
:param... | "Process the agreement events during the register of the service agreement for the consumer side.\n\n :param publisher_address: ethereum account address of publisher, hex str\n :param agreement_id: id of the agreement, hex str\n :param did: DID, str\n :param service_agreement: ServiceAgreement instance\n ... | 417 | false | oceanprotocol/squid-py | process_agreement_events_consumer | 38,872 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.