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/CloudGenix/sdk-python/tenant_forgot_password_login | LDU_FT | [
"<BEGIN>\n## `jdout`",
"JD Output function. Does quick pretty printing of a CloudGenix Response body. This function returns a string\n instead of directly printing content.",
" **Parameters:**",
" - **api_response:** A CloudGenix-attribute extended `requests.Response` object",
" **Returns:**... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tenant_forgot_password_login 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 tenant_forgot_password_login API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Forgot password API
**Parameters:**:
- **data**: Dictionary containing data to POST as JSON
- **tenant_id**: Tenant ID
- **api_version**: API version to use (default v2.0)
**Returns:** requests.Response object extended with cgx_status and cgx_content properties. | "Forgot password API\n\n **Parameters:**:\n\n - **data**: Dictionary containing data to POST as JSON\n - **tenant_id**: Tenant ID\n - **api_version**: API version to use (default v2.0)\n\n **Returns:** requests.Response object extended with cgx_status and cgx_content propertie... | 153 | false | CloudGenix/sdk-python | tenant_forgot_password_login | 29,573 | |
LDU_FT/DistrictDataLabs/yellowbrick/learning_curve | LDU_FT | [
"<BEGIN>\n## `download`",
"Download the dataset from the hosted Yellowbrick data store and save\n it to the location specified by ``get_data_home``. The downloader\n verifies the download completed successfully and safely by comparing\n the expected signature with the SHA 256 signature of the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the learning_curve API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the learning_curve API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Displays a learning curve based on number of samples vs training and
cross validation scores. The learning curve aims to show how a model
learns and improves with experience.
This helper function is a quick wrapper to utilize the LearningCurve
for one-off analysis.
Parameters
----------
mo... | "Displays a learning curve based on number of samples vs training and\n cross validation scores. The learning curve aims to show how a model\n learns and improves with experience.\n\n This helper function is a quick wrapper to utilize the LearningCurve\n for one-off analysis.\n\n Parameters\n --------... | 1,283 | true | DistrictDataLabs/yellowbrick | learning_curve | 29,574 | |
LDU_FT/davidchua/pymessenger/send_attachment_url | LDU_FT | [
"<BEGIN>\n## `send_attachment`",
"Send an attachment to the specified recipient using local path.\n Input:\n recipient_id: recipient id to send to\n attachment_type: type of attachment (image, video, audio, file)\n attachment_path: Path of attachment\n Output:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_attachment_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_attachment_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.
T... | Send an attachment to the specified recipient using URL.
Input:
recipient_id: recipient id to send to
attachment_type: type of attachment (image, video, audio, file)
attachment_url: URL of attachment
Output:
Response from API as <dict> | "Send an attachment to the specified recipient using URL.\n Input:\n recipient_id: recipient id to send to\n attachment_type: type of attachment (image, video, audio, file)\n attachment_url: URL of attachment\n Output:\n Response from API as <dict>" | 31 | false | davidchua/pymessenger | send_attachment_url | 29,575 | |
LDU_FT/johnwmillr/LyricsGenius/to_dict | LDU_FT | [
"<BEGIN>\n## `get_artist_songs`",
"Documents (songs) for the artist specified.\n<END>",
"<BEGIN>\n## `_scrape_song_lyrics_from_url`",
"Use BeautifulSoup to scrape song info off of a Genius song URL\n :param url: URL for the web page to scrape lyrics from\n<END>",
"<BEGIN>\n## `_clean_str`",
"Return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_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 extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_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 extracted... | Create a dictionary from the song object
Used in save_lyrics to create json object
:return: Dictionary | "Create a dictionary from the song object\n Used in save_lyrics to create json object\n\n :return: Dictionary" | 25 | false | johnwmillr/LyricsGenius | to_dict | 29,576 | |
LDU_FT/tonioo/sievelib/__read_response | LDU_FT | [
"<BEGIN>\n## `authentication_required`",
"Simple class method decorator.",
" Checks if the client is currently connected.",
" :param meth: the original called method\n<END>",
"<BEGIN>\n## `__read_block`",
"Read a block of 'size' bytes from the server.",
" An internal buffer is used to read ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __read_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 e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __read_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 e... | Read a response from the server.
In the usual case, we read lines until we find one that looks
like a response (OK|NO|BYE\s*(.+)?).
If *nblines* > 0, we read excactly nblines before returning.
:param nblines: number of lines to read (default : -1)
:rtype: tuple
:return... | "Read a response from the server.\n\n In the usual case, we read lines until we find one that looks\n like a response (OK|NO|BYE\\s*(.+)?).\n\n If *nblines* > 0, we read excactly nblines before returning.\n\n :param nblines: number of lines to read (default : -1)\n :rtype: tuple\n ... | 191 | false | tonioo/sievelib | __read_response | 29,577 | |
LDU_FT/alertot/detectem/get_charset | LDU_FT | [
"<BEGIN>\n## `get_detection_results`",
"Return results from detector.",
" This function prepares the environment loading the plugins,\n getting the response and passing it to the detector.",
" In case of errors, it raises exceptions to be handled externally.\n<END>",
"<BEGIN>\n## `get_plugins`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_charset API.
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_charset API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Return charset from ``response`` or default charset.
:rtype: str | "Return charset from ``response`` or default charset.\n\n :rtype: str" | 48 | false | alertot/detectem | get_charset | 29,578 | |
LDU_FT/hbldh/dlxsudoku/load_file | LDU_FT | [
"<BEGIN>\n## `load_file`",
"Load a Sudoku from file.",
" :param file_path: The path to the file to load_file.\n :type file_path: str, unicode\n :return: A Sudoku instance with the parsed\n information from the file.\n :rtype: :py:class:`dlxsudoku.sudoku.Sudoku`\n<END>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_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 extract... | Load a Sudoku from file.
:param file_path: The path to the file to load_file.
:type file_path: str, unicode
:return: A Sudoku instance with the parsed
information from the file.
:rtype: :py:class:`dlxsudoku.sudoku.Sudoku` | "Load a Sudoku from file.\n\n :param file_path: The path to the file to load_file.\n :type file_path: str, unicode\n :return: A Sudoku instance with the parsed\n information from the file.\n :rtype: :py:class:`dlxsudoku.sudoku.Sudoku`" | 32 | false | hbldh/dlxsudoku | load_file | 29,579 | |
LDU_FT/sebp/scikit-survival/fit_transform | LDU_FT | [
"<BEGIN>\n## `_fit_and_score`",
"Train survival model on given data and return its score on test data\n<END>",
"<BEGIN>\n## `fit`",
"Fit estimator.",
" Parameters\n ----------\n X : array-like, shape = (n_samples, n_features)\n Data matrix",
" y : structured array, s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit_transform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit_transform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Convert categorical columns to numeric values.
Parameters
----------
X : pandas.DataFrame
Data to encode.
y :
Ignored. For compatibility with TransformerMixin.
fit_params :
Ignored. For compatibility with TransformerMixin.
Returns
... | "Convert categorical columns to numeric values.\n\n Parameters\n ----------\n X : pandas.DataFrame\n Data to encode.\n y :\n Ignored. For compatibility with TransformerMixin.\n fit_params :\n Ignored. For compatibility with TransformerMixin.\n\n ... | 432 | false | sebp/scikit-survival | fit_transform | 29,580 | |
LDU_FT/cmorisse/ikp3db/get_threads | LDU_FT | [
"<BEGIN>\n## `set_trace`",
"Breaks on the line that invoked this function or at given frame.\n User can then resume execution.",
" To call set_trace() use:",
" .. code-block:: python",
" import ikp3db ; ikp3db.set_trace()",
" :param a_frame: The frame at which to break on.\n :type a_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_threads API.
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_threads API.
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 dict of all threads and indicates thread being debugged.
key is thread ident and values thread info.
Information from this list can be used to swap thread being debugged. | "Returns a dict of all threads and indicates thread being debugged.\n key is thread ident and values thread info.\n Information from this list can be used to swap thread being debugged." | 109 | false | cmorisse/ikp3db | get_threads | 29,581 | |
LDU_FT/gagneurlab/concise/InputSplines | LDU_FT | [
"<BEGIN>\n## `best_kmers`",
"Find best k-mers for CONCISE initialization.",
" Args:\n dt (pd.DataFrame): Table containing response variable and sequence.\n response (str): Name of the column used as the reponse variable.\n sequence (str): Name of the column storing the DNA/RNA sequences.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the InputSplines API.
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 InputSplines API.
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... | Input placeholder for array returned by `encodeSplines`
Wrapper for: `keras.layers.Input((seq_length, n_bases), name=name, **kwargs)` | "Input placeholder for array returned by `encodeSplines`\n\n Wrapper for: `keras.layers.Input((seq_length, n_bases), name=name, **kwargs)`" | 311 | false | gagneurlab/concise | InputSplines | 29,582 | |
LDU_FT/bukun/TorCMS/json_changepass | LDU_FT | [
"<BEGIN>\n## `view_or_add`",
"To judge if there is a post of the title.\n Then, to show, or to add.\n<END>",
"<BEGIN>\n## `gen_array_crud`",
"Return the dictionay of the switcher form XLXS file.\n if valud of the column of the row is `1`, it will be added to the array.\n<END>",
"<BEGIN>\n## `__ge... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the json_changepass API.
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 json_changepass API.
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... | The first char of 'code' stands for the different field.
'1' for user_name
'2' for user_email
'3' for user_pass
'4' for user_role
The seconde char of 'code' stands for different status.
'1' for invalide
'2' for already exists. | "The first char of 'code' stands for the different field.\n '1' for user_name\n '2' for user_email\n '3' for user_pass\n '4' for user_role\n The seconde char of 'code' stands for different status.\n '1' for invalide\n '2' for already exists." | 189 | false | bukun/TorCMS | json_changepass | 29,583 | |
LDU_FT/chaimleib/intervaltree/remove_envelop | LDU_FT | [
"<BEGIN>\n## `refresh_balance`",
"Recalculate self.balance and self.depth based on child node values.\n<END>",
"<BEGIN>\n## `compute_depth`",
"Recursively computes true depth of the subtree. Should only\n be needed for debugging. Unless something is wrong, the\n depth field should reflect the co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_envelop API.
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 remove_envelop API.
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... | Removes all intervals completely enveloped in the given range.
Completes in O((r+m)*log n) time, where:
* n = size of the tree
* m = number of matches
* r = size of the search range | "Removes all intervals completely enveloped in the given range.\n\n Completes in O((r+m)*log n) time, where:\n * n = size of the tree\n * m = number of matches\n * r = size of the search range" | 139 | false | chaimleib/intervaltree | remove_envelop | 29,584 | |
LDU_FT/Robpol86/sphinxcontrib-versioning/builder_inited | LDU_FT | [
"<BEGIN>\n## `setup_logging`",
"Configure console logging. Info and below go to stdout, others go to stderr.",
" :param int verbose: Verbosity level. > 0 print debug statements. > 1 passed to sphinx-build.\n :param bool colors: Print color text in non-verbose mode.\n :param str name: Which logger name ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the builder_inited API.
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 builder_inited API.
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... | Update the Sphinx builder.
:param sphinx.application.Sphinx app: Sphinx application object. | "Update the Sphinx builder.\n\n :param sphinx.application.Sphinx app: Sphinx application object." | 172 | false | Robpol86/sphinxcontrib-versioning | builder_inited | 29,585 | |
LDU_FT/rodionovd/machobot/insert_load_command | LDU_FT | [
"<BEGIN>\n## `modify_macho_file_headers`",
"Modifies headers of a Mach-O file at the given path by calling\n\tthe modificator function on each header.",
"\tReturns True on success, otherwise rises an exeption (e.g. from macholib)\n<END>",
"<BEGIN>\n## `insert_load_command`",
"Inserts a new LC_LOAD_DYLIB loa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert_load_command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert_load_command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Inserts a new LC_LOAD_DYLIB load command into the target Mach-O header.
Note: the target file will be overwritten. Consider backing it up first before calling this function.
Returns True if everything is OK. Otherwise rises an exception. | "Inserts a new LC_LOAD_DYLIB load command into the target Mach-O header.\n\t\n\tNote: the target file will be overwritten. Consider backing it up first before calling this function.\n\tReturns True if everything is OK. Otherwise rises an exception." | 16 | false | rodionovd/machobot | insert_load_command | 29,586 | |
LDU_FT/openego/eTraGo/plot_q_flows | LDU_FT | [
"<BEGIN>\n## `tsam_cluster`",
"Parameters\n ----------\n df : pd.DataFrame\n DataFrame with timeseries to cluster",
" Returns\n -------\n timeseries : pd.DataFrame\n Clustered timeseries\n<END>",
"<BEGIN>\n## `update_data_frames`",
"Updates the snapshots, snapshots weights and t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_q_flows API.
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 plot_q_flows API.
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... | Plot maximal reactive line load.
Parameters
----------
network: PyPSA network container
Holds topology of grid including results from powerflow analysis | "Plot maximal reactive line load. \n \n Parameters\n ----------\n network: PyPSA network container\n Holds topology of grid including results from powerflow analysis" | 318 | false | openego/eTraGo | plot_q_flows | 29,587 | |
LDU_FT/pricingassistant/mongokat/iter_column | LDU_FT | [
"<BEGIN>\n## `_get_string`",
"Decode a BSON string to python unicode string.\n<END>",
"<BEGIN>\n## `_get_object`",
"Decode a BSON subdocument to opts.document_class or bson.dbref.DBRef.\n<END>",
"<BEGIN>\n## `_get_boolean`",
"Decode a BSON true/false to python True/False.\n<END>",
"<BEGIN>\n## `_get_dat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_column API.
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 iter_column API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Return one field as an iterator.
Beware that if your query returns records where the field is not set, it will raise a KeyError. | "Return one field as an iterator.\n Beware that if your query returns records where the field is not set, it will raise a KeyError." | 55 | false | pricingassistant/mongokat | iter_column | 29,588 | |
LDU_FT/modin-project/modin/get_query_info | LDU_FT | [
"<BEGIN>\n## `_read_sql_with_offset_pandas_on_ray`",
"Use a Ray task to read a chunk of SQL source.",
" Note: Ray functions are not detected by codecov (thus pragma: no cover)\n<END>",
"<BEGIN>\n## `read_sql`",
"Read SQL query or database table into a DataFrame.",
" Args:\n sql: strin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_query_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_query_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Return a columns name list and the query string
Args:
sql: SQL query or table name
con: database connection or url string
partition_column: column used to share the data between the workers
Returns:
Columns name list and query string | "Return a columns name list and the query string\n\n Args:\n sql: SQL query or table name\n con: database connection or url string\n partition_column: column used to share the data between the workers\n\n Returns:\n Columns name list and query string" | 811 | false | modin-project/modin | get_query_info | 29,589 | |
LDU_FT/ryanpetrello/cleaver/save_experiment | LDU_FT | [
"<BEGIN>\n## `all_experiments`",
"Retrieve every available experiment.",
" Returns a list of ``cleaver.experiment.Experiment``s\n<END>",
"<BEGIN>\n## `get_experiment`",
"Retrieve an experiment by its name and variants (assuming it exists).",
" :param name a unique string name for the experim... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_experiment API.
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_experiment API.
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... | Persist an experiment and its variants (unless they already exist).
:param name a unique string name for the experiment
:param variants a list of strings, each with a unique variant name | "Persist an experiment and its variants (unless they already exist).\n\n :param name a unique string name for the experiment\n :param variants a list of strings, each with a unique variant name" | 70 | false | ryanpetrello/cleaver | save_experiment | 29,590 | |
LDU_FT/glitchassassin/lackey/targetOffset | LDU_FT | [
"<BEGIN>\n## `_check_count`",
"Private function to return ctypes errors cleanly\n<END>",
"<BEGIN>\n## `getScreenBounds`",
"Returns the screen size of the specified monitor (0 being the main monitor).\n<END>",
"<BEGIN>\n## `getScreenDetails`",
"Return list of attached monitors",
" For each monitor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the targetOffset API.
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 targetOffset API.
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... | Returns a new Pattern with the given target offset | "Returns a new Pattern with the given target offset" | 378 | false | glitchassassin/lackey | targetOffset | 29,591 | |
LDU_FT/mrstephenneal/mysql-toolkit/update_many | LDU_FT | [
"<BEGIN>\n## `count_rows_duplicates`",
"Get the number of rows that do not contain distinct values.\n<END>",
"<BEGIN>\n## `count_rows`",
"Get the number of rows in a particular table.\n<END>",
"<BEGIN>\n## `count_rows_distinct`",
"Get the number distinct of rows in a particular table.\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_many API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_many API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Update the values of several rows.
:param table: Name of the MySQL table
:param columns: List of columns
:param values: 2D list of rows
:param where_col: Column name for where clause
:param where_index: Row index of value to be used for where comparison
:return: | "Update the values of several rows.\n\n :param table: Name of the MySQL table\n :param columns: List of columns\n :param values: 2D list of rows\n :param where_col: Column name for where clause\n :param where_index: Row index of value to be used for where comparison\n :return:" | 204 | false | mrstephenneal/mysql-toolkit | update_many | 29,592 | |
LDU_FT/twisted/vertex/connect | LDU_FT | [
"<BEGIN>\n## `enregister`",
"Register a new account and return a Deferred that fires if it worked.",
" @param svc: a Q2QService",
" @param newAddress: a Q2QAddress object",
" @param password: a shared secret (str)\n<END>",
"<BEGIN>\n## `connectCached`",
"See module docstring",
" @param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Attempt to establish a new connection via PTCP to the given
remote address.
@param factory: A L{ClientFactory} which will be used to
create an L{IProtocol} provider if the connection is
successfully set up, or which will have failure callbacks
invoked on it otherwise... | "Attempt to establish a new connection via PTCP to the given\n remote address.\n\n @param factory: A L{ClientFactory} which will be used to\n create an L{IProtocol} provider if the connection is\n successfully set up, or which will have failure callbacks\n invoked on it ot... | 191 | false | twisted/vertex | connect | 29,593 | |
LDU_FT/driftx/Telephus/multiget_count | LDU_FT | [
"<BEGIN>\n## `set_keyspace`",
"switch all connections to another keyspace\n<END>",
"<BEGIN>\n## `retry`",
"Retry this factory's connection. It is assumed that a previous\n connection was attempted and failed- either before or after a\n successful connection.\n<END>",
"<BEGIN>\n## `prep_connect... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the multiget_count API.
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 multiget_count API.
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... | Perform a get_count in parallel on the given list<binary> keys. The return value maps keys to the count found.
Parameters:
- keys
- column_parent
- predicate
- consistency_level | "Perform a get_count in parallel on the given list<binary> keys. The return value maps keys to the count found.\n\n Parameters:\n - keys\n - column_parent\n - predicate\n - consistency_level" | 132 | false | driftx/Telephus | multiget_count | 29,594 | |
LDU_FT/ray-project/ray/override | LDU_FT | [
"<BEGIN>\n## `_agent_import_failed`",
"Returns dummy agent class for if PyTorch etc. is not installed.\n<END>",
"<BEGIN>\n## `run`",
"Executes training.",
" Args:\n run_or_experiment (function|class|str|Experiment): If\n function|class|str, this is the algorithm or model to train.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the override API.
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 override API.
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... | Annotation for documenting method overrides.
Arguments:
cls (type): The superclass that provides the overriden method. If this
cls does not actually have the method, an error is raised. | "Annotation for documenting method overrides.\n\n Arguments:\n cls (type): The superclass that provides the overriden method. If this\n cls does not actually have the method, an error is raised." | 1,706 | true | ray-project/ray | override | 29,595 | |
LDU_FT/libyal/dtfabric/_ReadPaddingDataTypeDefinition | LDU_FT | [
"<BEGIN>\n## `Main`",
"The main program function.",
" Returns:\n bool: True if successful or False if not.\n<END>",
"<BEGIN>\n## `CheckDirectory`",
"Validates definition files in a directory.",
" Args:\n path (str): path of the definition file.\n extension (Optional[str]): extension of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ReadPaddingDataTypeDefinition API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ReadPaddingDataTypeDefinition API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Reads a padding data type definition.
Args:
definitions_registry (DataTypeDefinitionsRegistry): data type definitions
registry.
definition_values (dict[str, object]): definition values.
definition_name (str): name of the definition.
is_member (Optional[bool]): True if the data typ... | "Reads a padding data type definition.\n\n Args:\n definitions_registry (DataTypeDefinitionsRegistry): data type definitions\n registry.\n definition_values (dict[str, object]): definition values.\n definition_name (str): name of the definition.\n is_member (Optional[bool]): True if the ... | 373 | false | libyal/dtfabric | _ReadPaddingDataTypeDefinition | 29,596 | |
LDU_FT/xray7224/PyPump/shares | LDU_FT | [
"<BEGIN>\n## `verifier`",
"Will ask user to click link to accept app and write code\n<END>",
"<BEGIN>\n## `post_note`",
"Post note and return the URL of the posted note\n<END>",
"<BEGIN>\n## `get_obj_id`",
"Get the id of a PumpObject.",
" :param item: id string or PumpObject\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shares API.
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 shares API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | A :class:`Feed <pypump.models.feed.Feed>`
of the people who've shared the object.
Example:
>>> for person in mynote.shares:
... print(person.webfinger)
...
pypumptest1@pumpity.net
pypumptest2@pumpyourself.com | "A :class:`Feed <pypump.models.feed.Feed>`\n of the people who've shared the object.\n\n Example:\n >>> for person in mynote.shares:\n ... print(person.webfinger)\n ...\n pypumptest1@pumpity.net\n pypumptest2@pumpyourself.com" | 100 | false | xray7224/PyPump | shares | 29,597 | |
LDU_FT/ihgazni2/edict/_cond_select_key_nonrecur | LDU_FT | [
"<BEGIN>\n## `pipe_shell_cmds`",
"shell_CMDs = {}\n shell_CMDs[1] = 'netstat -n'\n shell_CMDs[2] = \"awk {'print $6'}\"\n<END>",
"<BEGIN>\n## `_reorder_via_klist`",
"d = {'scheme': 'http', 'path': '/index.php', 'params': 'params', 'query': 'username=query', 'fragment': 'frag', 'username': '', 'p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _cond_select_key_nonrecur API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _cond_select_key_nonrecur API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | d = {
"ActiveArea":"50829",
"Artist":"315",
"AsShotPreProfileMatrix":"50832",
"AnalogBalance":"50727",
"AsShotICCProfile":"50831",
"AsShotProfileName":"50934",
"AntiAliasStrength":"50738",
... | "d = {\n \"ActiveArea\":\"50829\", \n \"Artist\":\"315\", \n \"AsShotPreProfileMatrix\":\"50832\",\n \"AnalogBalance\":\"50727\", \n \"AsShotICCProfile\":\"50831\", \n \"AsShotProfileName\":\"50934\",\n \"AntiAli... | 71 | false | ihgazni2/edict | _cond_select_key_nonrecur | 29,598 | |
LDU_FT/pennlabs/penn-sdk-python/get_wharton_gsrs | LDU_FT | [
"<BEGIN>\n## `get_meals`",
"Extract meals into old format from a DiningV2 JSON response\n<END>",
"<BEGIN>\n## `menu`",
"Get the menu for the venue corresponding to venue_id,\n on date.",
" :param venue_id:\n A string representing the id of a venue, e.g. \"abc\".\n :param date:\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_wharton_gsrs API.
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_wharton_gsrs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Make a request to retrieve Wharton GSR listings. | "Make a request to retrieve Wharton GSR listings." | 115 | false | pennlabs/penn-sdk-python | get_wharton_gsrs | 29,599 | |
LDU_FT/sampsyo/confuse/namespace_to_dict | LDU_FT | [
"<BEGIN>\n## `namespace_to_dict`",
"If obj is argparse.Namespace or optparse.Values we'll return\n a dict representation of it, else return the original object.",
" Redefine this method if using other parsers.",
" :param obj: *\n :return:\n :rtype: dict or *\n<END>",
"<BEGIN>\n## `_package_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the namespace_to_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the namespace_to_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... | If obj is argparse.Namespace or optparse.Values we'll return
a dict representation of it, else return the original object.
Redefine this method if using other parsers.
:param obj: *
:return:
:rtype: dict or * | "If obj is argparse.Namespace or optparse.Values we'll return\n a dict representation of it, else return the original object.\n\n Redefine this method if using other parsers.\n\n :param obj: *\n :return:\n :rtype: dict or *" | 79 | false | sampsyo/confuse | namespace_to_dict | 29,600 | |
LDU_FT/JelteF/PyLaTeX/dumps | LDU_FT | [
"<BEGIN>\n## `fill_document`",
"Add a section, a subsection and some text to the document.",
" :param doc: the document\n :type doc: :class:`pylatex.document.Document` instance\n<END>",
"<BEGIN>\n## `dumps_content`",
"r\"\"\"Represent the container as a string in LaTeX syntax.",
" Args\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dumps API.
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 dumps API.
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... | Represent the section as a string in LaTeX syntax.
Returns
-------
str | "Represent the section as a string in LaTeX syntax.\n\n Returns\n -------\n str" | 183 | false | JelteF/PyLaTeX | dumps | 29,601 | |
LDU_FT/gamechanger/mongothon/deregister_all | LDU_FT | [
"<BEGIN>\n## `register`",
"Registers the given function as a handler to be applied\n in response to the the given event.\n<END>",
"<BEGIN>\n## `apply`",
"Applies all middleware functions registered against the given\n event in order to the given document.\n<END>",
"<BEGIN>\n## `deregister`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deregister_all API.
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 deregister_all API.
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... | Deregisters all handler functions, or those registered against the given event(s). | "Deregisters all handler functions, or those registered against the given event(s)." | 59 | false | gamechanger/mongothon | deregister_all | 29,602 | |
LDU_FT/grantmcconnaughey/Lintly/find_diff_violations | LDU_FT | [
"<BEGIN>\n## `changed_lines`",
"A list of dicts in the format:\n {\n 'file_name': str,\n 'content': str,\n 'line_number': int,\n 'position': int\n }\n<END>",
"<BEGIN>\n## `build_pr_comment`",
"Creates a Markdown representation o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_diff_violations 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 find_diff_violations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Uses the diff for this build to find changed lines that also have violations. | "Uses the diff for this build to find changed lines that also have violations." | 24 | false | grantmcconnaughey/Lintly | find_diff_violations | 29,603 | |
LDU_FT/openwisp/netdiff/parse | LDU_FT | [
"<BEGIN>\n## `parse`",
"Converts a NetJSON 'NetworkGraph' object\n to a NetworkX Graph object,which is then returned.\n Additionally checks for protocol version, revision and metric.\n<END>",
"<BEGIN>\n## `parse`",
"Converts a OpenVPN JSON to a NetworkX Graph object\n which is then return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
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 parse API.
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... | Converts a CNML structure to a NetworkX Graph object
which is then returned. | "Converts a CNML structure to a NetworkX Graph object\n which is then returned." | 30 | false | openwisp/netdiff | parse | 29,604 | |
LDU_FT/KnightHawk3/Hummingbird/get_anime | LDU_FT | [
"<BEGIN>\n## `_query_`",
"Used internally for requests.",
" :param str path: The path to hit.\n :param str method: The method to use, either `'GET'` or `'POST.`\n :param dict data:\n The optional paramters to the `GET` or the data to `POST`.",
" :returns:\n Re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_anime API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_anime API.
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... | Fetches the Anime Object of the given id or slug.
:param anime_id: The Anime ID or Slug.
:type anime_id: int or str
:param str title_language: The PREFERED title language can be any of
`'canonical'`, `'english'`, `'romanized'`
:returns: Anime Object -- The Anime you requeste... | "Fetches the Anime Object of the given id or slug.\n\n :param anime_id: The Anime ID or Slug.\n :type anime_id: int or str\n :param str title_language: The PREFERED title language can be any of\n `'canonical'`, `'english'`, `'romanized'`\n :returns: Anime Object -- The Anime you r... | 35 | false | KnightHawk3/Hummingbird | get_anime | 29,605 | |
LDU_FT/wesm/feather/Error | LDU_FT | [
"<BEGIN>\n## `IsErrorSuppressedByNolint`",
"Returns true if the specified error category is suppressed on this line.",
" Consults the global error_suppressions map populated by\n ParseNolintSuppressions/ResetNolintSuppressions.",
" Args:\n category: str, the category of the error.\n linenum: int, the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Error API.
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 Error API.
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... | Logs the fact we've found a lint error.
We log where the error was found, and also our confidence in the error,
that is, how certain we are this is a legitimate style regression, and
not a misidentification or a use that's sometimes justified.
False positives can be suppressed by the use of
"cpplint(categor... | "Logs the fact we've found a lint error.\n\n We log where the error was found, and also our confidence in the error,\n that is, how certain we are this is a legitimate style regression, and\n not a misidentification or a use that's sometimes justified.\n\n False positives can be suppressed by the use of\n \"cpplin... | 104 | false | wesm/feather | Error | 29,606 | |
LDU_FT/prawn-cake/vk-requests/require_auth_captcha | LDU_FT | [
"<BEGIN>\n## `consumer`",
"Consumer decorator",
" :param fn: coroutine consumer function",
" Example:",
" >>> api = StreamingAPI('my_service_key')\n >>> stream = api.get_stream()",
" >>> @stream.consumer\n >>> @asyncio.coroutine\n >>> def handle_event(paylo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the require_auth_captcha 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 require_auth_captcha API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Resolve auth captcha case
:param response: http response
:param query_params: dict: response query params, for example:
{'s': '0', 'email': 'my@email', 'dif': '1', 'role': 'fast', 'sid': '1'}
:param login_form_data: dict
:param http_session: requests.Session
:return: :r... | "Resolve auth captcha case\n\n :param response: http response\n :param query_params: dict: response query params, for example:\n {'s': '0', 'email': 'my@email', 'dif': '1', 'role': 'fast', 'sid': '1'}\n\n :param login_form_data: dict\n :param http_session: requests.Session\n :r... | 55 | false | prawn-cake/vk-requests | require_auth_captcha | 29,607 | |
LDU_FT/amaas-fintech/amaas-core-sdk-python/ownership | LDU_FT | [
"<BEGIN>\n## `deactivate`",
"Is is only possible to deactivate an asset manager if your client_id is also the client_id that was used\n to originally create the asset manager.",
" :param asset_manager_id:\n :return:\n<END>",
"<BEGIN>\n## `quote_datetime`",
"Force the quote_datetime to a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ownership API.
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 ownership API.
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... | A list of dictionaries in format {'party_id': 'XYZ', 'split': Decimal('0.5')}
:param ownership:
:return: | "A list of dictionaries in format {'party_id': 'XYZ', 'split': Decimal('0.5')}\n :param ownership:\n :return:" | 109 | false | amaas-fintech/amaas-core-sdk-python | ownership | 29,608 | |
LDU_FT/pazz/alot/exit | LDU_FT | [
"<BEGIN>\n## `determine_sender`",
"Inspect a given mail to reply/forward/bounce and find the most appropriate\n account to act from and construct a suitable From-Header to use.",
" :param mail: the email to inspect\n :type mail: `email.message.Message`\n :param action: intended use case: one of \"re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exit API.
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 exit API.
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... | shuts down user interface without cleaning up.
Use a :class:`alot.commands.globals.ExitCommand` for a clean shutdown. | "shuts down user interface without cleaning up.\n Use a :class:`alot.commands.globals.ExitCommand` for a clean shutdown." | 454 | false | pazz/alot | exit | 29,609 | |
LDU_FT/buguroo/pyknow/build_alpha_part | LDU_FT | [
"<BEGIN>\n## `changes`",
"Pass the given changes to the root_node.\n<END>",
"<BEGIN>\n## `build_alpha_part`",
"Given a set of already adapted rules, build the alpha part of\n the RETE network starting at `root_node`.\n<END>",
"<BEGIN>\n## `build_beta_part`",
"Given a set of already adapted rules, a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_alpha_part API.
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 build_alpha_part API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Given a set of already adapted rules, build the alpha part of
the RETE network starting at `root_node`. | "Given a set of already adapted rules, build the alpha part of\n the RETE network starting at `root_node`." | 78 | false | buguroo/pyknow | build_alpha_part | 29,610 | |
LDU_FT/Cologler/fsoopify-python/get_parent | LDU_FT | [
"<BEGIN>\n## `from_caller_file`",
"return a `Path` from the path of caller file\n<END>",
"<BEGIN>\n## `from_caller_module_root`",
"return a `Path` from module root which include the caller\n<END>",
"<BEGIN>\n## `get_parent`",
"get parent dir as a `DirectoryInfo`.",
" return `None` if self is top.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_parent API.
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_parent API.
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 parent dir as a `DirectoryInfo`.
return `None` if self is top. | "get parent dir as a `DirectoryInfo`.\n\n return `None` if self is top." | 39 | false | Cologler/fsoopify-python | get_parent | 29,611 | |
LDU_FT/Deepwalker/trafaret/fold | LDU_FT | [
"<BEGIN>\n## `ensure_trafaret`",
"Helper for complex trafarets, takes trafaret instance or class\n and returns trafaret instance\n<END>",
"<BEGIN>\n## `DictKeys`",
"Checks if dict has all given keys",
" :param keys:\n :type keys:",
" >>> _dd(DictKeys(['a','b']).check({'a':1,'b':2,}))\n \"{'... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fold API.
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 fold API.
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... | >>> _dd(fold({'a__a': 4}))
"{'a': {'a': 4}}"
>>> _dd(fold({'a__a': 4, 'a__b': 5}))
"{'a': {'a': 4, 'b': 5}}"
>>> _dd(fold({'a__1': 2, 'a__0': 1, 'a__2': 3}))
"{'a': [1, 2, 3]}"
>>> _dd(fold({'form__a__b': 5, 'form__a__a': 4}, 'form'))
"{'a': {'a': 4, 'b': 5}}"
>>> _dd(fold({'form__a__b':... | ">>> _dd(fold({'a__a': 4}))\n \"{'a': {'a': 4}}\"\n >>> _dd(fold({'a__a': 4, 'a__b': 5}))\n \"{'a': {'a': 4, 'b': 5}}\"\n >>> _dd(fold({'a__1': 2, 'a__0': 1, 'a__2': 3}))\n \"{'a': [1, 2, 3]}\"\n >>> _dd(fold({'form__a__b': 5, 'form__a__a': 4}, 'form'))\n \"{'a': {'a': 4, 'b': 5}}\"\n >>> _dd(fo... | 36 | false | Deepwalker/trafaret | fold | 29,612 | |
LDU_FT/linode/linode_api4-python/tag_create | LDU_FT | [
"<BEGIN>\n## `nodes`",
"This is a special derived_class relationship because NodeBalancerNode is the\n only api object that requires two parent_ids\n<END>",
"<BEGIN>\n## `load_ssl_data`",
"A convenience method that loads a cert and a key from files and sets them\n on this object. This can make ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tag_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 extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tag_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 extrac... | Creates a new Tag and optionally applies it to the given entities.
:param label: The label for the new Tag
:type label: str
:param entities: A list of objects to apply this Tag to upon creation.
May only be taggable types (Linode Instances, Domains,
... | "Creates a new Tag and optionally applies it to the given entities.\n\n :param label: The label for the new Tag\n :type label: str\n :param entities: A list of objects to apply this Tag to upon creation.\n May only be taggable types (Linode Instances, Domains,\n ... | 232 | false | linode/linode_api4-python | tag_create | 29,613 | |
LDU_FT/ucsb-cs/submit/dmp_to_mdiff | LDU_FT | [
"<BEGIN>\n## `compute_diff`",
"Associate the diff (if exists) with the TestCaseResult.",
" Return whether or not the outputs match.\n<END>",
"<BEGIN>\n## `json_exception`",
"Always return json content in the body of Exceptions to xhr requests.\n<END>",
"<BEGIN>\n## `merge_users`",
"Merge a non-umail ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dmp_to_mdiff API.
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 dmp_to_mdiff API.
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... | Convert from diff_match_patch format to _mdiff format.
This is sadly necessary to use the HtmlDiff module. | "Convert from diff_match_patch format to _mdiff format.\n\n This is sadly necessary to use the HtmlDiff module." | 102 | false | ucsb-cs/submit | dmp_to_mdiff | 29,614 | |
LDU_FT/bihealth/vcfpy/split_mapping | LDU_FT | [
"<BEGIN>\n## `make_virtual_offset`",
"Compute a BGZF virtual offset from block start and within block offsets.\n The BAM indexing scheme records read positions using a 64 bit\n 'virtual offset', comprising in C terms:\n block_start_offset << 16 | within_block_offset\n Here block_start_offset is the fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_mapping API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_mapping API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Split the ``str`` in ``pair_str`` at ``'='``
Warn if key needs to be stripped | "Split the ``str`` in ``pair_str`` at ``'='``\n\n Warn if key needs to be stripped" | 127 | false | bihealth/vcfpy | split_mapping | 29,615 | |
LDU_FT/jsvine/spectra/NewFromYuv | LDU_FT | [
"<BEGIN>\n## `cmyk`",
"Create a spectra.Color object in the CMYK color space.",
" :param float c: c coordinate.\n :param float m: m coordinate.\n :param float y: y coordinate.\n :param float k: k coordinate.",
" :rtype: Color\n :returns: A spectra.Color object in the CMYK color space.\n<END>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the NewFromYuv API.
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 NewFromYuv API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Create a new instance based on the specifed YUV values.
Parameters:
:y:
The Y component value [0...1]
:u:
The U component value [-0.436...0.436]
:v:
The V component value [-0.615...0.615]
:alpha:
The color transparency [0...1], default is opaque
:wref:
... | "Create a new instance based on the specifed YUV values.\n\n Parameters:\n :y:\n The Y component value [0...1]\n :u:\n The U component value [-0.436...0.436]\n :v:\n The V component value [-0.615...0.615]\n :alpha:\n The color transparency [0...1], default is opaque\n ... | 265 | false | jsvine/spectra | NewFromYuv | 29,616 | |
LDU_FT/joferkington/mplstereonet/tangent_lineation_plot | LDU_FT | [
"<BEGIN>\n## `subplots`",
"Identical to matplotlib.pyplot.subplots, except that this will default to\n producing equal-area stereonet axes.",
" This prevents constantly doing:",
" >>> fig, ax = plt.subplot(subplot_kw=dict(projection='stereonet'))",
" or",
" >>> fig = plt.figure()\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tangent_lineation_plot 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 tangent_lineation_plot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Makes a tangent lineation plot for normal faults with the given strikes,
dips, and rakes. | "Makes a tangent lineation plot for normal faults with the given strikes,\n dips, and rakes." | 362 | false | joferkington/mplstereonet | tangent_lineation_plot | 29,617 | |
LDU_FT/skelsec/minidump/find_global | LDU_FT | [
"<BEGIN>\n## `hexdump`",
"@brief Return {src} in hex dump.\n\t@param[in] length\t{Int} Nb Bytes by row.\n\t@param[in] sep\t\t{Char} For the text part, {sep} will be used for non ASCII char.\n\t@return {Str} The hexdump",
"\t@note Full support for python2 and python3 !\n<END>",
"<BEGIN>\n## `parse_mini`",
"m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_global API.
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 find_global API.
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... | Searches for the pattern in the whole process memory space and returns the first occurrence.
This is exhaustive! | "Searches for the pattern in the whole process memory space and returns the first occurrence.\n\t\tThis is exhaustive!" | 27 | false | skelsec/minidump | find_global | 29,618 | |
LDU_FT/josuebrunel/myql/where | LDU_FT | [
"<BEGIN>\n## `get_current_info`",
"get_current_info() uses the yahoo.finance.quotes datatable to get all of the stock information presented in the main table on a typical stock page \n and a bunch of data from the key statistics page.\n<END>",
"<BEGIN>\n## `get_news_feed`",
"get_news_feed() uses the rs... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the where API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the where API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | This method simulates a where condition. Use as follow:
>>> yql.select('mytable').where(['name', '=', 'alain'], ['location', '!=', 'paris']) | "This method simulates a where condition. Use as follow:\n >>> yql.select('mytable').where(['name', '=', 'alain'], ['location', '!=', 'paris'])" | 44 | false | josuebrunel/myql | where | 29,619 | |
LDU_FT/datamachine/twx/get_bytes | LDU_FT | [
"<BEGIN>\n## `_ige`",
"Given a key, given an iv, and message\n do whatever operation asked in the operation field.\n Operation will be checked for: \"decrypt\" and \"encrypt\" strings.\n Returns the message encrypted/decrypted.\n message must be a multiple by 16 bytes (for division in 16 byte bloc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_bytes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_bytes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | set_client_DH_params#f5045f1f nonce:int128 server_nonce:int128 encrypted_data:bytes = Set_client_DH_params_answer | "set_client_DH_params#f5045f1f nonce:int128 server_nonce:int128 encrypted_data:bytes = Set_client_DH_params_answer" | 94 | false | datamachine/twx | get_bytes | 29,620 | |
LDU_FT/edaniszewski/bison/_parse_default | LDU_FT | [
"<BEGIN>\n## `build_defaults`",
"Build a dictionary of default values from the `Scheme`.",
" Returns:\n dict: The default configurations as set by the `Scheme`.",
" Raises:\n errors.InvalidSchemeError: The `Scheme` does not contain\n valid options.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_default API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_default API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Parse the `Schema` for the `Bison` instance to create the set of
default values.
If no defaults are specified in the `Schema`, the default dictionary
will not contain anything. | "Parse the `Schema` for the `Bison` instance to create the set of\n default values.\n\n If no defaults are specified in the `Schema`, the default dictionary\n will not contain anything." | 56 | false | edaniszewski/bison | _parse_default | 29,621 | |
LDU_FT/Frojd/Fabrik/restore_db | LDU_FT | [
"<BEGIN>\n## `backup_db`",
"Backup database and associate it with current release\n<END>",
"<BEGIN>\n## `restore_db`",
"Restores backup back to version, uses current version by default.\n<END>",
"<BEGIN>\n## `init_tasks`",
"Performs basic setup before any of the tasks are run. All tasks needs to\n run ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the restore_db API.
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 restore_db API.
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... | Restores backup back to version, uses current version by default. | "Restores backup back to version, uses current version by default." | 23 | false | Frojd/Fabrik | restore_db | 29,622 | |
LDU_FT/billy-yoyo/RainbowSixSiege-Python-API/get_operator | LDU_FT | [
"<BEGIN>\n## `connect`",
"|coro|",
" Connect to ubisoft, automatically called when needed\n<END>",
"<BEGIN>\n## `get_players`",
"|coro|",
" get a list of players matching the term on that platform,\n exactly one of uid and name must be given, platform must be given,\n this list... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_operator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_operator API.
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... | |coro|
Checks the players stats for this operator, only loading them if they haven't already been found
Parameters
----------
operator : str
the name of the operator
Returns
-------
:class:`Operator`
the operator object found | "|coro|\n\n Checks the players stats for this operator, only loading them if they haven't already been found\n\n Parameters\n ----------\n operator : str\n the name of the operator\n\n Returns\n -------\n :class:`Operator`\n the operator object foun... | 87 | false | billy-yoyo/RainbowSixSiege-Python-API | get_operator | 29,623 | |
LDU_FT/idmillington/layout/render_to_cairo_document | LDU_FT | [
"<BEGIN>\n## `_do_layout`",
"Lays the text out into separate lines and calculates their\n total height.\n<END>",
"<BEGIN>\n## `_calculate_ms_from_base`",
"Calculates the rotated minimum size from the given base minimum\n size.\n<END>",
"<BEGIN>\n## `render`",
"Draws the signature mark.",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_to_cairo_document 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 render_to_cairo_document API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Create and save a document with contents of the given layout manager. | "Create and save a document with contents of the given layout manager." | 91 | false | idmillington/layout | render_to_cairo_document | 29,624 | |
LDU_FT/limpyd/redis-limpyd-jobs/job_delayed | LDU_FT | [
"<BEGIN>\n## `_parse_queues`",
"Parse the given parameter and return a list of queues.\n The parameter must be a list/tuple of strings, or a string with queues\n separated by a comma.\n<END>",
"<BEGIN>\n## `_assert_correct_model`",
"Helper that asserts the model_to_check is the model_reference o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the job_delayed API.
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 job_delayed API.
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... | Called if a job, before trying to run it, has the "delayed" status, or,
after run, if its status was set to "delayed"
If delayed_until was not set, or is invalid, set it to 60sec in the future | "Called if a job, before trying to run it, has the \"delayed\" status, or,\n after run, if its status was set to \"delayed\"\n If delayed_until was not set, or is invalid, set it to 60sec in the future" | 122 | false | limpyd/redis-limpyd-jobs | job_delayed | 29,625 | |
LDU_FT/dbrattli/OSlash/concat | LDU_FT | [
"<BEGIN>\n## `map`",
"r\"\"\"Map a function over the Reader.",
" Haskell:\n fmap f m = Reader $ \\r -> f (runReader m r).\n fmap f g = (\\x -> f (g x))\n<END>",
"<BEGIN>\n## `bind`",
"r\"\"\"Bind a monadic function to the Reader.",
" Haskell:\n Reader: m >>= k = Reader ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the concat API.
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 concat API.
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 ... | mconcat :: [m] -> m
Fold a list using the monoid. For most types, the default
definition for mconcat will be used, but the function is
included in the class definition so that an optimized version
can be provided for specific types. | "mconcat :: [m] -> m\n\n Fold a list using the monoid. For most types, the default\n definition for mconcat will be used, but the function is\n included in the class definition so that an optimized version\n can be provided for specific types." | 76 | false | dbrattli/OSlash | concat | 29,626 | |
LDU_FT/phdata/sdc-api-tool/export_pipeline | LDU_FT | [
"<BEGIN>\n## `define_system_args`",
"Append the parser arguments for the 'system' commands\n<END>",
"<BEGIN>\n## `start_pipeline`",
"Start a running pipeline. The API waits for the pipeline to be fully started.",
" Args:\n url (str): the host url in the form 'http://host:port/'.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export_pipeline API.
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 export_pipeline API.
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... | Export the config and rules for a pipeline.
Args:
url (str): the host url in the form 'http://host:port/'.
pipeline_id (str): the ID of of the exported pipeline.
auth (tuple): a tuple of username, and password.
verify_ssl (bool): whether to verify ssl certificates
... | "Export the config and rules for a pipeline.\n\n Args:\n url (str): the host url in the form 'http://host:port/'.\n pipeline_id (str): the ID of of the exported pipeline.\n auth (tuple): a tuple of username, and password.\n verify_ssl (bool): whether to verify ssl certificate... | 42 | false | phdata/sdc-api-tool | export_pipeline | 29,627 | |
LDU_FT/oisinmulvihill/stomper/connect | LDU_FT | [
"<BEGIN>\n## `unpack_frame`",
"Called to unpack a STOMP message into a dictionary.",
" returned = {\n # STOMP Command:\n 'cmd' : '...',",
" # Headers e.g.\n 'headers' : {\n 'destination' : 'xyz',\n 'message-id' : 'some event',\n :\n et... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | STOMP connect command.
username, password:
These are the needed auth details to connect to the
message server.
After sending this we will receive a CONNECTED
message which will contain our session id. | "STOMP connect command.\n\n username, password:\n These are the needed auth details to connect to the\n message server.\n\n After sending this we will receive a CONNECTED\n message which will contain our session id." | 88 | false | oisinmulvihill/stomper | connect | 29,628 | |
LDU_FT/artefactual-labs/mets-reader-writer/data_to_premis | LDU_FT | [
"<BEGIN>\n## `register_id`",
"Register a manually assigned id as used, to avoid collisions.\n<END>",
"<BEGIN>\n## `parse`",
"Create a new AMDSec by parsing root.",
" :param root: Element or ElementTree to be parsed into an object.\n<END>",
"<BEGIN>\n## `serialize`",
"Serialize this amdSec and all... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the data_to_premis API.
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 data_to_premis API.
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 tuple ``data`` representing a PREMIS entity (object, event or
agent), return an ``lxml.etree._Element`` instance. E.g.,::
>>> p = data_to_premis((
'event',
utils.PREMIS_META,
(
'event_identifier',
('event_identifier_type', 'UUID'),
... | "Given tuple ``data`` representing a PREMIS entity (object, event or\n agent), return an ``lxml.etree._Element`` instance. E.g.,::\n\n >>> p = data_to_premis((\n 'event',\n utils.PREMIS_META,\n (\n 'event_identifier',\n ('event_identifier_type', '... | 179 | false | artefactual-labs/mets-reader-writer | data_to_premis | 29,629 | |
LDU_FT/sendgrid/sendgrid-python/_ensure_append | LDU_FT | [
"<BEGIN>\n## `threshold`",
"Threshold used to determine if your content qualifies as spam.\n On a scale from 1 to 10, with 10 being most strict, or most likely to\n be considered as spam.",
" :param value: Threshold used to determine if your content qualifies as\n spam.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ensure_append API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ensure_append API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Ensure an item is appended to a list or create a new empty list
:param new_items: the item(s) to append
:type new_items: list(obj)
:param append_to: the list on which to append the items
:type append_to: list()
:param index: index of the list on which to append the items
... | "Ensure an item is appended to a list or create a new empty list\n\n :param new_items: the item(s) to append\n :type new_items: list(obj)\n :param append_to: the list on which to append the items\n :type append_to: list()\n :param index: index of the list on which to append the items\... | 229 | false | sendgrid/sendgrid-python | _ensure_append | 29,630 | |
LDU_FT/chairbender/fantasy-football-auction/place_bid | LDU_FT | [
"<BEGIN>\n## `buy`",
"indicate that the player was bought at the specified cost",
" :param Player player: player to buy\n :param int cost: cost to pay",
" :raises InsufficientFundsError: if owner doesn't have the money\n :raises NoValidRosterSlotError: if owner doesn't have a slot ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the place_bid API.
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 place_bid API.
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... | Submits a bid for this tick for current player. This is not a guarantee that it will be accepted!
If other players submit a higher bid this same tick, the bid won't be counted. Try again next tick if it's not
too high!
:param int owner_id: id of owner who is submitting the bid
:param int... | "Submits a bid for this tick for current player. This is not a guarantee that it will be accepted!\n If other players submit a higher bid this same tick, the bid won't be counted. Try again next tick if it's not\n too high!\n :param int owner_id: id of owner who is submitting the bid\n :para... | 15 | false | chairbender/fantasy-football-auction | place_bid | 29,631 | |
LDU_FT/stbraun/fuzzing/step_impl10 | LDU_FT | [
"<BEGIN>\n## `step_impl03`",
"Check assertions.",
" :param context: test context.\n<END>",
"<BEGIN>\n## `step_impl`",
"Check assertions.",
" :param max_modified: maximum expected number of modifications.\n :param context: test context.\n<END>",
"<BEGIN>\n## `step_impl06`",
"Execute fuzzer.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the step_impl10 API.
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 step_impl10 API.
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... | Create application list.
:param context: test context. | "Create application list.\n\n :param context: test context." | 79 | false | stbraun/fuzzing | step_impl10 | 29,632 | |
LDU_FT/sporsh/carnifex/_getUserAuthObject | LDU_FT | [
"<BEGIN>\n## `attr_string`",
"Build a string consisting of 'key=value' substrings for each keyword\n argument in :kwargs:",
" @param filterKeys: list of key names to ignore\n @param filterValues: list of values to ignore (e.g. None will ignore all\n key=value pairs that has that... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _getUserAuthObject 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 _getUserAuthObject 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... | Get a SSHUserAuthClient object to use for authentication
@param user: The username to authenticate for
@param connection: The connection service to start after authentication | "Get a SSHUserAuthClient object to use for authentication\n\n @param user: The username to authenticate for\n @param connection: The connection service to start after authentication" | 61 | false | sporsh/carnifex | _getUserAuthObject | 29,633 | |
LDU_FT/iqbal-lab-org/cluster_vcf_records/to_record_per_alt | LDU_FT | [
"<BEGIN>\n## `get_sample_name_from_vcf_header_lines`",
"Given a list of header lines (made by either\n vcf_file_to_dict() or vcf_file_to_list()),\n returns the sample name. Assumes only one sample\n in the file.\n Raises error if badly formatted #CHROM line.\n Returns None if no #CHROM line found\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_record_per_alt API.
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 to_record_per_alt API.
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 list of vcf_records. One per variant
in the ALT column. Does not change INFO/FORMAT etc columns, which
means that they are now broken | "Returns list of vcf_records. One per variant\n in the ALT column. Does not change INFO/FORMAT etc columns, which\n means that they are now broken" | 59 | false | iqbal-lab-org/cluster_vcf_records | to_record_per_alt | 29,634 | |
LDU_FT/choderalab/pymbar/computeCovarianceOfSums | LDU_FT | [
"<BEGIN>\n## `read_file`",
"Read contents of the specified file.",
" Parameters:\n -----------\n filename : str\n The name of the file to be read",
" Returns:\n lines : list of str\n The contents of the file, split by line\n<END>",
"<BEGIN>\n## `getFreeEnergyDifferences`",
"Get the dim... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the computeCovarianceOfSums 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 computeCovarianceOfSums API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | We wish to calculate the variance of a weighted sum of free energy differences.
for example ``var(\sum a_i df_i)``.
We explicitly lay out the calculations for four variables (where each variable
is a logarithm of a partition function), then generalize.
The uncertainty in the sum of two... | "We wish to calculate the variance of a weighted sum of free energy differences.\n for example ``var(\\sum a_i df_i)``.\n\n We explicitly lay out the calculations for four variables (where each variable\n is a logarithm of a partition function), then generalize.\n\n The uncertainty in the su... | 533 | false | choderalab/pymbar | computeCovarianceOfSums | 29,635 | |
LDU_FT/praekeltfoundation/molo/rotate_content | LDU_FT | [
"<BEGIN>\n## `generate_slug`",
"Returns a new unique slug. Object must provide a SlugField called slug.\n URL friendly slugs are generated using django.template.defaultfilters'\n slugify. Numbers are added to the end of slugs for uniqueness.",
" based on implementation in jmbo.utils\n https://github... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rotate_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rotate_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 ex... | this method gets the parameters that are needed for rotate_latest
and rotate_featured_in_homepage methods, and calls them both | "this method gets the parameters that are needed for rotate_latest\n and rotate_featured_in_homepage methods, and calls them both" | 101 | false | praekeltfoundation/molo | rotate_content | 29,636 | |
LDU_FT/auth0/auth0-python/send_verification_email | LDU_FT | [
"<BEGIN>\n## `authorization_code`",
"Authorization code grant",
" This is the OAuth 2.0 grant that regular web apps utilize in order\n to access an API. Use this endpoint to exchange an Authorization Code\n for a Token.",
" Args:\n grant_type (str): Denotes the flow you'... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_verification_email 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 send_verification_email API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Send verification email.
Send an email to the specified user that asks them to click a link to
verify their email address.
Args:
body (dict): Please see: https://auth0.com/docs/api/v2#!/Jobs/post_verification_email | "Send verification email.\n\n Send an email to the specified user that asks them to click a link to\n verify their email address.\n\n Args:\n body (dict): Please see: https://auth0.com/docs/api/v2#!/Jobs/post_verification_email" | 337 | false | auth0/auth0-python | send_verification_email | 29,637 | |
LDU_FT/lehins/python-wepay/__modify | LDU_FT | [
"<BEGIN>\n## `authorize`",
"Documentation: `/oauth2/authorize\n <https://www.wepay.com/developer/reference/oauth2#authorize>`_.",
" .. note::",
" This is not an API call but an actual uri that you send the user to.\n<END>",
"<BEGIN>\n## `__token`",
"Call documentation: `/oauth2/tok... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __modify API.
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 __modify API.
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... | Call documentation: `/subscription/modify
<https://www.wepay.com/developer/reference/subscription#modify>`_, plus
extra keyword parameters:
:keyword str access_token: will be used instead of instance's
``access_token``, with ``batch_mode=True`` will set `authorization`
... | "Call documentation: `/subscription/modify\n <https://www.wepay.com/developer/reference/subscription#modify>`_, plus\n extra keyword parameters:\n \n :keyword str access_token: will be used instead of instance's\n ``access_token``, with ``batch_mode=True`` will set `authorization`\... | 269 | false | lehins/python-wepay | __modify | 29,638 | |
LDU_FT/dwavesystems/penaltymodel/set_energy | LDU_FT | [
"<BEGIN>\n## `get_penalty_model`",
"Factory function for penaltymodel_maxgap.",
" Args:\n specification (penaltymodel.Specification): The specification\n for the desired penalty model.",
" Returns:\n :class:`penaltymodel.PenaltyModel`: Penalty model with the given specification.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_energy API.
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 set_energy API.
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... | Set the energy of Theta with spins fixed to target_energy.
Args:
spins (dict): Spin values for a subset of the variables in Theta.
target_energy (float): The desired energy for Theta with spins fixed.
Notes:
Add equality constraint to assertions. | "Set the energy of Theta with spins fixed to target_energy.\n\n Args:\n spins (dict): Spin values for a subset of the variables in Theta.\n target_energy (float): The desired energy for Theta with spins fixed.\n\n Notes:\n Add equality constraint to assertions." | 186 | false | dwavesystems/penaltymodel | set_energy | 29,639 | |
LDU_FT/seperman/s3utils/mkdir | LDU_FT | [
"<BEGIN>\n## `connect`",
"Establish the connection. This is done automatically for you.",
" If you lose the connection, you can manually run this to be re-connected.\n<END>",
"<BEGIN>\n## `connect_cloudfront`",
"Connect to Cloud Front. This is done automatically for you when needed.\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mkdir API.
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 mkdir API.
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... | Create a folder on S3.
Examples
--------
>>> s3utils.mkdir("path/to/my_folder")
Making directory: path/to/my_folder | "Create a folder on S3.\n\n Examples\n --------\n >>> s3utils.mkdir(\"path/to/my_folder\")\n Making directory: path/to/my_folder" | 74 | false | seperman/s3utils | mkdir | 29,640 | |
LDU_FT/sebp/scikit-survival/fit | LDU_FT | [
"<BEGIN>\n## `_fit_and_score`",
"Train survival model on given data and return its score on test data\n<END>",
"<BEGIN>\n## `fit`",
"Fit estimator.",
" Parameters\n ----------\n X : array-like, shape = (n_samples, n_features)\n Data matrix",
" y : structured array, s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Determine transformation parameters from data in X.
Subsequent calls to `transform(Y)` compute the pairwise
distance to `X`.
Parameters of the clinical kernel are only updated
if `fit_once` is `False`, otherwise you have to
explicitly call `prepare()` once.
Parameters
... | "Determine transformation parameters from data in X.\n\n Subsequent calls to `transform(Y)` compute the pairwise\n distance to `X`.\n Parameters of the clinical kernel are only updated\n if `fit_once` is `False`, otherwise you have to\n explicitly call `prepare()` once.\n\n Par... | 432 | false | sebp/scikit-survival | fit | 29,641 | |
LDU_FT/255BITS/hyperchamber/measure | LDU_FT | [
"<BEGIN>\n## `conv_cond_concat`",
"Concatenate conditioning vector on feature map axis.\n<END>",
"<BEGIN>\n## `avg_grads`",
"Calculate the average gradient for each shared variable across all towers.",
" Note that this function provides a synchronization point across all towers.",
" Args:\n tower_gra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the measure API.
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 measure API.
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... | Records results on hyperchamber.io. Used when you are done testing a config. | "Records results on hyperchamber.io. Used when you are done testing a config." | 61 | false | 255BITS/hyperchamber | measure | 29,642 | |
LDU_FT/Erotemic/utool/print_difftext | LDU_FT | [
"<BEGIN>\n## `comparison`",
"r\"\"\"\n CommandLine:\n python -m utool.experimental.dynamic_connectivity comparison --profile\n python -m utool.experimental.dynamic_connectivity comparison\n<END>",
"<BEGIN>\n## `join`",
"r\"\"\"\n Args:\n other (?):",
" CommandLine:\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_difftext API.
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 print_difftext API.
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... | Args:
text (str):
CommandLine:
#python -m utool.util_print --test-print_difftext
#autopep8 ingest_data.py --diff | python -m utool.util_print --test-print_difftext | "Args:\n text (str):\n\n CommandLine:\n #python -m utool.util_print --test-print_difftext\n #autopep8 ingest_data.py --diff | python -m utool.util_print --test-print_difftext" | 3,376 | true | Erotemic/utool | print_difftext | 29,643 | |
LDU_FT/philgyford/django-spectator/forward | LDU_FT | [
"<BEGIN>\n## `generate_slug`",
"A copy of spectator.core.models.SluggedModelMixin._generate_slug()\n<END>",
"<BEGIN>\n## `set_slug`",
"Create a slug for each Work already in the DB.\n<END>",
"<BEGIN>\n## `get_kinds_data`",
"Returns a dict of all the data about the kinds, keyed to the kind\n value. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the forward API.
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 forward API.
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... | Copying data from the old `Event.movie` and `Event.play` ForeignKey fields
into the new `Event.movies` and `Event.plays` ManyToManyFields. | "Copying data from the old `Event.movie` and `Event.play` ForeignKey fields\n into the new `Event.movies` and `Event.plays` ManyToManyFields." | 169 | false | philgyford/django-spectator | forward | 29,644 | |
LDU_FT/bslatkin/dpxdt/runs_done | LDU_FT | [
"<BEGIN>\n## `add`",
"Adds a work item to a queue.",
" Args:\n queue_name: Name of the queue to add the work item to.\n payload: Optional. Payload that describes the work to do as a string.\n If not a string and content_type is not provided, then this\n function assumes th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the runs_done API.
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 runs_done API.
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... | Marks a release candidate as having all runs reported. | "Marks a release candidate as having all runs reported." | 180 | false | bslatkin/dpxdt | runs_done | 29,645 | |
LDU_FT/emdb-empiar/ahds/parse_header | LDU_FT | [
"<BEGIN>\n## `detect_format`",
"Detect Amira file format (AmiraMesh or HyperSurface)",
" :param str fn: file name\n :param int format_bytes: number of bytes in which to search for the format [default: 50]\n :param bool verbose: verbose (default) or not\n :return str file_format: either ``AmiraMesh``... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_header API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_header API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Parse the data using the grammar specified in this module
:param str data: delimited data to be parsed for metadata
:return list parsed_data: structured metadata | "Parse the data using the grammar specified in this module\n \n :param str data: delimited data to be parsed for metadata\n :return list parsed_data: structured metadata" | 34 | false | emdb-empiar/ahds | parse_header | 29,646 | |
LDU_FT/thespacedoctor/rockAtlas/_import_astorb_to_database | LDU_FT | [
"<BEGIN>\n## `main`",
"*The main function used when ``find_atlas_exposure_containing_ssobject.py`` is run as a single script from the cl*\n<END>",
"<BEGIN>\n## `_extract_phot_from_exposure`",
"* extract phot from exposure*",
" **Key Arguments:**\n - ``expIdIndex`` -- index of the exposure to extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _import_astorb_to_database API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _import_astorb_to_database API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | *import the astorb orbital elements to database*
**Key Arguments:**
- ``astorbDictList`` -- the astorb database parsed as a list of dictionaries
**Return:**
- None | "*import the astorb orbital elements to database*\n\n **Key Arguments:**\n - ``astorbDictList`` -- the astorb database parsed as a list of dictionaries\n\n **Return:**\n - None" | 125 | false | thespacedoctor/rockAtlas | _import_astorb_to_database | 29,647 | |
LDU_FT/dbrattli/OSlash/map | LDU_FT | [
"<BEGIN>\n## `map`",
"r\"\"\"Map a function over the Reader.",
" Haskell:\n fmap f m = Reader $ \\r -> f (runReader m r).\n fmap f g = (\\x -> f (g x))\n<END>",
"<BEGIN>\n## `bind`",
"r\"\"\"Bind a monadic function to the Reader.",
" Haskell:\n Reader: m >>= k = Reader ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map API.
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 map API.
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... | Map a function func over the Writer value.
Haskell:
fmap f m = Writer $ let (a, w) = runWriter m in (f a, w)
Keyword arguments:
func -- Mapper function: | "Map a function func over the Writer value.\n\n Haskell:\n fmap f m = Writer $ let (a, w) = runWriter m in (f a, w)\n\n Keyword arguments:\n func -- Mapper function:" | 76 | false | dbrattli/OSlash | map | 29,648 | |
LDU_FT/aws/sagemaker-containers/_write_json | LDU_FT | [
"<BEGIN>\n## `_orted_process`",
"Waits maximum of 5 minutes for orted process to start\n<END>",
"<BEGIN>\n## `_can_connect`",
"Checks if the connection to provided ``host`` and ``port`` is possible or not.\n Args:\n host (str): Hostname for the host to check connection.\n port (int):... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _write_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _write_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Writes a serializeable object as a JSON file | "Writes a serializeable object as a JSON file" | 200 | false | aws/sagemaker-containers | _write_json | 29,649 | |
LDU_FT/jazzband/sorl-thumbnail/_find_keys | LDU_FT | [
"<BEGIN>\n## `is_valid_image`",
"Wand library makes sure when opening any image that is fine, when\n the image is corrupted raises an exception.\n<END>",
"<BEGIN>\n## `parse_geometry`",
"Parses a geometry string syntax and returns a (width, height) tuple\n<END>",
"<BEGIN>\n## `parse_crop`",
"Return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_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 extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_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 extrac... | Finds and returns all keys for identity, | "Finds and returns all keys for identity," | 68 | false | jazzband/sorl-thumbnail | _find_keys | 29,650 | |
LDU_FT/sods/ods/total_marks | LDU_FT | [
"<BEGIN>\n## `display_url`",
"Displaying URL in an IPython notebook to allow the user to click and check on information. With thanks to Fernando Perez for putting together the implementation!\n :param target: the url to display.\n :type target: string.\n<END>",
"<BEGIN>\n## `iframe_url`",
"Produce an if... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the total_marks API.
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 total_marks API.
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... | Compute the total mark for the assessment. | "Compute the total mark for the assessment." | 67 | false | sods/ods | total_marks | 29,651 | |
LDU_FT/globality-corp/microcosm/create_object_graph | LDU_FT | [
"<BEGIN>\n## `get_root_path`",
"Attempt to compute a root path for a (hopefully importable) name.",
" Based in part on Flask's `root_path` calculation. See:",
" https://github.com/mitsuhiko/flask/blob/master/flask/helpers.py#L777\n<END>",
"<BEGIN>\n## `zip_dicts`",
"Modified zip through ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_object_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_object_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.
T... | Create a new object graph.
:param name: the name of the microservice
:param debug: is development debugging enabled?
:param testing: is unit testing enabled?
:param loader: the configuration loader to use
:param registry: the registry to use (defaults to the global) | "Create a new object graph.\n\n :param name: the name of the microservice\n :param debug: is development debugging enabled?\n :param testing: is unit testing enabled?\n :param loader: the configuration loader to use\n :param registry: the registry to use (defaults to the global)" | 68 | false | globality-corp/microcosm | create_object_graph | 29,652 | |
LDU_FT/NatLibFi/Skosify/replace_object | LDU_FT | [
"<BEGIN>\n## `read_rdf`",
"Read a list of RDF files and/or RDF graphs. May raise an Exception.\n<END>",
"<BEGIN>\n## `mapping_get`",
"Look up the URI in the given mapping and return the result.",
" Throws KeyError if no matching mapping was found.\n<END>",
"<BEGIN>\n## `mapping_match`",
"Determine wh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_object API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_object API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Replace all occurrences of fromuri as object with touri in the given
model.
If touri=None, will delete all occurrences of fromuri instead.
If touri is a list or tuple of URIRef, all values will be inserted.
If predicate is given, modify only triples with the given predicate. | "Replace all occurrences of fromuri as object with touri in the given\n model.\n\n If touri=None, will delete all occurrences of fromuri instead.\n If touri is a list or tuple of URIRef, all values will be inserted.\n If predicate is given, modify only triples with the given predicate." | 109 | false | NatLibFi/Skosify | replace_object | 29,653 | |
LDU_FT/TheGhouls/oct/output | LDU_FT | [
"<BEGIN>\n## `copy_config`",
"Copy current config file to output directory\n<END>",
"<BEGIN>\n## `run`",
"Start an oct project",
" :param Namespace args: the commande-line arguments\n<END>",
"<BEGIN>\n## `from_template`",
"Create a new oct project from existing template",
" :param Namespace args... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the output API.
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 output API.
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 ... | Write the results output for the given test
:param str results_dir: the directory for the results
:param dict config: the configuration of the test
:param str parents: the parent directory | "Write the results output for the given test\n\n :param str results_dir: the directory for the results\n :param dict config: the configuration of the test\n :param str parents: the parent directory" | 101 | false | TheGhouls/oct | output | 29,654 | |
LDU_FT/jgorset/facepy/parse | LDU_FT | [
"<BEGIN>\n## `parse`",
"Parse a signed request, returning a dictionary describing its payload.\n<END>",
"<BEGIN>\n## `generate`",
"Generate a signed request from this instance.\n<END>",
"<BEGIN>\n## `for_application`",
"Initialize GraphAPI with an OAuth access token for an application.",
" :param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
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 parse API.
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... | Parse a signed request, returning a dictionary describing its payload. | "Parse a signed request, returning a dictionary describing its payload." | 40 | false | jgorset/facepy | parse | 29,655 | |
LDU_FT/anomaly/prestans/_set_serializer_by_mime_type | LDU_FT | [
"<BEGIN>\n## `_setup_serializers`",
"Auto set the return serializer based on Accept headers\n http://docs.webob.org/en/latest/reference.html#header-getters",
" Intersection of requested types and supported types tells us if we\n can in fact respond in one of the request formats\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_serializer_by_mime_type 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 _set_serializer_by_mime_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | :param mime_type:
:return:
used by content_type_set to set get a reference to the appropriate serializer | ":param mime_type:\n :return:\n\n used by content_type_set to set get a reference to the appropriate serializer" | 99 | false | anomaly/prestans | _set_serializer_by_mime_type | 29,656 | |
LDU_FT/MartinThoma/geocodertools/get_cartesian | LDU_FT | [
"<BEGIN>\n## `build_db`",
"Get a structured dataset out of\n http://download.geonames.org/export/dump/cities1000.txt\n<END>",
"<BEGIN>\n## `get_cartesian`",
"the x-axis goes through long,lat (0,0), so longitude 0 meets the equator;\n the y-axis goes through (0,90);\n and the z-axis goes through th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cartesian API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cartesian API.
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... | the x-axis goes through long,lat (0,0), so longitude 0 meets the equator;
the y-axis goes through (0,90);
and the z-axis goes through the poles.
In other words:
* (0, 0, 0) is the center of earth
* (0, 0, R) is the north pole
* (0, 0, -R) is the south pole
* (R, 0, 0) is somewhere in africa... | "the x-axis goes through long,lat (0,0), so longitude 0 meets the equator;\n the y-axis goes through (0,90);\n and the z-axis goes through the poles.\n\n In other words:\n * (0, 0, 0) is the center of earth\n * (0, 0, R) is the north pole\n * (0, 0, -R) is the south pole\n * (R, 0, 0) is somewhere ... | 12 | false | MartinThoma/geocodertools | get_cartesian | 29,657 | |
LDU_FT/rq/django-rq/get_worker | LDU_FT | [
"<BEGIN>\n## `handle`",
"Queues the function given with the first argument with the\n parameters given with the rest of the argument list.\n<END>",
"<BEGIN>\n## `get_worker_class`",
"Return worker class from RQ settings, otherwise return Worker.\n If `worker_class` is not None, it is used as an over... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_worker API.
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_worker API.
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... | Returns a RQ worker for all queues or specified ones. | "Returns a RQ worker for all queues or specified ones." | 33 | false | rq/django-rq | get_worker | 29,658 | |
LDU_FT/rwl/pylon/_write_data | LDU_FT | [
"<BEGIN>\n## `performAction`",
"perform an action on the world that changes it's internal state\n (maybe stochastically).",
" All you have to do is pull one of the arm and receive a payout. Each\n arm has a distribution of different payouts that are delivered with\n different probabi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _write_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 _write_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... | Writes case data to file in ReStructuredText format. | "Writes case data to file in ReStructuredText format." | 527 | false | rwl/pylon | _write_data | 29,659 | |
LDU_FT/Parisson/TimeSide/implementations | LDU_FT | [
"<BEGIN>\n## `JSON_NumpyArrayEncoder`",
"Define Specialize JSON encoder for numpy array\n<END>",
"<BEGIN>\n## `to_hdf5`",
"Save a dictionnary-like object inside a h5 file group\n<END>",
"<BEGIN>\n## `render`",
"Render a matplotlib figure from the analyzer result",
" Return the figure, use fig.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the implementations API.
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 implementations API.
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 the components implementing interface, and if recurse, any of
the descendants of interface. If abstract is True, also return the
abstract implementations. | "Returns the components implementing interface, and if recurse, any of\n the descendants of interface. If abstract is True, also return the\n abstract implementations." | 88 | false | Parisson/TimeSide | implementations | 29,660 | |
LDU_FT/pulumi/pulumi/archive | LDU_FT | [
"<BEGIN>\n## `do_rpc`",
"Wraps a given RPC function by producing an awaitable function suitable to be run in the asyncio\n event loop. The wrapped function catches all unhandled exceptions and reports them to the exception\n future, which consumers can await upon to listen for unhandled exceptions."... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the archive API.
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 archive API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Decorator to annotate the Archive class. Registers the decorated class
as the Archive known type. | "Decorator to annotate the Archive class. Registers the decorated class\n as the Archive known type." | 98 | false | pulumi/pulumi | archive | 29,661 | |
LDU_FT/tgbugs/pyontutils/sortProperties | LDU_FT | [
"<BEGIN>\n## `build_transgenic_lines`",
"init class | \"transgenic_line_source_name\":\"stock_number\" a Class\n add superClass | rdfs:subClassOf ilxtr:transgenicLine\n add *order* | ilxtr:useObjectProperty ilxtr:<order>\n add name | rdfs:label \"name\"\n add def ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sortProperties API.
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 sortProperties API.
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... | Take a hash from predicate uris to lists of values.
Sort the lists of values. Return a sorted list of properties. | "Take a hash from predicate uris to lists of values.\n Sort the lists of values. Return a sorted list of properties." | 301 | false | tgbugs/pyontutils | sortProperties | 29,662 | |
LDU_FT/squidsoup/muddle.py/duplicate | LDU_FT | [
"<BEGIN>\n## `valid_options`",
"Checks that kwargs are valid API options\n<END>",
"<BEGIN>\n## `create`",
"Create a new course",
" :param string fullname: The course's fullname\n :param string shortname: The course's shortname\n :param int category_id: The course's category",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the duplicate API.
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 duplicate API.
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... | Duplicates an existing course with options.
Note: Can be very slow running.
:param string fullname: The new course's full name
:param string shortname: The new course's short name
:param string categoryid: Category new course should be created under
:keyword bool visible: Defau... | "Duplicates an existing course with options.\n Note: Can be very slow running.\n\n :param string fullname: The new course's full name\n :param string shortname: The new course's short name\n :param string categoryid: Category new course should be created under\n\n :keyword bool visibl... | 44 | false | squidsoup/muddle.py | duplicate | 29,663 | |
LDU_FT/ccxt/ccxt/fetch | LDU_FT | [
"<BEGIN>\n## `fetch`",
"Perform a HTTP request and return decoded JSON data\n<END>",
"<BEGIN>\n## `fetch2`",
"A better wrapper over request for deferred signing\n<END>",
"<BEGIN>\n## `request`",
"Exchange.request is the entry point for all generated methods\n<END>",
"<BEGIN>\n## `find_broadly_matched_ke... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Perform a HTTP request and return decoded JSON data | "Perform a HTTP request and return decoded JSON data" | 18 | false | ccxt/ccxt | fetch | 29,664 | |
LDU_FT/mikusjelly/apkutils/write | LDU_FT | [
"<BEGIN>\n## `skipNullPadding`",
"不断地寻找 CHUNK_STRINGPOOL_TYPE,目前暂时没有遇到这种样本。\n<END>",
"<BEGIN>\n## `is_zipfile`",
"Quickly see if a file is a ZIP file by checking the magic number.",
" The filename argument may be a file or file-like object too.\n<END>",
"<BEGIN>\n## `readline`",
"Read and return a li... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Put the bytes from filename into the archive under the name
arcname. | "Put the bytes from filename into the archive under the name\n arcname." | 48 | false | mikusjelly/apkutils | write | 29,665 | |
LDU_FT/hsdp/python-dropsonde/clone_source_dir | LDU_FT | [
"<BEGIN>\n## `proto_refactor`",
"This method refactors a Protobuf file to import from a namespace\n that will map to the desired python package structure. It also ensures\n that the syntax is set to \"proto2\", since protoc complains without it.",
" Args:\n proto_filename (str): the protobuf fil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clone_source_dir API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clone_source_dir API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Copies the source Protobuf files into a build directory.
Args:
source_dir (str): source directory of the Protobuf files
dest_dir (str): destination directory of the Protobuf files | "Copies the source Protobuf files into a build directory.\n\n Args:\n source_dir (str): source directory of the Protobuf files\n dest_dir (str): destination directory of the Protobuf files" | 16 | false | hsdp/python-dropsonde | clone_source_dir | 29,666 | |
LDU_FT/insomnia-lab/libreant/insert_volume | LDU_FT | [
"<BEGIN>\n## `get_def_conf`",
"return default configurations as simple dict\n<END>",
"<BEGIN>\n## `_load_paths`",
"Goes recursevly through the given list of paths\n in order to find and pass all preset files to ```_load_preset()```\n<END>",
"<BEGIN>\n## `_load_preset`",
"load, validate and store a ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert_volume API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert_volume API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Insert a new volume
Returns the ID of the added volume
`metadata` must be a dict containg metadata of the volume::
{
"_language" : "it", # language of the metadata
"key1" : "value1", # attribute
"key2" : "value2",
...
... | "Insert a new volume\n\n Returns the ID of the added volume\n\n `metadata` must be a dict containg metadata of the volume::\n\n {\n \"_language\" : \"it\", # language of the metadata\n \"key1\" : \"value1\", # attribute\n \"key2\" : \"value2\",\n ... | 150 | false | insomnia-lab/libreant | insert_volume | 29,667 | |
LDU_FT/pivotal-energy-solutions/django-datatable-view/get_active_ajax_datatable | LDU_FT | [
"<BEGIN>\n## `resolve_orm_path`",
"Follows the queryset-style query path of ``orm_path`` starting from ``model`` class. If the\n path ends up referring to a bad field name, ``django.db.models.fields.FieldDoesNotExist`` will\n be raised.\n<END>",
"<BEGIN>\n## `get_model_at_related_field`",
"Looks up ``a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_active_ajax_datatable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_active_ajax_datatable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Returns a single datatable according to the hint GET variable from an AJAX request. | "Returns a single datatable according to the hint GET variable from an AJAX request." | 128 | false | pivotal-energy-solutions/django-datatable-view | get_active_ajax_datatable | 29,668 | |
LDU_FT/scopus-api/scopus/parse_date_created | LDU_FT | [
"<BEGIN>\n## `detect_id_type`",
"Method that tries to infer the type of abstract ID.",
" Parameters\n ----------\n sid : str\n The ID of an abstract on Scopus.",
" Raises\n ------\n ValueError\n If the ID type cannot be inferred.",
" Notes\n -----\n PII usually has 1... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_date_created 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_date_created 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... | Helper function to parse date-created from profile. | "Helper function to parse date-created from profile." | 174 | false | scopus-api/scopus | parse_date_created | 29,669 | |
LDU_FT/ContextLab/quail/_analyze_chunk | LDU_FT | [
"<BEGIN>\n## `analyze`",
"General analysis function that groups data by subject/list number and performs analysis.",
" Parameters\n ----------\n egg : Egg data object\n The data to be analyzed",
" subjgroup : list of strings or ints\n String/int variables indicating how to group over... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _analyze_chunk API.
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 _analyze_chunk API.
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... | Private function that groups data by subject/list number and performs
analysis for a chunk of data.
Parameters
----------
data : Egg data object
The data to be analyzed
subjgroup : list of strings or ints
String/int variables indicating how to group over subjects. Must be
... | "Private function that groups data by subject/list number and performs\n analysis for a chunk of data.\n\n Parameters\n ----------\n data : Egg data object\n The data to be analyzed\n\n subjgroup : list of strings or ints\n String/int variables indicating how to group over subjects. Must b... | 201 | false | ContextLab/quail | _analyze_chunk | 29,670 | |
LDU_FT/wuher/devil/_finalize_response | LDU_FT | [
"<BEGIN>\n## `create`",
"Create object from the given data.",
" The given data may or may not have been validated prior to calling\n this function. This function will try its best in creating the object.\n If the resulting object cannot be produced, raises ``ValidationError``.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _finalize_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _finalize_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.
Th... | Convert the ``Response`` object into django's ``HttpResponse``
:return: django's ``HttpResponse`` | "Convert the ``Response`` object into django's ``HttpResponse``\n\n :return: django's ``HttpResponse``" | 193 | false | wuher/devil | _finalize_response | 29,671 | |
LDU_FT/firstprayer/monsql/set_foreign_key_check | LDU_FT | [
"<BEGIN>\n## `MonSQL`",
"Initialize and return a Database instance\n<END>",
"<BEGIN>\n## `build_select`",
"Given a Query obj, return the corresponding sql\n<END>",
"<BEGIN>\n## `build_insert`",
"Given the table_name and the data, return the sql to insert the data\n<END>",
"<BEGIN>\n## `set_foreign_key_c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_foreign_key_check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_foreign_key_check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Enable/disable foreign key check. Disabling this is especially useful when
deleting from a table with foreign key pointing to itself | "Enable/disable foreign key check. Disabling this is especially useful when\n deleting from a table with foreign key pointing to itself" | 76 | false | firstprayer/monsql | set_foreign_key_check | 29,672 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.