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/HydrelioxGitHub/PyYeelight/build_message
LDU_FT
[ "<BEGIN>\n## `build_message`", "Make the one string message sent to the bulb\n<END>", "<BEGIN>\n## `decode_response`", "Put in self.result the data from the response\n Can generate exception if the command and the response id does not match\n of if the response is an error\n :...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_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 ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_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 ext...
Make the one string message sent to the bulb
"Make the one string message sent to the bulb"
40
false
HydrelioxGitHub/PyYeelight
build_message
5,873
LDU_FT/cobrateam/splinter/mouse_over
LDU_FT
[ "<BEGIN>\n## `Browser`", "Returns a driver instance for the given name.", " When working with ``firefox``, it's possible to provide a profile name\n and a list of extensions.", " If you don't provide any driver_name, then ``firefox`` will be used.", " If there is no driver registered with the pr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mouse_over API. 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 mouse_over API. 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...
Performs a mouse over the element. Currently works only on Chrome driver.
"Performs a mouse over the element.\n\n Currently works only on Chrome driver."
22
false
cobrateam/splinter
mouse_over
5,874
LDU_FT/sveetch/djangocodemirror/get_initial
LDU_FT
[ "<BEGIN>\n## `codemirror_settings_update`", "Return a new dictionnary of configs updated with given parameters.", " You may use ``on`` and ``names`` arguments to select config or filter out\n some configs from returned dict.", " Arguments:\n configs (dict): Dictionnary of configurations to upd...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_initial API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_initial API. 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...
Try to find a demo source for given mode if any, if finded use it to fill the demo textarea.
"Try to find a demo source for given mode if any, if finded use it to\n fill the demo textarea."
125
false
sveetch/djangocodemirror
get_initial
5,875
LDU_FT/angr/angr/_insert_and_merge
LDU_FT
[ "<BEGIN>\n## `_alias_analysis`", "Perform a forward execution and perform alias analysis. Note that this analysis is fast, light-weight, and by no\n means complete. For instance, most arithmetic operations are not supported.", " - Depending on user settings, stack pointer and stack base pointer wi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _insert_and_merge API. 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 _insert_and_merge API. 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 whether the block specified by (address, size) should be merged with adjacent blocks. :param int address: Starting address of the block to be merged. :param int size: Size of the block to be merged. :param str sort: Type of the block. :param int idx: ID of the address. ...
"Determines whether the block specified by (address, size) should be merged with adjacent blocks.\n\n :param int address: Starting address of the block to be merged.\n :param int size: Size of the block to be merged.\n :param str sort: Type of the block.\n :param int idx: ID of the address.\...
2,448
true
angr/angr
_insert_and_merge
5,876
LDU_FT/aacanakin/glim/boot
LDU_FT
[ "<BEGIN>\n## `import_source`", "Function imports a module given full path", " Args\n ----\n module (string): the module name\n path (string): the full path of module\n pass_errors(boolean): the switch for function\n to skip errors or not.", " Returns\n -------\n module (module): the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the boot API. 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 boot API. 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...
Function creates the instance of accessor with dynamic positional & keyword arguments. Args ---- args (positional arguments): the positional arguments that are passed to the class of accessor. kwargs (keyword arguments): the keyword arguments that are...
"Function creates the instance of accessor with dynamic\n positional & keyword arguments.\n\n Args\n ----\n args (positional arguments): the positional arguments\n that are passed to the class of accessor.\n kwargs (keyword arguments): the keyword arguments\n ...
74
false
aacanakin/glim
boot
5,877
LDU_FT/limpyd/redis-limpyd-extensions/get_for
LDU_FT
[ "<BEGIN>\n## `get_name_for`", "Return the name for the current dynamic field, accepting a limpyd\n instance for the dynamic part\n<END>", "<BEGIN>\n## `_attach_to_model`", "Check that the model can handle dynamic fields\n<END>", "<BEGIN>\n## `pattern`", "Return the pattern used to check if a field ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extracted...
Return a variation of the current dynamic field based on the given dynamic part. Use the "format" attribute to create the final name
"Return a variation of the current dynamic field based on the given\n dynamic part. Use the \"format\" attribute to create the final name"
46
false
limpyd/redis-limpyd-extensions
get_for
5,878
LDU_FT/mathiasertl/django-ca/x509
LDU_FT
[ "<BEGIN>\n## `init`", "Create a new certificate authority.", " Parameters\n ----------", " name : str\n The name of the CA. This is a human-readable string and is used for administrative purposes only.\n subject : dict or str or :py:class:`~django_ca.subject.Subject`\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the x509 API. 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 x509 API. 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...
The underlying :py:class:`cg:cryptography.x509.Certificate`.
"The underlying :py:class:`cg:cryptography.x509.Certificate`."
164
false
mathiasertl/django-ca
x509
5,879
LDU_FT/dacut/meterer/allow_resource_access
LDU_FT
[ "<BEGIN>\n## `resource_to_bucket_and_key`", "S3Meterer.resource_to_bucket_and_key(resource_name) -> (str, str)", " Convert an S3 resource name in the form 's3://bucket/key' to a tuple\n of ('bucket', 'key').\n<END>", "<BEGIN>\n## `allow_resource_access`", "meterer.allow_resource_access(resourc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the allow_resource_access 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 allow_resource_access API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
meterer.allow_resource_access(resource_name, when=None) -> bool Indicate whether access to the specified resource should be allowed. This checks the limit(s) for the pool associated with the resource and records the attempt. If the attempt falls below the limit, the allowance is also re...
"meterer.allow_resource_access(resource_name, when=None) -> bool\n\n Indicate whether access to the specified resource should be allowed.\n This checks the limit(s) for the pool associated with the resource and\n records the attempt. If the attempt falls below the limit, the allowance\n is a...
26
false
dacut/meterer
allow_resource_access
5,880
LDU_FT/Vital-Fernandez/dazer/ufloatDict_stdev
LDU_FT
[ "<BEGIN>\n## `linfit`", "Least squares linear fit.", " Fit a straight line `f(x_true) = a + bx` to points `(x_true, y)`. Returns\n coefficients `a` and `b` that minimize the squared error.", " Parameters\n ----------\n x_true : array_like\n one dimensional array of `x_true` data with `n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ufloatDict_stdev API. 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 ufloatDict_stdev API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
This gives us a dictionary of nominal values from a dictionary of uncertainties
"This gives us a dictionary of nominal values from a dictionary of uncertainties"
228
false
Vital-Fernandez/dazer
ufloatDict_stdev
5,881
LDU_FT/ipfs/py-ipfs-api/bitswap_wantlist
LDU_FT
[ "<BEGIN>\n## `parse`", "Returns a Python object decoded from the bytes of this encoding.", " Raises\n ------\n ~ipfsapi.exceptions.DecodingError", " Parameters\n ----------\n raw : bytes\n Data to be parsed", " Returns\n -------\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bitswap_wantlist API. 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 bitswap_wantlist API. 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 blocks currently on the bitswap wantlist. .. code-block:: python >>> c.bitswap_wantlist() {'Keys': [ 'QmeV6C6XVt1wf7V7as7Yak3mxPma8jzpqyhtRtCvpKcfBb', 'QmdCWFLDXqgdWQY9kVubbEHBbkieKd3uo7MtCm7nTZZE9K', 'QmVQ1XvYGF19X4eJqz1s7FJYJqAx...
"Returns blocks currently on the bitswap wantlist.\n\n .. code-block:: python\n\n >>> c.bitswap_wantlist()\n {'Keys': [\n 'QmeV6C6XVt1wf7V7as7Yak3mxPma8jzpqyhtRtCvpKcfBb',\n 'QmdCWFLDXqgdWQY9kVubbEHBbkieKd3uo7MtCm7nTZZE9K',\n 'QmVQ1XvYGF19X4eJqz1...
499
false
ipfs/py-ipfs-api
bitswap_wantlist
5,882
LDU_FT/rdireen/spherepy/spht
LDU_FT
[ "<BEGIN>\n## `sbessely`", "Returns a vector of spherical bessel functions yn:\r", " x: The argument.\r\n N: values of n will run from 0 to N-1.\n<END>", "<BEGIN>\n## `sbesselj`", "Returns a vector of spherical bessel functions jn:\r", " x: The argument.\r\n N: values of...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the spht API. 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 spht API. 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...
Transforms ScalarPatternUniform object *ssphere* into a set of scalar spherical harmonics stored in ScalarCoefs. Example:: >>> p = spherepy.random_patt_uniform(6, 8) >>> c = spherepy.spht(p) >>> spherepy.pretty_coefs(c) Args: ssphere (ScalarPatternUniform): The pat...
"Transforms ScalarPatternUniform object *ssphere* into a set of scalar\r\n spherical harmonics stored in ScalarCoefs.\r\n\r\n Example::\r\n\r\n >>> p = spherepy.random_patt_uniform(6, 8)\r\n >>> c = spherepy.spht(p)\r\n >>> spherepy.pretty_coefs(c)\r\n\r\n Args:\r\n ssphere (ScalarPat...
194
false
rdireen/spherepy
spht
5,883
LDU_FT/fuhrysteve/marshmallow-jsonschema/handle_length
LDU_FT
[ "<BEGIN>\n## `_get_default_mapping`", "Return default mapping if there are no special needs.\n<END>", "<BEGIN>\n## `dump`", "Take obj for later use: using class name to namespace definition.\n<END>", "<BEGIN>\n## `wrap`", "Wrap this with the root schema definitions.\n<END>", "<BEGIN>\n## `handle_length`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_length API. 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 handle_length API. 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...
Adds validation logic for ``marshmallow.validate.Length``, setting the values appropriately for ``fields.List``, ``fields.Nested``, and ``fields.String``. Args: schema (dict): The original JSON schema we generated. This is what we want to post-process. field (fields.Field): The ...
"Adds validation logic for ``marshmallow.validate.Length``, setting the\n values appropriately for ``fields.List``, ``fields.Nested``, and\n ``fields.String``.\n\n Args:\n schema (dict): The original JSON schema we generated. This is what we\n want to post-process.\n field (fields.Fiel...
19
false
fuhrysteve/marshmallow-jsonschema
handle_length
5,884
LDU_FT/datadesk/django-bakery/get_url
LDU_FT
[ "<BEGIN>\n## `serve`", "Serve static files below a given point in the directory structure.", " To use, put a URL pattern such as::", " (r'^(?P<path>.*)$', 'django.views.static.serve',\n {'document_root' : '/path/to/my/files/'})", " in your URLconf. You must provide the ``document_roo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
The URL at which the detail page should appear. By default it is /archive/ + the year in self.year_format + the month in self.month_format + the day in the self.day_format. An example would be /archive/2016/01/01/.
"The URL at which the detail page should appear.\n\n By default it is /archive/ + the year in self.year_format + the\n month in self.month_format + the day in the self.day_format.\n An example would be /archive/2016/01/01/."
104
false
datadesk/django-bakery
get_url
5,885
LDU_FT/btel/svg_utils/find_id
LDU_FT
[ "<BEGIN>\n## `fromfile`", "Open SVG figure from file.", " Parameters\n ----------\n fname : str\n name of the SVG file", " Returns\n -------\n SVGFigure\n newly created :py:class:`SVGFigure` initialised with the file content\n<END>", "<BEGIN>\n## `fromstring`", "Create a SV...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_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 extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_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 extracted...
Find element by its id. Parameters ---------- element_id : str ID of the element to find Returns ------- FigureElement one of the children element with the given ID.
"Find element by its id.\n\n Parameters\n ----------\n element_id : str\n ID of the element to find\n\n Returns\n -------\n FigureElement\n one of the children element with the given ID."
63
false
btel/svg_utils
find_id
5,886
LDU_FT/jadolg/rocketchat_API/users_info
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 users_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 extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the users_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 extrac...
Gets a user’s information, limited to the caller’s permissions.
"Gets a user’s information, limited to the caller’s permissions."
82
false
jadolg/rocketchat_API
users_info
5,887
LDU_FT/libtcod/python-tcod/console_print_frame
LDU_FT
[ "<BEGIN>\n## `_int`", "return an integer where a single character string may be expected\n<END>", "<BEGIN>\n## `_describe_bitmask`", "Returns a bitmask in human readable form.", " This is a private function, used internally.", " Args:\n bits (int): The bitmask to be represented.\n tabl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the console_print_frame API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the console_print_frame API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Draw a framed rectangle with optinal text. This uses the default background color and blend mode to fill the rectangle and the default foreground to draw the outline. `fmt` will be printed on the inside of the rectangle, word-wrapped. If `fmt` is empty then no title will be drawn. .. versionchang...
"Draw a framed rectangle with optinal text.\n\n This uses the default background color and blend mode to fill the\n rectangle and the default foreground to draw the outline.\n\n `fmt` will be printed on the inside of the rectangle, word-wrapped.\n If `fmt` is empty then no title will be drawn.\n\n .. ver...
1,050
true
libtcod/python-tcod
console_print_frame
5,888
LDU_FT/martinkosir/neverbounce-python/_handle_response
LDU_FT
[ "<BEGIN>\n## `verify`", "Verify a single email address.\n :param str email: Email address to verify.\n :return: A VerifiedEmail object.\n<END>", "<BEGIN>\n## `create_job`", "Create a new bulk verification job for the list of emails.\n :param list emails: Email addresses to verify.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _handle_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 ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _handle_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 ...
Handle the response and possible failures. :param Response response: Response data. :return: A dictionary or a string with response data. :raises: NeverBounceAPIError if the API call fails.
"Handle the response and possible failures.\n :param Response response: Response data.\n :return: A dictionary or a string with response data.\n :raises: NeverBounceAPIError if the API call fails."
22
false
martinkosir/neverbounce-python
_handle_response
5,889
LDU_FT/sassoo/goldman/get_body
LDU_FT
[ "<BEGIN>\n## `_gen_s3_path`", "Return the part of the S3 path based on inputs", " The path will be passed to the s3_upload method &\n will ultimately be merged with the standard AWS S3\n URL.", " An example model type of 'users' with a resource ID\n of 99 & an API endpoint e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_body API. 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_body API. 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...
Return a HTTPStatus compliant body attribute Be sure to purge any unallowed properties from the object. TIP: At the risk of being a bit slow we copy the errors instead of mutating them since they may have key/vals like headers that are useful elsewhere.
"Return a HTTPStatus compliant body attribute\n\n Be sure to purge any unallowed properties from the object.\n\n TIP: At the risk of being a bit slow we copy the errors\n instead of mutating them since they may have key/vals\n like headers that are useful elsewhere."
446
false
sassoo/goldman
get_body
5,890
LDU_FT/hcpl/xkbgroup/groups_data
LDU_FT
[ "<BEGIN>\n## `open_display`", "Establishes connection with X server and prepares objects\n necessary to retrieve and send data.\n<END>", "<BEGIN>\n## `close_display`", "Closes connection with X server and cleans up objects\n created on open_display().\n<END>", "<BEGIN>\n## `groups_data`", "A...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the groups_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the groups_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
All data about all groups (get-only). :getter: Returns all data about all groups :type: list of GroupData
"All data about all groups (get-only).\n\n :getter: Returns all data about all groups\n :type: list of GroupData"
30
false
hcpl/xkbgroup
groups_data
5,891
LDU_FT/tomer8007/kik-bot-api-unofficial/send_captcha_result
LDU_FT
[ "<BEGIN>\n## `_connect`", "Runs the kik connection thread, which creates an encrypted (SSL based) TCP connection\n to the kik servers.\n<END>", "<BEGIN>\n## `_on_connection_made`", "Gets called when the TCP connection to kik's servers is done and we are connected.\n Now we might initiate a login...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_captcha_result 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 send_captcha_result 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...
In case a captcha was encountered, solves it using an element ID and a response parameter. The stc_id can be extracted from a CaptchaElement, and the captcha result needs to be extracted manually with a browser. Please see solve_captcha_wizard() for the steps needed to solve the captcha :param ...
"In case a captcha was encountered, solves it using an element ID and a response parameter.\n The stc_id can be extracted from a CaptchaElement, and the captcha result needs to be extracted manually with\n a browser. Please see solve_captcha_wizard() for the steps needed to solve the captcha\n\n :p...
96
false
tomer8007/kik-bot-api-unofficial
send_captcha_result
5,892
LDU_FT/samuelcolvin/pydantic/validate_field_name
LDU_FT
[ "<BEGIN>\n## `validate_email`", "Brutally simple email address validation. Note unlike most email address validation\n * raw ip address (literal) domain parts are not allowed.\n * \"John Doe <local_part@domain.com>\" style \"pretty\" email addresses are processed\n * the local part check is extremely bas...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_field_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. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_field_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. T...
Ensure that the field's name does not shadow an existing attribute of the model.
"Ensure that the field's name does not shadow an existing attribute of the model."
113
false
samuelcolvin/pydantic
validate_field_name
5,893
LDU_FT/limix/numpy-sugar/economic_qs_linear
LDU_FT
[ "<BEGIN>\n## `dotd`", "r\"\"\"Diagonal of :math:`\\mathrm A\\mathrm B^\\intercal`.", " If ``A`` is :math:`n\\times p` and ``B`` is :math:`p\\times n`, it is done in\n :math:`O(pn)`.", " Args:\n A (array_like): Left matrix.\n B (array_like): Right matrix.\n out (:class:`numpy.ndar...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the economic_qs_linear 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 economic_qs_linear 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...
r"""Economic eigen decomposition for symmetric matrices ``dot(G, G.T)``. It is theoretically equivalent to ``economic_qs(dot(G, G.T))``. Refer to :func:`numpy_sugar.economic_qs` for further information. Args: G (array_like): Matrix. Returns: tuple: ``((Q0, Q1), S0)``.
"r\"\"\"Economic eigen decomposition for symmetric matrices ``dot(G, G.T)``.\n\n It is theoretically equivalent to ``economic_qs(dot(G, G.T))``.\n Refer to :func:`numpy_sugar.economic_qs` for further information.\n\n Args:\n G (array_like): Matrix.\n\n Returns:\n tuple: ``((Q0, Q1), S0)``."
124
false
limix/numpy-sugar
economic_qs_linear
5,894
LDU_FT/belbio/bel/ast_dict_to_objects
LDU_FT
[ "<BEGIN>\n## `convert_msg_to_html`", "Convert \\n into a <BR> for an HTML formatted message\n<END>", "<BEGIN>\n## `validate`", "Validate Nanopub", " Error Levels are similar to log levels - selecting WARNING includes both\n WARNING and ERROR, selecting ERROR just includes ERROR", " The validation...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ast_dict_to_objects 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 ast_dict_to_objects 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...
Convert Tatsu AST dictionary to BEL AST object Args: ast_dict (Mapping[str, Any]) Returns: BELAst: object representing the BEL Statement AST
"Convert Tatsu AST dictionary to BEL AST object\n\n Args:\n ast_dict (Mapping[str, Any])\n\n Returns:\n BELAst: object representing the BEL Statement AST"
475
false
belbio/bel
ast_dict_to_objects
5,895
LDU_FT/erikrose/nose-progressive/human_path
LDU_FT
[ "<BEGIN>\n## `format_traceback`", "Return an iterable of formatted Unicode traceback frames.", " Also include a pseudo-frame at the end representing the exception itself.", " Format things more compactly than the stock formatter, and make every\n frame an editor shortcut.\n<END>", "<BEGIN>\n## `ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the human_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the human_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Return the most human-readable representation of the given path. If an absolute path is given that's within the current directory, convert it to a relative path to shorten it. Otherwise, return the absolute path.
"Return the most human-readable representation of the given path.\n\n If an absolute path is given that's within the current directory, convert\n it to a relative path to shorten it. Otherwise, return the absolute path."
65
false
erikrose/nose-progressive
human_path
5,896
LDU_FT/elehcimd/pynb/inc_version
LDU_FT
[ "<BEGIN>\n## `get_func`", "Get function from module\n :param func_name: function name\n :param module_pathname: pathname to module\n :return:\n<END>", "<BEGIN>\n## `cell_hash`", "Compute cell hash based on cell index and cell content\n :param cell: cell to be hashed\n :param cell_index...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inc_version API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inc_version API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Increment micro release version (in 'major.minor.micro') in version.py and re-import it. Major and minor versions must be incremented manually in version.py. :return: list with current version numbers, e.g., [0,1,23].
"Increment micro release version (in 'major.minor.micro') in version.py and re-import it.\n Major and minor versions must be incremented manually in version.py.\n\n :return: list with current version numbers, e.g., [0,1,23]."
39
false
elehcimd/pynb
inc_version
5,897
LDU_FT/justanr/Flask-Transfer/really_bad_du
LDU_FT
[ "<BEGIN>\n## `pdftojpg`", "Converts a PDF to a JPG and places it back onto the FileStorage instance\n passed to it as a BytesIO object.", " Optional meta arguments are:\n * resolution: int or (int, int) used for wand to determine resolution,\n defaults to 300.\n * width: new width of ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the really_bad_du API. 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 really_bad_du API. 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...
Don't actually use this, it's just an example.
"Don't actually use this, it's just an example."
25
false
justanr/Flask-Transfer
really_bad_du
5,898
LDU_FT/Phylliade/ikpy/quat_rotate
LDU_FT
[ "<BEGIN>\n## `plot_basis`", "Plot le repère adapté à la taille du robot\n<END>", "<BEGIN>\n## `plot_target_trajectory`", "Ajoute la trajectoire (liste des targets) au plot\n<END>", "<BEGIN>\n## `symbolic_Rz_matrix`", "Matrice symbolique de rotation autour de l'axe Z\n<END>", "<BEGIN>\n## `rotation_matri...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quat_rotate API. 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 quat_rotate API. 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...
Rotate a vector according to a quaternion. Equivalent to the C++ method tf::quatRotate :param rotation: the rotation :param vector: the vector to rotate :return: the rotated vector
"Rotate a vector according to a quaternion. Equivalent to the C++ method tf::quatRotate\n :param rotation: the rotation\n :param vector: the vector to rotate\n :return: the rotated vector"
88
false
Phylliade/ikpy
quat_rotate
5,899
LDU_FT/GiulioRossetti/dynetx/add_path
LDU_FT
[ "<BEGIN>\n## `node_link_data`", "Return data in node-link format that is suitable for JSON serialization\n and use in Javascript documents.", " Parameters\n ----------\n G : DyNetx graph", " attrs : dict\n A dictionary that contains three keys 'id', 'source' and 'target'.\n The c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Add a path at time t. Parameters ---------- G : graph A DyNetx graph nodes : iterable container A container of nodes. t : snapshot id (default=None) snapshot id See Also -------- ...
"Add a path at time t.\n\n Parameters\n ----------\n G : graph\n A DyNetx graph\n\n nodes : iterable container\n A container of nodes.\n\n t : snapshot id (default=None)\n snapshot id\n\n See Also\n ...
349
false
GiulioRossetti/dynetx
add_path
5,900
LDU_FT/hardbyte/python-can/check_error_cmd
LDU_FT
[ "<BEGIN>\n## `open`", "Opens a CAN connection using `CanalOpen()`.", " :param str configuration: the configuration: \"device_id; baudrate\"\n :param int flags: the flags to be set", " :raises can.CanError: if any error occurred\n :returns: Valid handle for CANAL API functions on su...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_error_cmd API. 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 check_error_cmd API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Checks if any function returns an error from firmware in USB-CANmodul. :param ReturnCode result: Error code of the function. :return: True if a function returned error from firmware, otherwise False. :rtype: bool
"Checks if any function returns an error from firmware in USB-CANmodul.\n\n :param ReturnCode result: Error code of the function.\n :return: True if a function returned error from firmware, otherwise False.\n :rtype: bool"
417
false
hardbyte/python-can
check_error_cmd
5,901
LDU_FT/SMTG-UCL/sumo/bandstats
LDU_FT
[ "<BEGIN>\n## `kpath_from_seekpath`", "r\"\"\"Convert seekpath-formatted kpoints path to sumo-preferred format.", " If 'GAMMA' is used as a label this will be replaced by '\\Gamma'.", " Args:\n seekpath (list): A :obj:`list` of 2-tuples containing the labels at\n each si...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bandstats API. 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 bandstats API. 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...
Calculate the effective masses of the bands of a semiconductor. Args: filenames (:obj:`str` or :obj:`list`, optional): Path to vasprun.xml or vasprun.xml.gz file. If no filenames are provided, the code will search for vasprun.xml or vasprun.xml.gz files in folders named ...
"Calculate the effective masses of the bands of a semiconductor.\n\n Args:\n filenames (:obj:`str` or :obj:`list`, optional): Path to vasprun.xml\n or vasprun.xml.gz file. If no filenames are provided, the code\n will search for vasprun.xml or vasprun.xml.gz files in folders\n ...
449
false
SMTG-UCL/sumo
bandstats
5,902
LDU_FT/chbrown/argv/parse_tokens
LDU_FT
[ "<BEGIN>\n## `peek`", "Returns `default` is there is no subsequent item\n<END>", "<BEGIN>\n## `add`", "Add an argument; this is optional, and mostly useful for setting up aliases or setting boolean=True", " Apparently `def add(self, *matches, default=None, boolean=False):` is invalid syntax in Python...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_tokens API. 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_tokens API. 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...
Read tokens strings into (is_flag, value) tuples: For this value of `tokens`: ['-f', 'pets.txt', '-v', 'cut', '-cz', '--lost', '--delete=sam', '--', 'lester', 'jack'] `flatten(tokens)` yields an iterable: [ (True, 'f'), (False, 'pets.txt'), (True, 'v'), ...
"Read tokens strings into (is_flag, value) tuples:\n\n For this value of `tokens`:\n\n ['-f', 'pets.txt', '-v', 'cut', '-cz', '--lost', '--delete=sam', '--', 'lester', 'jack']\n\n `flatten(tokens)` yields an iterable:\n\n [\n (True, 'f'),\n (False, 'pets.txt'),\n (T...
23
false
chbrown/argv
parse_tokens
5,903
LDU_FT/Bystroushaak/BalancedDiscStorage/delete_by_file
LDU_FT
[ "<BEGIN>\n## `_unpack_zip`", "Unpack .zip archive in `file_obj` to given `path`. Make sure, that it\n fits into limits (see :attr:`._max_zipfiles` for details).", " Args:\n file_obj (file): Opened file-like object.\n path (str): Path into which the .zip will be unpacked.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_by_file API. 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_by_file API. 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...
Remove file from the storage. File is identified by opened `file_obj`, from which the hashes / path are computed. Args: file_obj (file): Opened file-like object, which is used to compute hashes. Raises: IOError: If the `file_obj` is not in storage.
"Remove file from the storage. File is identified by opened `file_obj`,\n from which the hashes / path are computed.\n\n Args:\n file_obj (file): Opened file-like object, which is used to compute\n hashes.\n\n Raises:\n IOError: If the `file_obj` is not in ...
50
false
Bystroushaak/BalancedDiscStorage
delete_by_file
5,904
LDU_FT/tensorflow/lucid/_linear_decorelate_color
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 _linear_decorelate_color API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _linear_decorelate_color API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Multiply input by sqrt of emperical (ImageNet) color correlation matrix. If you interpret t's innermost dimension as describing colors in a decorrelated version of the color space (which is a very natural way to describe colors -- see discussion in Feature Visualization article) the way to map back to normal...
"Multiply input by sqrt of emperical (ImageNet) color correlation matrix.\n \n If you interpret t's innermost dimension as describing colors in a\n decorrelated version of the color space (which is a very natural way to\n describe colors -- see discussion in Feature Visualization article) the way\n to map back to ...
296
false
tensorflow/lucid
_linear_decorelate_color
5,905
LDU_FT/CamDavidsonPilon/lifelines/score_
LDU_FT
[ "<BEGIN>\n## `right_censor_lifetimes`", "Right censor the deaths, uniformly\n lifetimes: (n,) array of positive random variables\n max_: the max time a censorship can occur\n min_: the min time a censorship can occur", " Returns\n The actual observations including uniform right censoring,...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the score_ API. 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 score_ API. 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 ...
The concordance score (also known as the c-index) of the fit. The c-index is a generalization of the ROC AUC to survival data, including censorships. For this purpose, the ``score_`` is a measure of the predictive accuracy of the fitted model onto the training dataset.
"The concordance score (also known as the c-index) of the fit. The c-index is a generalization of the ROC AUC\n to survival data, including censorships.\n\n For this purpose, the ``score_`` is a measure of the predictive accuracy of the fitted model\n onto the training dataset."
603
false
CamDavidsonPilon/lifelines
score_
5,906
LDU_FT/juju/python-libjuju/run
LDU_FT
[ "<BEGIN>\n## `get_charm_series`", "Inspects the charm directory at ``path`` and returns a default\n series from its metadata.yaml (the first item in the 'series' list).", " Returns None if no series can be determined.\n<END>", "<BEGIN>\n## `cares_about`", "Return True if this observer \"cares about\" ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. 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 run API. 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...
Run command on this unit. :param str command: The command to run :param int timeout: Time, in seconds, to wait before command is considered failed :returns: A :class:`juju.action.Action` instance.
"Run command on this unit.\n\n :param str command: The command to run\n :param int timeout: Time, in seconds, to wait before command is\n considered failed\n :returns: A :class:`juju.action.Action` instance."
672
false
juju/python-libjuju
run
5,907
LDU_FT/ckan/ckan-service-provider/send_result
LDU_FT
[ "<BEGIN>\n## `init`", "Initialise and configure the app, database, scheduler, etc.", " This should be called once at application startup or at tests startup\n (and not e.g. called once for each test case).\n<END>", "<BEGIN>\n## `_init_login_manager`", "Initialise and configure the login manager.\n<END...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_result API. 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 send_result API. 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...
Send results to where requested. If api_key is provided, it is used, otherwiese the key from the job will be used.
"Send results to where requested.\n\n If api_key is provided, it is used, otherwiese\n the key from the job will be used."
117
false
ckan/ckan-service-provider
send_result
5,908
LDU_FT/coin-or/GiMPy/process_node_search
LDU_FT
[ "<BEGIN>\n## `add_root`", "API: add_root(self, root, **attrs)\n Description:\n Adds root node to the tree with name root and returns root Node\n instance.\n Input:\n root: Root node name.\n attrs: Root node attributes.\n Post:\n Changes s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_node_search 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 process_node_search 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...
API: process_node_search(self, node, q, **kwargs) Description: Used by search() method. Process nodes along the search. Should not be called by user directly. Input: node: Name of the node being processed. q: Queue data structure. kwargs: Keyword argum...
"API: process_node_search(self, node, q, **kwargs)\n Description:\n Used by search() method. Process nodes along the search. Should not be\n called by user directly.\n Input:\n node: Name of the node being processed.\n q: Queue data structure.\n kwargs: Keywo...
179
false
coin-or/GiMPy
process_node_search
5,909
LDU_FT/etgalloway/fullqualname/_fullqualname_method_py3
LDU_FT
[ "<BEGIN>\n## `fullqualname_py3`", "Fully qualified name for objects in Python 3.\n<END>", "<BEGIN>\n## `_fullqualname_builtin_py3`", "Fully qualified name for 'builtin_function_or_method' objects in\n Python 3.\n<END>", "<BEGIN>\n## `_fullqualname_function_py3`", "Fully qualified name for 'function' ob...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fullqualname_method_py3 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fullqualname_method_py3 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Fully qualified name for 'method' objects in Python 3.
"Fully qualified name for 'method' objects in Python 3."
14
false
etgalloway/fullqualname
_fullqualname_method_py3
5,910
LDU_FT/DiamondLightSource/python-workflows/_subscribe_broadcast
LDU_FT
[ "<BEGIN>\n## `_wrap_subscription`", "Internal method to create an intercepting function for incoming messages\n to interpret recipes. This function is then used to subscribe to a channel\n on the transport layer.\n :param transport_layer: Reference to underlying transport object.\n :param subscrip...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _subscribe_broadcast 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 _subscribe_broadcast API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Listen to a broadcast topic, notify via callback function. :param sub_id: ID for this subscription in the transport layer :param channel: Topic name to subscribe to :param callback: Function to be called when messages are received :param **kwargs: Further parameters for the transport lay...
"Listen to a broadcast topic, notify via callback function.\n :param sub_id: ID for this subscription in the transport layer\n :param channel: Topic name to subscribe to\n :param callback: Function to be called when messages are received\n :param **kwargs: Further parameters for the transpor...
160
false
DiamondLightSource/python-workflows
_subscribe_broadcast
5,911
LDU_FT/huggingface/pytorch-pretrained-BERT/save_vocabulary
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 save_vocabulary API. 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 save_vocabulary API. 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...
Save the tokenizer vocabulary to a directory or file.
"Save the tokenizer vocabulary to a directory or file."
115
false
huggingface/pytorch-pretrained-BERT
save_vocabulary
5,912
LDU_FT/MitalAshok/objecttools/globals
LDU_FT
[ "<BEGIN>\n## `create`", "Create a new :class:`Singleton` class", " :param name: Name of the new class (Used in its __repr__ if no object_name)\n :type name: str\n :param dict: Optional dictionary of the classes' attributes\n :type dict: Optional[Dict[str, Any]]\n :param object...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the globals API. 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 globals API. 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...
Find the globals of `self` by importing `self.module`
"Find the globals of `self` by importing `self.module`"
24
false
MitalAshok/objecttools
globals
5,913
LDU_FT/Richienb/quilt/case
LDU_FT
[ "<BEGIN>\n## `userinput`", "Get the input of the user via a universally secure method.", " :type prompttext: string\n :param prompttext: The text to display while receiving the data.", " :type times: integer\n :param times: The amount of times to ask the user. If value is not 1, a list will be ret...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the case API. 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 case API. 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...
Change the casing of some text. :type text: string :param text: The text to change the casing of. :type casingformat: string :param casingformat: The format of casing to apply to the text. Can be 'uppercase', 'lowercase', 'sentence' or 'caterpillar'. :raises ValueError: Invalid text format specif...
"Change the casing of some text.\n\n :type text: string\n :param text: The text to change the casing of.\n\n :type casingformat: string\n :param casingformat: The format of casing to apply to the text. Can be 'uppercase', 'lowercase', 'sentence' or 'caterpillar'.\n\n :raises ValueError: Invalid text form...
210
false
Richienb/quilt
case
5,914
LDU_FT/nchopin/particles/cartesian_lists
LDU_FT
[ "<BEGIN>\n## `all_distinct`", "Returns the list [l[i] for i in idx] \n When needed, objects l[i] are replaced by a copy, to make sure that\n the elements of the list are all distinct", " Parameters\n ---------\n l: iterable\n idx: iterable that generates ints (e.g. ndarray of ints)", " Re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cartesian_lists API. 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 cartesian_lists API. 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...
turns a dict of lists into a list of dicts that represents the cartesian product of the initial lists Example ------- cartesian_lists({'a':[0, 2], 'b':[3, 4, 5]} returns [ {'a':0, 'b':3}, {'a':0, 'b':4}, ... {'a':2, 'b':5} ]
"turns a dict of lists into a list of dicts that represents\n the cartesian product of the initial lists\n\n Example\n -------\n cartesian_lists({'a':[0, 2], 'b':[3, 4, 5]}\n returns\n [ {'a':0, 'b':3}, {'a':0, 'b':4}, ... {'a':2, 'b':5} ]"
249
false
nchopin/particles
cartesian_lists
5,915
LDU_FT/heikomuller/sco-client/get_run_listing
LDU_FT
[ "<BEGIN>\n## `download_file`", "Download attached file as temporary file.", " Parameters\n ----------\n url : string\n SCO-API download Url\n suffix : string, optional\n If suffix is specified, the name of the downloaded file will end with\n that suffix, otherwise there will be ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_run_listing API. 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_run_listing API. 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...
Get list of experiment resources from a SCO-API. Parameters ---------- listing_url : string url for experiments run listing. offset : int Starting offset for returned list items limit : int Limit the number of items in the result properties : List(string) List of...
"Get list of experiment resources from a SCO-API.\n\n Parameters\n ----------\n listing_url : string\n url for experiments run listing.\n offset : int\n Starting offset for returned list items\n limit : int\n Limit the number of items in the result\n properties : List(string)\n ...
164
false
heikomuller/sco-client
get_run_listing
5,916
LDU_FT/DataDog/integrations-core/_collect_indexes_stats
LDU_FT
[ "<BEGIN>\n## `check_election_status`", "Retrieves the leader-election annotation from a given object, and\n submits metrics and a service check.", " An integration warning is sent if the object is not retrievable,\n or no record is found. Monitors on the service-check should have\n n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _collect_indexes_stats 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 _collect_indexes_stats API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Collect indexes statistics for all collections in the configuration. This use the "$indexStats" command.
"Collect indexes statistics for all collections in the configuration.\n This use the \"$indexStats\" command."
2,189
true
DataDog/integrations-core
_collect_indexes_stats
5,917
LDU_FT/MacHu-GWU/rolex-project/add_seconds
LDU_FT
[ "<BEGIN>\n## `add_seconds`", "Returns a time that n seconds after a time.", " :param datetimestr: a datetime object or a datetime str\n :param n: number of seconds, value can be negative", " **中文文档**", " 返回给定日期N秒之后的时间。\n<END>", "<BEGIN>\n## `add_months`", "Returns a time that n months after ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_seconds API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_seconds API. 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...
Returns a time that n seconds after a time. :param datetimestr: a datetime object or a datetime str :param n: number of seconds, value can be negative **中文文档** 返回给定日期N秒之后的时间。
"Returns a time that n seconds after a time.\n\n :param datetimestr: a datetime object or a datetime str\n :param n: number of seconds, value can be negative\n\n **中文文档**\n\n 返回给定日期N秒之后的时间。"
103
false
MacHu-GWU/rolex-project
add_seconds
5,918
LDU_FT/geronimp/graftM/remove_empty_ranks
LDU_FT
[ "<BEGIN>\n## `_write_consensus_strings`", "Writes the taxonomy of each leaf to a file. If the leaf has no\n taxonomy, a taxonomy string will be created using the annotations\n provided to the ancestor nodes of that leaf (meaning, it will be\n decorated).", " Parameters\n -----...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_empty_ranks 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 remove_empty_ranks 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...
Removes empty rank prefixes Parameters ---------- tax_list : list A list of taxonomic ranks. Returns ------- A list of taxonomic ranks with empty prefixes removed.
"Removes empty rank prefixes\n \n Parameters\n ----------\n tax_list : list\n A list of taxonomic ranks.\n Returns\n -------\n A list of taxonomic ranks with empty prefixes removed."
334
false
geronimp/graftM
remove_empty_ranks
5,919
LDU_FT/ianmiell/shutit/make_dep_graph
LDU_FT
[ "<BEGIN>\n## `parse_shutitfile_args`", "Parse shutitfile args (eg in the line 'RUN some args', the passed-in args_str would be 'some args').\n\tIf the string is bounded by square brackets, then it's treated in the form: ['arg1','arg2'], and the returned list looks the same.\n\tIf the string composed entirely of n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_dep_graph API. 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 make_dep_graph API. 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 digraph string fragment based on the passed-in module
"Returns a digraph string fragment based on the passed-in module"
498
false
ianmiell/shutit
make_dep_graph
5,920
LDU_FT/frawau/aiolifx/fire_sending
LDU_FT
[ "<BEGIN>\n## `mac_to_ipv6_linklocal`", "Translate a MAC address into an IPv6 address in the prefixed network.", " This function calculates the EUI (Extended Unique Identifier) from the given\n MAC address and prepend the needed prefix to come up with a valid IPv6 address.\n The default prefix is the li...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fire_sending API. 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 fire_sending API. 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...
Coroutine used to send message to the device when no response is needed. :param msg: Message to send :type msg: aiolifx. :param num_repeats: number of times the message is to be sent. :returns: The coroutine that can be scheduled to run :rtype: coroutine
"Coroutine used to send message to the device when no response is needed.\n\n :param msg: Message to send\n :type msg: aiolifx.\n :param num_repeats: number of times the message is to be sent.\n :returns: The coroutine that can be scheduled to run\n :rtype: corouti...
134
false
frawau/aiolifx
fire_sending
5,921
LDU_FT/nefarioustim/parker/get_dict
LDU_FT
[ "<BEGIN>\n## `save_media`", "Store any media within model.media_list.\n<END>", "<BEGIN>\n## `get_proxy`", "Return a random proxy from proxy config.\n<END>", "<BEGIN>\n## `get`", "Return Requests response to GET request.\n<END>", "<BEGIN>\n## `get_content`", "Return content from URI if Response status ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extracte...
Return a dictionary of the object primed for dumping.
"Return a dictionary of the object primed for dumping."
34
false
nefarioustim/parker
get_dict
5,922
LDU_FT/yinkh/django-popup-field/create
LDU_FT
[ "<BEGIN>\n## `create`", "Returns the create view that can be specified as the second argument\n to url() in urls.py.\n<END>", "<BEGIN>\n## `update`", "Returns the update view that can be specified as the second argument\n to url() in urls.py.\n<END>", "<BEGIN>\n## `delete`", "Returns the del...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Returns the create view that can be specified as the second argument to url() in urls.py.
"Returns the create view that can be specified as the second argument\n to url() in urls.py."
12
false
yinkh/django-popup-field
create
5,923
LDU_FT/openid/python-openid/makeKVPost
LDU_FT
[ "<BEGIN>\n## `queryURL`", "Build a URL to query the proxy resolver.", " @param xri: An XRI to resolve.\n @type xri: unicode", " @param service_type: The service type to resolve, if you desire\n service endpoint selection. A service type is a URI.\n @type service_type: s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the makeKVPost API. 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 makeKVPost API. 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...
Make a Direct Request to an OpenID Provider and return the result as a Message object. @raises openid.fetchers.HTTPFetchingError: if an error is encountered in making the HTTP post. @rtype: L{openid.message.Message}
"Make a Direct Request to an OpenID Provider and return the\n result as a Message object.\n\n @raises openid.fetchers.HTTPFetchingError: if an error is\n encountered in making the HTTP post.\n\n @rtype: L{openid.message.Message}"
828
false
openid/python-openid
makeKVPost
5,924
LDU_FT/fhs/pyhdf/dimensions
LDU_FT
[ "<BEGIN>\n## `end`", "Close the V interface.", " Args::", " No argument", " Returns::", " None", " C library equivalent : Vend\n<END>", "<BEGIN>\n## `attach`", "Open an existing vgroup given its name or its reference\n number, or create a new vgroup, ret...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dimensions API. 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 dimensions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Return a dictionnary describing every dataset dimension. Args:: full true to get complete info about each dimension false to report only each dimension length Returns:: Dictionnary where each key is a dimension name. If no name has been given to...
"Return a dictionnary describing every dataset dimension.\n\n Args::\n\n full true to get complete info about each dimension\n false to report only each dimension length\n\n Returns::\n\n Dictionnary where each key is a dimension name. If no name\n has be...
605
false
fhs/pyhdf
dimensions
5,925
LDU_FT/emin63/eyap/set_display_mode
LDU_FT
[ "<BEGIN>\n## `make_anchor_id`", "Return string to use as URL anchor for this comment.\n<END>", "<BEGIN>\n## `make_url`", "Make URL to this comment.", " :arg my_request: The request object where this comment is seen from.", " :arg anchor_id=None: Optional anchor id. If None, we use\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_display_mode API. 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 set_display_mode API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Set the display mode for self. :arg mytz: A pytz.timezone object. :arg fmt: A format string for strftime. ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- PURPOSE: Modifies self.display_timestamp to first parse self.timestamp and th...
"Set the display mode for self.\n\n :arg mytz: A pytz.timezone object.\n\n :arg fmt: A format string for strftime.\n\n ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-\n\n PURPOSE: Modifies self.display_timestamp to first parse\n self.timest...
126
false
emin63/eyap
set_display_mode
5,926
LDU_FT/horejsek/python-fastjsonschema/create_variable_keys
LDU_FT
[ "<BEGIN>\n## `indent`", "Decorator for allowing to use method as normal method or with\n context manager for auto-indenting code blocks.\n<END>", "<BEGIN>\n## `resolve_path`", "Return definition from path.\r", " Path is unescaped according https://tools.ietf.org/html/rfc6901\n<END>", "<BEGIN>\n## `r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_variable_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. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_variable_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. ...
Append code for creating variable with keys of that variable (dictionary) with a name ``{variable}_keys``. Similar to `create_variable_with_length`.
"Append code for creating variable with keys of that variable (dictionary)\n with a name ``{variable}_keys``. Similar to `create_variable_with_length`."
157
false
horejsek/python-fastjsonschema
create_variable_keys
5,927
LDU_FT/materials-data-facility/toolbox/add_sort
LDU_FT
[ "<BEGIN>\n## `login`", "Log in to Globus services", " Arguments:\n credentials (str or dict): A string filename, string JSON, or dictionary\n with credential and config information.\n By default, looks in ``~/mdf/credentials/globus_login.json``.\n Contains ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_sort API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_sort API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Sort the search results by a certain field. If this method is called multiple times, the later sort fields are given lower priority, and will only be considered when the eariler fields have the same value. Arguments: field (str): The field to sort by. The field ...
"Sort the search results by a certain field.\n\n If this method is called multiple times, the later sort fields are given lower priority,\n and will only be considered when the eariler fields have the same value.\n\n Arguments:\n field (str): The field to sort by.\n Th...
173
false
materials-data-facility/toolbox
add_sort
5,928
LDU_FT/AoiKuiyuyou/AoikLiveReload/_find_short_paths
LDU_FT
[ "<BEGIN>\n## `main`", "Main function.", " :return:\n None.\n<END>", "<BEGIN>\n## `start_watcher_thread`", "Start watcher thread.", " :return:\n Watcher thread object.\n<END>", "<BEGIN>\n## `run_watcher`", "Watcher thread's function.", " :return:\n None.\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_short_paths API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_short_paths API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Find short paths of given paths. E.g. if both `/home` and `/home/aoik` exist, only keep `/home`. :param paths: Paths. :return: Set of short paths.
"Find short paths of given paths.\n\n E.g. if both `/home` and `/home/aoik` exist, only keep `/home`.\n\n :param paths:\n Paths.\n\n :return:\n Set of short paths."
216
false
AoiKuiyuyou/AoikLiveReload
_find_short_paths
5,929
LDU_FT/nion-software/nionswift/size_to_content
LDU_FT
[ "<BEGIN>\n## `get_string`", "Return a string value that the user enters. Raises exception for cancel.\n<END>", "<BEGIN>\n## `__accept_reject`", "Return a boolean value for accept/reject.\n<END>", "<BEGIN>\n## `item_transaction`", "Begin transaction state for item.", " A transaction state is exist...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the size_to_content API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the size_to_content API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Size the canvas item to the proper width.
"Size the canvas item to the proper width."
690
false
nion-software/nionswift
size_to_content
5,930
LDU_FT/pybel/pybel/insert_graph
LDU_FT
[ "<BEGIN>\n## `postpend_location`", "Rip off the closing parentheses and adds canonicalized modification.", " I did this because writing a whole new parsing model for the data would be sad and difficult", " :param bel_string: BEL string representing node\n :param dict location_model: A dictionary cont...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert_graph API. 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 insert_graph API. 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...
Insert a graph in the database and returns the corresponding Network model. :raises: pybel.resources.exc.ResourceError
"Insert a graph in the database and returns the corresponding Network model.\n\n :raises: pybel.resources.exc.ResourceError"
1,164
true
pybel/pybel
insert_graph
5,931
LDU_FT/geopy/geopy/geocode
LDU_FT
[ "<BEGIN>\n## `_construct_url`", "Construct geocoding request url. Overridden.", " :param str base_api: Geocoding function base address - self.api\n or self.reverse_api.", " :param dict params: Geocoding params.", " :return: string URL.\n<END>", "<BEGIN>\n## `geocode`", "R...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the geocode API. 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 geocode API. 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 a location point by address. :param str query: The address or query you wish to geocode. :param str language: an IETF format language code (such as `es` for Spanish or pt-BR for Brazilian Portuguese); if this is omitted a code of `en` (English) will be assumed by the rem...
"Return a location point by address.\n\n :param str query: The address or query you wish to geocode.\n\n :param str language: an IETF format language code (such as `es`\n for Spanish or pt-BR for Brazilian Portuguese); if this is\n omitted a code of `en` (English) will be assumed by ...
405
false
geopy/geopy
geocode
5,932
LDU_FT/common-workflow-language/cwltool/can_assign_src_to_sink
LDU_FT
[ "<BEGIN>\n## `add_volumes`", "Append volume mappings to the runtime option list.\n<END>", "<BEGIN>\n## `docker_monitor`", "Record memory usage of the running Docker container.\n<END>", "<BEGIN>\n## `adjustFiles`", "Apply a mapping function to each File path in the object `rec`.\n<END>", "<BEGIN>\n## `ch...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the can_assign_src_to_sink 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 can_assign_src_to_sink API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Check for identical type specifications, ignoring extra keys like inputBinding. src: admissible source types sink: admissible sink types In non-strict comparison, at least one source type must match one sink type. In strict comparison, all source types must match at least one sink type.
"Check for identical type specifications, ignoring extra keys like inputBinding.\n\n src: admissible source types\n sink: admissible sink types\n\n In non-strict comparison, at least one source type must match one sink type.\n In strict comparison, all source types must match at least one sink type."
161
false
common-workflow-language/cwltool
can_assign_src_to_sink
5,933
LDU_FT/jtmoulia/switchboard-python/listPromise
LDU_FT
[ "<BEGIN>\n## `main`", "Create, connect, and block on the Lamson worker.\n<END>", "<BEGIN>\n## `received_new`", "As new messages arrive, deliver them to the lamson relay.\n<END>", "<BEGIN>\n## `_isPromise`", "A utility function to determine if the specified\n object is a promise using \"duck typing\".\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listPromise API. 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 listPromise API. 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...
A special function that takes a bunch of promises and turns them into a promise for a vector of values. In other words, this turns an list of promises for values into a promise for a list of values.
"A special function that takes a bunch of promises\n and turns them into a promise for a vector of values.\n In other words, this turns an list of promises for values\n into a promise for a list of values."
35
false
jtmoulia/switchboard-python
listPromise
5,934
LDU_FT/jordanh/neurio-python/get_samples_live
LDU_FT
[ "<BEGIN>\n## `get_token`", "Performs Neurio API token authentication using provided key and secret.", " Note:\n This method is generally not called by hand; rather it is usually\n called as-needed by a Neurio Client object.", " Returns:\n string: the access token\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_samples_live API. 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_samples_live API. 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 recent samples, one sample per second for up to the last 2 minutes. Args: sensor_id (string): hexadecimal id of the sensor to query, e.g. ``0x0013A20040B65FAD`` last (string): starting range, as ISO8601 timestamp Returns: list: dictionary objects containing sample data
"Get recent samples, one sample per second for up to the last 2 minutes.\n\n Args:\n sensor_id (string): hexadecimal id of the sensor to query, e.g.\n ``0x0013A20040B65FAD``\n last (string): starting range, as ISO8601 timestamp\n\n Returns:\n list: dictionary objects containing sample data"
47
false
jordanh/neurio-python
get_samples_live
5,935
LDU_FT/MSchnei/pyprf_feature/cnvlPwBoxCarFn
LDU_FT
[ "<BEGIN>\n## `pyprf`", "Main function for pRF mapping.", " Parameters\n ----------\n strCsvCnfg : str\n Absolute file path of config file.\n lgcTest : Boolean\n Whether this is a test (pytest). If yes, absolute path of pyprf libary\n will be prepended to config file paths.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cnvlPwBoxCarFn API. 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 cnvlPwBoxCarFn API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Create 2D Gaussian kernel. Parameters ---------- aryNrlTc : 5d numpy array, shape [n_x_pos, n_y_pos, n_sd, n_mtn_dir, n_vol] Description of input 1. varNumVol : float, positive Description of input 2. varTr : float, positive Description of input 1. tplPngSize : tuple ...
"Create 2D Gaussian kernel.\n\n Parameters\n ----------\n aryNrlTc : 5d numpy array, shape [n_x_pos, n_y_pos, n_sd, n_mtn_dir, n_vol]\n Description of input 1.\n varNumVol : float, positive\n Description of input 2.\n varTr : float, positive\n Description of input 1.\n tplPngSize ...
266
false
MSchnei/pyprf_feature
cnvlPwBoxCarFn
5,936
LDU_FT/etesync/radicale_storage_etesync/etag
LDU_FT
[ "<BEGIN>\n## `discover`", "Discover a list of collections under the given ``path``.", " If ``depth`` is \"0\", only the actual object under ``path`` is\n returned.", " If ``depth`` is anything but \"0\", it is considered as \"1\" and direct\n children are included in the result.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the etag API. 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 etag API. 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...
Encoded as quoted-string (see RFC 2616).
"Encoded as quoted-string (see RFC 2616)."
33
false
etesync/radicale_storage_etesync
etag
5,937
LDU_FT/MacHu-GWU/angora-project/get_detail
LDU_FT
[ "<BEGIN>\n## `run_backup`", "The backup utility method.", " :param root_dir: the directory you want to backup\n :param ignore: file or directory defined in this list will be ignored.\n :param ignore_ext: file with extensions defined in this list will be ignored.\n :param ignore_pattern: any file or ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_detail API. 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 get_detail API. 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...
Get general stats information. Includes: - size_total: total size on disk - num_folder_total: how many subfolders - num_file_total: how many files - size_current: total size of files on this folder. file in subfolders doesn't count - num_fol...
"Get general stats information.\n \n Includes:\n \n - size_total: total size on disk\n - num_folder_total: how many subfolders\n - num_file_total: how many files\n - size_current: total size of files on this folder. file in subfolders \n doesn't count\n ...
616
false
MacHu-GWU/angora-project
get_detail
5,938
LDU_FT/krukas/Trionyx/parse_string_field
LDU_FT
[ "<BEGIN>\n## `auto_load_model_menu`", "Auto load model menu entries, can be configured in `trionyx.config.ModelConfig`:", " - menu_name\n - menu_icon\n - menu_order\n<END>", "<BEGIN>\n## `add_item`", "Add new menu item to menu", " :param path: Path of menu\n :param name:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_string_field API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_string_field API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Parse a string field to dict with options String value is used as field name. Options can be given after = symbol. Where key value is separated by : and different options by ;, when no : is used then the value becomes True. **Example 1:** `field_name` .. code-block:: python ...
"Parse a string field to dict with options\n\n String value is used as field name. Options can be given after = symbol.\n Where key value is separated by : and different options by ;, when no : is used then the value becomes True.\n\n **Example 1:** `field_name`\n\n .. code-block:: python\n\...
88
false
krukas/Trionyx
parse_string_field
5,939
LDU_FT/gmr/queries/remove
LDU_FT
[ "<BEGIN>\n## `close`", "Close the connection", " :raises: ConnectionBusyError\n<END>", "<BEGIN>\n## `busy`", "Return if the connection is currently executing a query or is locked\n by a session that still exists.", " :rtype: bool\n<END>", "<BEGIN>\n## `free`", "Remove the lock on ...
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 ...
Remove the connection from the pool :param connection: The connection to remove :type connection: psycopg2.extensions.connection :raises: ConnectionNotFoundError :raises: ConnectionBusyError
"Remove the connection from the pool\n\n :param connection: The connection to remove\n :type connection: psycopg2.extensions.connection\n :raises: ConnectionNotFoundError\n :raises: ConnectionBusyError"
181
false
gmr/queries
remove
5,940
LDU_FT/caffeinehit/django-oauth2-provider/access_token_response
LDU_FT
[ "<BEGIN>\n## `check`", "Check if a desired scope ``wants`` is part of an available scope ``has``.", " Returns ``False`` if not, return ``True`` if yes.", " :example:", " If a list of scopes such as", " ::", " READ = 1 << 1\n WRITE = 1 << 2\n READ_WRITE = READ | WRITE", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the access_token_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. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the access_token_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. ...
Returns a successful response after creating the access token as defined in :rfc:`5.1`.
"Returns a successful response after creating the access token\n as defined in :rfc:`5.1`."
74
false
caffeinehit/django-oauth2-provider
access_token_response
5,941
LDU_FT/yamcs/yamcs-python/list_processed_parameter_group_histogram
LDU_FT
[ "<BEGIN>\n## `verification_events`", "Events related to command verification.", " :type: List[:class:`.CommandHistoryEvent`]\n<END>", "<BEGIN>\n## `events`", "All events.", " :type: List[:class:`.CommandHistoryEvent`]\n<END>", "<BEGIN>\n## `generation_time`", "The generation time as set ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_processed_parameter_group_histogram API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_processed_parameter_group_histogram API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicat...
Reads index records related to processed parameter groups between the specified start and stop time. Each iteration returns a chunk of chronologically-sorted records. :param float merge_time: Maximum gap in seconds before two consecutive index records are merged together. :rtype: ~coll...
"Reads index records related to processed parameter groups between the\n specified start and stop time.\n\n Each iteration returns a chunk of chronologically-sorted records.\n\n :param float merge_time: Maximum gap in seconds before two consecutive index records are merged together.\n :rtype...
402
false
yamcs/yamcs-python
list_processed_parameter_group_histogram
5,942
LDU_FT/nicfit/MishMash/safeDbUrl
LDU_FT
[ "<BEGIN>\n## `iterall`", "Iterate over all Library rows found in `session`.\n :param names: Optional sequence of names to filter on.\n<END>", "<BEGIN>\n## `search`", "Naive search of the database for `query`.", " :return: A dict with keys 'artists', 'albums', and 'tracks'. Each containing a list\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the safeDbUrl API. 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 safeDbUrl API. 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...
Obfuscates password from a database URL.
"Obfuscates password from a database URL."
11
false
nicfit/MishMash
safeDbUrl
5,943
LDU_FT/demurgos/py-pathmatch/_py_pattern_from_bracket_expression
LDU_FT
[ "<BEGIN>\n## `process_tokens`", "u\"\"\"\n Iterate other tokens to find strings and ensure that they are prefixed.\n :param tokens:\n :return:\n<END>", "<BEGIN>\n## `_parse_bracket_expression`", "u\"\"\"", " :type pattern: text_type\n :param pattern:\n :param start:\n :retur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _py_pattern_from_bracket_expression API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _py_pattern_from_bracket_expression API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it...
u""" This does not handle exclusion of separators in the bracket expression when pathname is True :param bracket_expression: :return:
"u\"\"\"\n This does not handle exclusion of separators in the bracket expression when pathname is True\n :param bracket_expression:\n :return:"
29
false
demurgos/py-pathmatch
_py_pattern_from_bracket_expression
5,944
LDU_FT/apetrynet/pyfilemail/_restore_transfers
LDU_FT
[ "<BEGIN>\n## `not_completed`", "Decorator function to check if user is loged in.", " :raises: :class:`FMBaseError` if not logged in\n<END>", "<BEGIN>\n## `_parse_recipients`", "Make sure we have a \",\" separated list of recipients", " :param to: Recipient(s)\n :type to: (str,\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _restore_transfers 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 _restore_transfers 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...
Restore transfers from josn retreived Filemail :param response: response object from request :rtype: ``list`` with :class:`Transfer` objects
"Restore transfers from josn retreived Filemail\n :param response: response object from request\n :rtype: ``list`` with :class:`Transfer` objects"
116
false
apetrynet/pyfilemail
_restore_transfers
5,945
LDU_FT/automl/HpBandSter/extract_HBS_learning_curves
LDU_FT
[ "<BEGIN>\n## `get_config`", "Function to sample a new configuration", "\t\t\tThis function is called inside Hyperband to query a new configuration", "\t\t\tParameters:\n\t\t\t-----------\n\t\t\tbudget: float\n\t\t\t\tthe budget for which this configuration is scheduled", "\t\t\treturns: config\n\t\t\t\tshou...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_HBS_learning_curves 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 extract_HBS_learning_curves API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
function to get the hyperband learning curves This is an example function showing the interface to use the HB_result.get_learning_curves method. Parameters ---------- runs: list of HB_result.run objects the performed runs for an unspecified config Returns ------- list of learning curves: list of lists of...
"function to get the hyperband learning curves\n\n\tThis is an example function showing the interface to use the\n\tHB_result.get_learning_curves method.\n\n\tParameters\n\t----------\n\n\truns: list of HB_result.run objects\n\t\tthe performed runs for an unspecified config\n\n\tReturns\n\t-------\n\n\tlist of learning...
188
false
automl/HpBandSter
extract_HBS_learning_curves
5,946
LDU_FT/syrusakbary/promise/dispatch_queue
LDU_FT
[ "<BEGIN>\n## `dispatch_queue`", "Given the current state of a Loader instance, perform a batch load\n from its current queue.\n<END>", "<BEGIN>\n## `failed_dispatch`", "Do not cache individual loads if the entire batch dispatch fails,\n but still reject each request so they do not hang.\n<END>", "<BEG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dispatch_queue API. 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 dispatch_queue API. 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 the current state of a Loader instance, perform a batch load from its current queue.
"Given the current state of a Loader instance, perform a batch load\n from its current queue."
25
false
syrusakbary/promise
dispatch_queue
5,947
LDU_FT/wummel/dosage/jsonFn
LDU_FT
[ "<BEGIN>\n## `exception`", "Write error message with traceback info.\n<END>", "<BEGIN>\n## `write`", "Write message with indentation, context and optional timestamp.\n<END>", "<BEGIN>\n## `contains_case_insensitive`", "Check if key is in adict. The search is case insensitive.\n<END>", "<BEGIN>\n## `fini...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jsonFn API. 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 jsonFn API. 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 ...
Get filename for the JSON file for a comic.
"Get filename for the JSON file for a comic."
141
false
wummel/dosage
jsonFn
5,948
LDU_FT/getsenic/gatt-python/stop_discovery
LDU_FT
[ "<BEGIN>\n## `run`", "Starts the main loop that is necessary to receive Bluetooth events from the Bluetooth adapter.", " This call blocks until you call `stop()` to stop the main loop.\n<END>", "<BEGIN>\n## `start_discovery`", "Starts a discovery for BLE devices with given service UUIDs.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop_discovery API. 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 stop_discovery API. 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...
Stops the discovery started with `start_discovery`
"Stops the discovery started with `start_discovery`"
31
false
getsenic/gatt-python
stop_discovery
5,949
LDU_FT/array-split/array_split/calculate_axis_split_extents
LDU_FT
[ "<BEGIN>\n## `read_readme`", "Reads part of the README.rst for use as long_description in setup().\n<END>", "<BEGIN>\n## `pad_with_object`", "Returns :samp:`sequence` :obj:`list` end-padded with :samp:`{obj}`\n elements so that the length of the returned list equals :samp:`{new_length}`.", " :type seq...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_axis_split_extents 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 calculate_axis_split_extents API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
Divides :samp:`range(0, {size})` into (approximately) equal sized intervals. Returns :samp:`(begs, ends)` where :samp:`slice(begs[i], ends[i])` define the intervals for :samp:`i in range(0, {num_sections})`. :type num_sections: :obj:`int` :param num_sections: Divide :samp:`range(0, {si...
"Divides :samp:`range(0, {size})` into (approximately) equal sized\n intervals. Returns :samp:`(begs, ends)` where :samp:`slice(begs[i], ends[i])`\n define the intervals for :samp:`i in range(0, {num_sections})`.\n\n :type num_sections: :obj:`int`\n :param num_sections: Divide :samp:`range(...
67
false
array-split/array_split
calculate_axis_split_extents
5,950
LDU_FT/daviddrysdale/python-phonenumbers/_maybe_strip_national_prefix_carrier_code
LDU_FT
[ "<BEGIN>\n## `_get_metadata_for_region`", "The metadata needed by this class is the same for all regions\n sharing the same country calling code. Therefore, we return the\n metadata for \"main\" region for this country calling code.\n<END>", "<BEGIN>\n## `_maybe_create_new_template`", "Returns True if a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _maybe_strip_national_prefix_carrier_code API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indica...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _maybe_strip_national_prefix_carrier_code API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indica...
Strips any national prefix (such as 0, 1) present in a number. Arguments: number -- The normalized telephone number that we wish to strip any national dialing prefix from metadata -- The metadata for the region that we think this number is from. Returns a 3-tuple of - ...
"Strips any national prefix (such as 0, 1) present in a number.\n\n Arguments:\n number -- The normalized telephone number that we wish to strip any\n national dialing prefix from\n metadata -- The metadata for the region that we think this number\n is from.\n\n Returns a 3-tuple o...
501
false
daviddrysdale/python-phonenumbers
_maybe_strip_national_prefix_carrier_code
5,951
LDU_FT/artefactual-labs/agentarchives/_format_notes
LDU_FT
[ "<BEGIN>\n## `edit_record`", "Update a record in Archivist's Toolkit using the provided new_record.", " The format of new_record is identical to the format returned by get_resource_component_and_children and related methods.\n This means it's possible, for example, to request a record, modify the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _format_notes API. 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 _format_notes API. 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...
Extracts notes from a record and reformats them in a simplified format.
"Extracts notes from a record and reformats them in a simplified format."
122
false
artefactual-labs/agentarchives
_format_notes
5,952
LDU_FT/snare/voltron/target_is_valid
LDU_FT
[ "<BEGIN>\n## `cancel_queue`", "Cancel all requests in the queue so we can exit.\n<END>", "<BEGIN>\n## `dispatch_queue`", "Dispatch any queued requests.", " Called by the debugger when it stops.\n<END>", "<BEGIN>\n## `send_request`", "Send a request to the server.", " `request` is an APIR...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the target_is_valid API. 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 target_is_valid API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Returns True or False indicating whether or not the specified target is present and valid. `target_id` is a target ID (or None for the first target)
"Returns True or False indicating whether or not the specified\n target is present and valid.\n\n `target_id` is a target ID (or None for the first target)"
80
false
snare/voltron
target_is_valid
5,953
LDU_FT/biosustain/optlang/_parse_quadratic_expression
LDU_FT
[ "<BEGIN>\n## `_constraint_lb_and_ub_to_gurobi_sense_rhs_and_range_value`", "Helper function used by Constraint and Model\n<END>", "<BEGIN>\n## `_evolve_kwargs`", "Filter None keyword arguments. Intended to be passed on to algorithm.evolve(...)\n<END>", "<BEGIN>\n## `parse_optimization_expression`", "Funct...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_quadratic_expression 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 _parse_quadratic_expression API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Parse a quadratic expression. It is assumed that the expression is known to be quadratic or linear. The 'expanded' parameter tells whether the expression has already been expanded. If it hasn't the parsing might fail and will expand the expression and try again.
"Parse a quadratic expression. It is assumed that the expression is known to be quadratic or linear.\n\n The 'expanded' parameter tells whether the expression has already been expanded. If it hasn't the parsing\n might fail and will expand the expression and try again."
106
false
biosustain/optlang
_parse_quadratic_expression
5,954
LDU_FT/pescadores/pescador/cycle
LDU_FT
[ "<BEGIN>\n## `setup_data`", "Load and shape data for training with Keras + Pescador.", " Returns\n -------\n input_shape : tuple, len=3\n Shape of each sample; adapts to channel configuration of Keras.", " X_train, y_train : np.ndarrays\n Images and labels for training.", " X_te...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cycle API. 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 cycle API. 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...
Iterate from the streamer infinitely. This function will force an infinite stream, restarting the streamer even if a StopIteration is raised. Parameters ---------- max_iter : None or int > 0 Maximum number of iterations to yield. If `None`, iterate indef...
"Iterate from the streamer infinitely.\n\n This function will force an infinite stream, restarting\n the streamer even if a StopIteration is raised.\n\n Parameters\n ----------\n max_iter : None or int > 0\n Maximum number of iterations to yield.\n If `None`, ite...
103
false
pescadores/pescador
cycle
5,955
LDU_FT/briwilcox/Concurrent-Pandas/consume_keys
LDU_FT
[ "<BEGIN>\n## `data_worker`", "Function to be spawned concurrently,\n consume data keys from input queue, and push the resulting dataframes to output map\n<END>", "<BEGIN>\n## `get_data`", "Function to use Python Pandas and / or Quandl to download a dataframe\n Insert resulting dataframe into output ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the consume_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the consume_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 extr...
Work through the keys to look up sequentially
"Work through the keys to look up sequentially"
16
false
briwilcox/Concurrent-Pandas
consume_keys
5,956
LDU_FT/mgoral/subconvert/detectFpsFromMovie
LDU_FT
[ "<BEGIN>\n## `__parseFormat`", "Actual parser. Please note that time_to is not required to process as not all subtitles\n provide it.\n<END>", "<BEGIN>\n## `createSubtitle`", "Returns a correct 'Subtitle' object from a text given in 'section'. If 'section' cannot\n be parsed, None is returned.\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the detectFpsFromMovie 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 detectFpsFromMovie 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...
Fetch movie FPS from MPlayer output or return given default.
"Fetch movie FPS from MPlayer output or return given default."
50
false
mgoral/subconvert
detectFpsFromMovie
5,957
LDU_FT/joequant/cryptoexchange/getUserInfoError
LDU_FT
[ "<BEGIN>\n## `authentication_required`", "Annotation for methods that require auth.\n<END>", "<BEGIN>\n## `open_orders`", "Get open orders via HTTP. Used on close to ensure we catch them all.\n<END>", "<BEGIN>\n## `getUserInfoError`", "May be return {u'msg': u'Access_token repealed', u'errno': u'-102', u'...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getUserInfoError API. 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 getUserInfoError API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
May be return {u'msg': u'Access_token repealed', u'errno': u'-102', u'data': []}
"May be return {u'msg': u'Access_token repealed', u'errno': u'-102', u'data': []}"
14
false
joequant/cryptoexchange
getUserInfoError
5,958
LDU_FT/JasonKessler/scattertext/train
LDU_FT
[ "<BEGIN>\n## `coarse_tag_str`", "Convert POS sequence to our coarse system, formatted as a string.\n<END>", "<BEGIN>\n## `extract_finditer`", "The \"GreedyFSA\" method in Handler et al. 2016.\n\tReturns token position spans of valid ngrams.\n<END>", "<BEGIN>\n## `extract_ngram_filter`", "The \"FilterFSA\"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the train API. 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 train API. 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...
Parameters ---------- epochs : int Number of epochs to train for. Default is 2000. training_iterations : int Number of times to repeat training process. Default is training_iterations. Returns ------- A trained word2vec model.
"Parameters\n\t\t----------\n\t\tepochs : int\n\t\t Number of epochs to train for. Default is 2000.\n\t\ttraining_iterations : int\n\t\t\tNumber of times to repeat training process. Default is training_iterations.\n\n\t\tReturns\n\t\t-------\n\t\tA trained word2vec model."
419
false
JasonKessler/scattertext
train
5,959
LDU_FT/MisterY/asset-allocation/value
LDU_FT
[ "<BEGIN>\n## `get_symbols_with_positive_balances`", "Identifies all the securities with positive balances\n<END>", "<BEGIN>\n## `__get_pricedb_session`", "Provides initialization and access to module-level session\n<END>", "<BEGIN>\n## `format`", "Returns the view-friendly output of the aa model\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Value of the holdings in exchange currency. Value = Quantity * Price
"Value of the holdings in exchange currency.\n Value = Quantity * Price"
56
false
MisterY/asset-allocation
value
5,960
LDU_FT/GeorgeArgyros/sfalearn/_run_in_hypothesis
LDU_FT
[ "<BEGIN>\n## `_add_training_data`", "Training_data is a dictionary from strings to lists.\n - Each string (key) is an access string\n - Each list (value) is a list of tuples (target_state, [symbols directed to that\n state]). These represent that a transition exists from the state used as key...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _run_in_hypothesis 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 _run_in_hypothesis 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...
Run the string in the hypothesis automaton for index steps and then return the access string for the state reached concatanated with the rest of the string w. Args: mma (DFA): The hypothesis automaton w_string (str): The examined string to be consumed index (i...
"Run the string in the hypothesis automaton for index steps and then\n return the access string for the state reached concatanated with the\n rest of the string w.\n Args:\n mma (DFA): The hypothesis automaton\n w_string (str): The examined string to be consumed\n i...
60
false
GeorgeArgyros/sfalearn
_run_in_hypothesis
5,961
LDU_FT/secdev/scapy/get_if_raw_addr6
LDU_FT
[ "<BEGIN>\n## `_get_npcap_config`", "Get a Npcap parameter matching key in the registry.", " List:\n AdminOnly, DefaultFilterSettings, DltNull, Dot11Adapters, Dot11Support\n LoopbackAdapter, LoopbackSupport, NdisImPlatformBindingOptions, VlanSupport\n WinPcapCompatible\n<END>", "<BEGIN>\n## `_exec_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_if_raw_addr6 API. 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_if_raw_addr6 API. 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 main global unicast address associated with provided interface, in network format. If no global address is found, None is returned.
"Returns the main global unicast address associated with provided\n interface, in network format. If no global address is found, None\n is returned."
1,329
true
secdev/scapy
get_if_raw_addr6
5,962
LDU_FT/liip/taxi/hours
LDU_FT
[ "<BEGIN>\n## `round_to_quarter`", "Return the duration between `start_time` and `end_time` :class:`datetime.time` objects, rounded to 15 minutes.\n<END>", "<BEGIN>\n## `_timesheets_callback`", "Call a method on all the timesheets, aggregate the return values in a\n list and return it.\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hours API. 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 hours API. 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...
Return the number of hours this entry has lasted. If the duration is a tuple with a start and an end time, the difference between the two times will be calculated. If the duration is a number, it will be returned as-is.
"Return the number of hours this entry has lasted. If the duration is a tuple with a start and an end time,\n the difference between the two times will be calculated. If the duration is a number, it will be returned\n as-is."
131
false
liip/taxi
hours
5,963
LDU_FT/knaperek/djangosaml2/echo_attributes
LDU_FT
[ "<BEGIN>\n## `get_idp_sso_supported_bindings`", "Returns the list of bindings supported by an IDP\n This is not clear in the pysaml2 code, so wrapping it in a util\n<END>", "<BEGIN>\n## `fail_acs_response`", "Serves as a common mechanism for ending ACS in case of any SAML related failure.\n Handling can...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the echo_attributes API. 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 echo_attributes API. 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...
Example view that echo the SAML attributes of an user
"Example view that echo the SAML attributes of an user"
34
false
knaperek/djangosaml2
echo_attributes
5,964
LDU_FT/inveniosoftware-contrib/invenio-classifier/get_post_reference_section_keyword_patterns
LDU_FT
[ "<BEGIN>\n## `get_acronyms`", "Find acronyms and expansions from the fulltext.", " If needed, acronyms can already contain a dictionary of previously found\n acronyms that will be merged with the current results.\n<END>", "<BEGIN>\n## `_add_expansion_to_acronym_dict`", "Add an acronym to the dictiona...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_post_reference_section_keyword_patterns API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_post_reference_section_keyword_patterns API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indi...
Return a list of compiled regex patterns for keywords. Keywords that can often be found after, and therefore suggest the end of a reference section in a full-text document. :return: (list) of compiled regex patterns.
"Return a list of compiled regex patterns for keywords.\n\n Keywords that can often be found after, and therefore suggest the end of\n a reference section in a full-text document.\n\n :return: (list) of compiled regex patterns."
178
false
inveniosoftware-contrib/invenio-classifier
get_post_reference_section_keyword_patterns
5,965
LDU_FT/google/pyu2f/CmdAuthenticate
LDU_FT
[ "<BEGIN>\n## `ToByteArray`", "Serialize the command.", " Encodes the command as per the U2F specs, using the standard\n ISO 7816-4 extended encoding. All Commands expect data, so\n Le is always present.", " Returns:\n Python bytearray of the encoded command.\n<END>", "<BEGIN>\n## `_BuildPl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the CmdAuthenticate API. 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 CmdAuthenticate API. 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...
Attempt to obtain an authentication signature. Ask the security key to sign a challenge for a particular key handle in order to authenticate the user. Args: challenge_param: SHA-256 hash of client_data object as a bytes object. app_param: SHA-256 hash of the app id as a bytes object....
"Attempt to obtain an authentication signature.\n\n Ask the security key to sign a challenge for a particular key handle\n in order to authenticate the user.\n\n Args:\n challenge_param: SHA-256 hash of client_data object as a bytes\n object.\n app_param: SHA-256 hash of the app id as a byte...
95
false
google/pyu2f
CmdAuthenticate
5,966
LDU_FT/Cue/scales/disconnect
LDU_FT
[ "<BEGIN>\n## `lookup`", "Traverses the source, looking up each key. Returns None if can't find anything instead of raising an exception.\n<END>", "<BEGIN>\n## `connect`", "Connects to the Graphite server if not already connected.\n<END>", "<BEGIN>\n## `disconnect`", "Disconnect from the Graphite server i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the disconnect API. 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 disconnect API. 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...
Disconnect from the Graphite server if connected.
"Disconnect from the Graphite server if connected."
72
false
Cue/scales
disconnect
5,967
LDU_FT/onnx/onnx/load_model
LDU_FT
[ "<BEGIN>\n## `run_node`", "Simple run one operator and return the results.\n Args:\n outputs_info: a list of tuples, which contains the element type and\n shape of each output. First element of the tuple is the dtype, and\n the second element is the shape. More use case can...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_model API. 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 load_model API. 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...
Loads a serialized ModelProto into memory @params f can be a file-like object (has "read" function) or a string containing a file name format is for future use @return Loaded in-memory ModelProto
"Loads a serialized ModelProto into memory\n\n @params\n f can be a file-like object (has \"read\" function) or a string containing a file name\n format is for future use\n\n @return\n Loaded in-memory ModelProto"
72
false
onnx/onnx
load_model
5,968
LDU_FT/mikeywaites/flask-arrested/process_after_request_hooks
LDU_FT
[ "<BEGIN>\n## `process`", "Process the provided data and invoke :meth:`Handler.handle` method for this\n Handler class.", " :params data: The data being processed.\n :returns: self\n :rtype: :class:`Handler`", " .. code-block:: python", " def post(self, *args, **...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_after_request_hooks 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 process_after_request_hooks API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Process the list of before_{method}_hooks and the before_all_hooks. The hooks will be processed in the following order 1 - any after_{method}_hooks defined on the :class:`arrested.Endpoint` object 2 - any after_all_hooks defined on the :class:`arrested.Endpoint` object 2 - any after_all...
"Process the list of before_{method}_hooks and the before_all_hooks. The hooks\n will be processed in the following order\n\n 1 - any after_{method}_hooks defined on the :class:`arrested.Endpoint` object\n 2 - any after_all_hooks defined on the :class:`arrested.Endpoint` object\n 2 - any aft...
99
false
mikeywaites/flask-arrested
process_after_request_hooks
5,969
LDU_FT/faxir/faxir-python/upload_file
LDU_FT
[ "<BEGIN>\n## `get_number`", "Get number information # noqa: E501", " Get info of a single number # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async=True\n >>> thread = api.get_number(number, async=True)\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload_file API. 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 upload_file API. 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...
upload a file # noqa: E501 Before sending a fax you need to upload your files using this API. In order to upload your fax file, you have to send a `multipart/form-data` request with your file. If the upload was successful you would receive a `file_path` which you can use to send your fax. # noqa: E501 ...
"upload a file # noqa: E501\n\n Before sending a fax you need to upload your files using this API. In order to upload your fax file, you have to send a `multipart/form-data` request with your file. If the upload was successful you would receive a `file_path` which you can use to send your fax. # noqa: E501\n ...
80
false
faxir/faxir-python
upload_file
5,970
LDU_FT/hosford42/xcs/execute
LDU_FT
[ "<BEGIN>\n## `random`", "Create a bit string of the given length, with the probability of\n each bit being set equal to bit_prob, which defaults to .5.", " Usage:\n # Create a random BitString of length 10 with mostly zeros.\n bits = BitString.random(10, bit_prob=.1)", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API. 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 execute API. 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...
Execute the indicated action within the environment and return the resulting immediate reward dictated by the reward program. Usage: immediate_reward = scenario.execute(selected_action) Arguments: action: The action to be executed within the current situation. ...
"Execute the indicated action within the environment and\n return the resulting immediate reward dictated by the reward\n program.\n\n Usage:\n immediate_reward = scenario.execute(selected_action)\n\n Arguments:\n action: The action to be executed within the current sit...
159
false
hosford42/xcs
execute
5,971
LDU_FT/qubole/qds-sdk-py/update
LDU_FT
[ "<BEGIN>\n## `_parse_list`", "Parse command line arguments to construct a dictionary of cluster\n parameters that can be used to determine which clusters to list.", " Args:\n `args`: sequence of arguments", " Returns:\n Dictionary that can be used to determine which ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Update the cluster with id/label `cluster_id_label` using information provided in `cluster_info`.
"Update the cluster with id/label `cluster_id_label` using information provided in\n `cluster_info`."
316
false
qubole/qds-sdk-py
update
5,972