sequence
stringlengths
186
3.94k
docstring
stringlengths
11
171
module function_definition identifier parameters identifier block expression_statement assignment identifier binary_operator attribute identifier identifier attribute identifier identifier expression_statement call identifier argument_list call identifier argument_list string string_start string_content string_end keyw...
Prepare a Flash message and redirect to USER_UNAUTHORIZED_ENDPOINT
module function_definition identifier parameters identifier identifier identifier default_parameter identifier none block if_statement comparison_operator identifier none block expression_statement assignment identifier identifier expression_statement assignment pattern_list identifier identifier expression_list call a...
Create a reference from fromnode to tonode
module function_definition identifier parameters identifier identifier identifier block assert_statement comparison_operator identifier integer assert_statement call identifier argument_list identifier identifier expression_statement assignment identifier call attribute identifier identifier argument_list string string...
Modify the For loop to evaluate to None
module function_definition identifier parameters identifier block try_statement block expression_statement assignment identifier call identifier argument_list identifier if_statement not_operator identifier block with_statement with_clause with_item as_pattern call identifier argument_list identifier string string_star...
Checks if file exists, if fails, tries to create file
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list none expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list identifier expression_statement assignment identifier list_co...
Return a list of URLs that map to this resource.
module function_definition identifier parameters identifier identifier block expression_statement call attribute attribute identifier identifier identifier argument_list binary_operator string string_start string_content string_end call identifier argument_list identifier expression_statement call attribute identifier ...
Process incoming status updates from the service.
module function_definition identifier parameters identifier identifier identifier block expression_statement call attribute identifier identifier argument_list expression_statement assignment identifier call attribute identifier identifier argument_list if_statement identifier block if_statement comparison_operator att...
Fork a new subprocess to process the request.
module function_definition identifier parameters block expression_statement assignment identifier binary_operator identifier string string_start string_content string_end expression_statement assignment identifier dictionary expression_statement assignment identifier call identifier argument_list identifier expression_...
Sorts the keys and members
module function_definition identifier parameters identifier block return_statement dictionary pair string string_start string_content string_end attribute identifier identifier pair string string_start string_content string_end attribute identifier identifier pair string string_start string_content string_end attribute...
Attribute values to dict
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call identifier argument_list identifier identifier expression_statement call attribute identifier identifier argument_list call attribute concatenated_string string string_start string_content string...
Display the difference between modules in a file and imported modules.
module function_definition identifier parameters identifier dictionary_splat_pattern identifier block expression_statement assignment identifier call identifier argument_list keyword_argument identifier attribute identifier identifier keyword_argument identifier attribute identifier identifier expression_statement call...
Add a new role
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list string string_start string_content string_end string string_start string_content string_end string string_start string_content string_end expression_statement assignment attribute i...
Create action for save scenario dialog.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call identifier argument_list identifier if_statement identifier block expression_statement assignment attribute identifier identifier call identifier argument_list identifier else_clause block expres...
Line edit's text has changed
module function_definition identifier parameters identifier block expression_statement call attribute attribute identifier identifier identifier argument_list dictionary pair string string_start string_content string_end binary_operator attribute attribute identifier identifier identifier integer pair string string_sta...
Increment current term, vote for herself & send vote requests
module function_definition identifier parameters identifier list_splat_pattern identifier block expression_statement assignment identifier comparison_operator call identifier argument_list identifier integer return_statement conditional_expression call attribute identifier identifier argument_list attribute identifier ...
return the list of cycles contained if the dataset
module function_definition identifier parameters identifier block expression_statement string string_start string_content string_end if_statement call identifier argument_list identifier identifier block expression_statement assignment identifier call identifier argument_list identifier for_statement identifier identif...
Guess the sequence type from the file's contents
module function_definition identifier parameters identifier block expression_statement assignment identifier list string string_start string_content string_end string string_start string_content string_end string string_start string_content string_end string string_start string_content string_end string string_start st...
Prints out the event log for a user
module function_definition identifier parameters identifier block expression_statement assignment identifier list list string string_start string_content string_end string string_start string_content string_end list string string_start string_content string_end string string_start string_content string_end list string ...
Add default or empty values for required resources referenced in CWL
module function_definition identifier parameters identifier block expression_statement call attribute identifier identifier argument_list identifier expression_statement assignment identifier call identifier argument_list identifier if_statement comparison_operator identifier none block return_statement unary_operator ...
Train the model in ``model_folder``.
module function_definition identifier parameters type identifier block return_statement call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end call attribute attribute identifier identifier identifier argument_list call attribute attribute identifier identi...
Return the path to the crates cache folder
module function_definition identifier parameters identifier identifier block expression_statement assignment attribute identifier identifier identifier if_statement comparison_operator attribute attribute identifier identifier identifier none block expression_statement call attribute identifier identifier argument_list
Set the name of the route which will be added to outgoing boxes.
module function_definition identifier parameters identifier default_parameter identifier integer default_parameter identifier integer default_parameter identifier integer default_parameter identifier integer dictionary_splat_pattern identifier block return_statement call attribute identifier identifier argument_list tu...
Crop the border from the layout
module function_definition identifier parameters identifier block try_statement block for_statement identifier call attribute call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end identifier argument_list string string_start string_content string_end block...
Iterate over the scheduler collections and apply any actions found
module function_definition identifier parameters identifier dictionary_splat_pattern identifier block if_statement not_operator attribute identifier identifier block raise_statement call identifier argument_list binary_operator string string_start string_content string_end attribute identifier identifier expression_sta...
Return an iterator for the given items.
module function_definition identifier parameters identifier default_parameter identifier none block for_statement identifier call attribute attribute identifier identifier identifier argument_list keyword_argument identifier identifier block expression_statement call attribute identifier identifier argument_list identi...
self.runner must be present
module function_definition identifier parameters identifier default_parameter identifier none default_parameter identifier none block if_statement not_operator identifier block expression_statement assignment identifier call attribute identifier identifier argument_list for_statement pattern_list identifier identifier ...
Returns post JSON representation
module function_definition identifier parameters identifier block expression_statement call attribute attribute identifier identifier identifier argument_list expression_statement call attribute attribute identifier identifier identifier argument_list expression_statement call attribute attribute identifier identifier ...
Clear the mice and repertoire caches.
module function_definition identifier parameters identifier block expression_statement assignment identifier list for_statement identifier identifier block if_statement parenthesized_expression boolean_operator comparison_operator attribute identifier identifier string string_start string_content string_end comparison_...
Given a spacy document return the verbs that have subjects
module function_definition identifier parameters identifier block return_statement call identifier argument_list attribute attribute identifier identifier identifier attribute attribute identifier identifier identifier attribute attribute identifier identifier identifier attribute attribute identifier identifier identi...
The camera's USB information.
module function_definition identifier parameters identifier identifier identifier identifier block expression_statement call identifier argument_list identifier identifier identifier subscript identifier string string_start string_content string_end dictionary pair string string_start string_content string_end string s...
Domain suspend events handler
module function_definition identifier parameters identifier identifier default_parameter identifier false block expression_statement assignment identifier dictionary pair string string_start string_content string_end string string_start string_content string_end pair string string_start string_content string_end attrib...
Download the file represented by the download_key.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list identifier return_statement call attribute identifier identifier argument_list identifier
Given a context and _Bool, return a new Handle to represent the _Bool.
module function_definition identifier parameters identifier block if_statement call attribute call identifier argument_list attribute identifier identifier identifier argument_list block return_statement attribute identifier identifier else_clause block return_statement call identifier argument_list binary_operator att...
Return the full path to the file.
module function_definition identifier parameters identifier block expression_statement assignment identifier string string_start string_content string_end expression_statement assignment pattern_list identifier identifier identifier expression_list string string_start string_end string string_start string_end string st...
Returns a URI for the given filesystem path.
module function_definition identifier parameters identifier identifier identifier identifier default_parameter identifier dictionary block expression_statement assignment identifier subscript identifier integer try_statement block return_statement call identifier argument_list subscript identifier identifier identifier...
Cache decorator used for inference tips
module function_definition identifier parameters identifier identifier block with_statement with_clause with_item as_pattern call identifier argument_list identifier string string_start string_content string_end as_pattern_target identifier block expression_statement call attribute identifier identifier argument_list c...
Save the metadata as json
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list string string_start string_content string_end string string_start string_content string_end identifier identifier return_statement call id...
Delete a consumer group
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier attribute identifier identifier expression_statement assignment identifier attribute attribute identifier identifier identifier expression_statement assignment identifier none expression_statement ass...
The innermost part - report errors by exceptions
module function_definition identifier parameters identifier identifier default_parameter identifier none default_parameter identifier none default_parameter identifier none block if_statement attribute attribute identifier identifier identifier block return_statement true if_statement comparison_operator identifier str...
Return ``True`` if the current user has permission on the page.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier expression_statement assignment identifier list_comprehension list for_in_clause identifier call identifier argument_list call ...
Sum counts in each frequency bin over 1f scans.
module function_definition identifier parameters identifier block try_statement block with_statement with_clause with_item as_pattern call identifier argument_list identifier as_pattern_target identifier block return_statement call attribute attribute identifier identifier identifier argument_list call attribute identi...
Deserialize a SubjectInfo XML file to a PyXB object.
module function_definition identifier parameters identifier identifier block if_statement comparison_operator identifier attribute identifier identifier block return_statement expression_statement call attribute attribute identifier identifier identifier argument_list identifier expression_statement call attribute attr...
Remove reaction from model
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement assignment identifier call identif...
Heuristic to determine whether the treebank has blinded texts or not
module function_definition identifier parameters identifier identifier block if_statement parenthesized_expression boolean_operator boolean_operator comparison_operator identifier integer comparison_operator identifier subscript attribute identifier identifier string string_start string_content string_end binary_operat...
Set private ``_window_size`` and reset ``_block_matcher``.
module function_definition identifier parameters identifier identifier identifier default_parameter identifier integer block expression_statement assignment identifier call attribute identifier identifier argument_list string string_start string_content string_end expression_statement assignment identifier call attribu...
Create an output plot for the given PDF in the images directory.
module function_definition identifier parameters identifier identifier block if_statement attribute identifier identifier block expression_statement assignment identifier dictionary expression_statement call attribute identifier identifier argument_list attribute identifier identifier expression_statement call attribut...
Returns the `lazily` created template namespace.
module function_definition identifier parameters identifier block expression_statement assignment identifier attribute identifier identifier expression_statement call identifier argument_list string string_start string_content string_end call identifier argument_list dictionary_splat attribute identifier identifier exp...
Register the TagProcessors that are bundled with doxytag2zealdb.
module function_definition identifier parameters identifier identifier block if_statement comparison_operator identifier attribute identifier identifier block expression_statement assignment pattern_list identifier identifier subscript attribute identifier identifier identifier if_statement call identifier argument_lis...
Copy the features from this source
module function_definition identifier parameters identifier identifier list_splat_pattern identifier dictionary_splat_pattern identifier block expression_statement assignment identifier call identifier argument_list expression_statement assignment identifier lambda lambda_parameters identifier default_parameter identif...
Render a GPXModel as a single JSON structure.
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list identifier string string_start string_content string_end call attribute identifier identifier argument_list return_statement expression_list attribute attribute identifier identifie...
Return a cache region plus key.
module function_definition identifier parameters identifier identifier default_parameter identifier integer default_parameter identifier integer default_parameter identifier none block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list keyword_argument ide...
Random exponentiated Weibull variates.
module function_definition identifier parameters identifier identifier identifier identifier block expression_statement call attribute identifier identifier argument_list string string_start string_content string_end expression_statement assignment identifier call attribute identifier identifier argument_list identifie...
Exports databases and druid clusters to a dictionary
module function_definition identifier parameters identifier default_parameter identifier none default_parameter identifier none block try_statement block expression_statement assignment identifier subscript call attribute identifier identifier argument_list keyword_argument identifier identifier keyword_argument identi...
Return True if someone known has been seen
module function_definition identifier parameters identifier identifier block expression_statement call attribute call identifier argument_list identifier string string_start string_content string_end keyword_argument identifier string string_start string_content string_end identifier argument_list call attribute identi...
save the topic page definition to a file
module function_definition identifier parameters identifier identifier block assert_statement call identifier argument_list identifier identifier expression_statement call attribute attribute identifier identifier identifier argument_list identifier expression_statement call attribute attribute identifier identifier id...
Remove the term from this term's children.
module function_definition identifier parameters identifier default_parameter identifier none default_parameter identifier true dictionary_splat_pattern identifier block return_statement call attribute call identifier argument_list identifier identifier identifier argument_list keyword_argument identifier identifier ke...
IOS-XR requires you not exit from configuration mode.
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list string string_start string_content string_end identifier if_statement comparison_operator identifier identifier block raise_statement call identifier argument_list call attribute co...
Enforces a sane UTF-8 encoding for the database.
module function_definition identifier parameters identifier identifier identifier block for_statement identifier call identifier argument_list attribute identifier identifier block expression_statement assignment identifier subscript identifier identifier if_statement comparison_operator attribute identifier identifier...
Generator that yields `KeyPress` objects from the input records.
module function_definition identifier parameters identifier identifier block if_statement boolean_operator comparison_operator attribute identifier identifier integer call attribute identifier identifier argument_list identifier attribute identifier identifier block return_statement attribute identifier identifier if_s...
Return a float dtype that can losslessly represent `dtype` values.
module function_definition identifier parameters default_parameter identifier integer block expression_statement assignment identifier binary_operator attribute identifier identifier attribute identifier identifier return_statement call attribute string string_start string_end identifier argument_list call attribute id...
Generate a random string
module function_definition identifier parameters identifier identifier block function_definition identifier parameters identifier block expression_statement assignment identifier binary_operator string string_start string_content string_end call attribute string string_start string_content string_end identifier argumen...
Replace phrases with single token, mapping defined in replace_dict
module function_definition identifier parameters identifier default_parameter identifier none default_parameter identifier string string_start string_content string_end block expression_statement assignment identifier dictionary expression_statement assignment identifier assignment identifier none for_statement identif...
Return a dictionary of matching lines.
module function_definition identifier parameters identifier block expression_statement assignment identifier string string_start string_end if_statement attribute identifier identifier block expression_statement assignment identifier attribute identifier identifier expression_statement assignment attribute identifier i...
Tokenize a Fortran string.
module function_definition identifier parameters identifier block expression_statement assignment tuple_pattern identifier identifier call attribute identifier identifier argument_list string string_start string_content string_end if_statement comparison_operator string string_start string_content string_end identifier...
Detect the presence of the dot utility to make a png graph.
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list tuple attribute identifier identifier integer attribute identifier identifier integer identifier for_statement identifier call identifier argument_list attribut...
Compute the hessian of the energy
module function_definition identifier parameters identifier identifier identifier identifier identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier identifier try_statement block with_statement with_clause with_item as_pattern call attribute ...
Extract a GZIP archive with the gzip Python module.
module function_definition identifier parameters identifier default_parameter identifier none block expression_statement assignment identifier call attribute identifier identifier argument_list if_statement comparison_operator identifier none block expression_statement call attribute identifier identifier argument_list...
Match the SMEFT Warsaw basis onto the WET JMS basis.
module function_definition identifier parameters identifier default_parameter identifier none block if_statement identifier block return_statement dictionary pair string string_start string_content string_end identifier pair string string_start string_content string_end call attribute identifier identifier argument_lis...
Convert a file to attachment
module function_definition identifier parameters identifier block expression_statement call attribute identifier identifier argument_list string string_start string_content string_end for_statement pattern_list identifier identifier call identifier argument_list attribute identifier identifier block expression_statemen...
Print all extracted INDRA Statements.
module function_definition identifier parameters identifier typed_parameter identifier type identifier block expression_statement call attribute identifier identifier argument_list string string_start string_content string_end keyword_argument identifier true keyword_argument identifier call identifier argument_list at...
Flask.errorhandler when an exception wasn't correctly handled
module function_definition identifier parameters identifier default_parameter identifier false block if_statement not_operator call attribute identifier identifier argument_list identifier block return_statement integer expression_statement assignment identifier integer for_statement pattern_list identifier identifier ...
Returns the number of files under the given directory path.
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list string string_start string_content string_end string string_start string_end expression_statement assignment identifier call attribute identifier identifier arg...
Makes a small text amenable to being used in a filename.
module function_definition identifier parameters identifier identifier identifier identifier identifier block assert_statement comparison_operator identifier list string string_start string_content string_end string string_start string_content string_end string string_start string_content string_end string string_start...
Create a readable version string from version_info tuple components.
module function_definition identifier parameters identifier identifier default_parameter identifier string string_start string_content string_end default_parameter identifier string string_start string_content string_end block with_statement with_clause with_item as_pattern call attribute identifier identifier argument...
json array to file, canonical json format
module function_definition identifier parameters identifier block if_statement comparison_operator call identifier argument_list attribute identifier identifier integer block expression_statement assignment identifier call attribute identifier identifier argument_list list subscript attribute identifier identifier inte...
Convert all used annotation fields into bytes to write
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier list for_statement identifier identifier block expression_statement assignment identifier call identifier argument_list identifier if_statement call attribute identifier identifier argument_list ident...
Adds whitespace around any CJK character.
module function_definition identifier parameters identifier identifier block return_statement parenthesized_expression boolean_operator boolean_operator parenthesized_expression comparison_operator string string_start string_content string_end identifier parenthesized_expression comparison_operator attribute identifier...
Returns True if y is explicitly defined in kwargs
module function_definition identifier parameters identifier block if_statement comparison_operator identifier identifier block expression_statement assignment identifier call attribute string string_start string_content string_end identifier argument_list identifier raise_statement call identifier argument_list binary_...
checks rotation parameter if illegal value raises exception
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier list for_statement identifier identifier block if_statement parenthesized_expression comparison_operator identifier attribute identifier identifier block expression_statement call attribute...
Prune any hashes not in source resource or change list.
module function_definition identifier parameters identifier identifier block expression_statement call identifier argument_list identifier for_statement identifier attribute identifier identifier block with_statement with_clause with_item as_pattern call identifier argument_list call attribute attribute identifier iden...
Add a process to the cgroups represented by this instance.
module function_definition identifier parameters identifier identifier block return_statement boolean_operator boolean_operator comparison_operator attribute identifier identifier attribute identifier identifier line_continuation parenthesized_expression boolean_operator comparison_operator attribute identifier identif...
Returns true if the question is answered by the record
module function_definition identifier parameters identifier typed_parameter identifier type attribute identifier identifier type identifier block expression_statement assignment identifier list_comprehension call attribute identifier identifier argument_list identifier for_in_clause identifier attribute identifier iden...
Recursively visit the operands and apply the operation on them.
module function_definition identifier parameters identifier identifier default_parameter identifier integer block expression_statement assignment identifier call identifier argument_list call attribute identifier identifier argument_list list_splat list_comprehension list_comprehension identifier for_in_clause identifi...
Quick and dirty tokenizer for completion suggester
module function_definition identifier parameters identifier block return_statement call attribute call attribute string string_start string_end identifier generator_expression call attribute call identifier argument_list identifier argument_list binary_operator attribute identifier identifier attribute identifier ident...
Generate a string for password creation.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier dictionary pair attribute identifier identifier subscript identifier attribute identifier identifier pair attribute identifier identifier subscript identifier attribute identifier identifier if_statem...
Validates headers data and creates the config objects
module function_definition identifier parameters identifier block expression_statement call attribute identifier identifier argument_list binary_operator string string_start string_content string_end attribute attribute identifier identifier identifier expression_statement assignment identifier list string string_start...
Capture Heroku database backup.
module function_definition identifier parameters identifier block expression_statement assignment identifier subscript subscript attribute identifier identifier attribute identifier identifier string string_start string_content string_end return_statement call identifier generator_expression binary_operator identifier ...
Returns color rgb tuple of bottom line
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier subscript identifier call attribute identifier identifier argument_list return_statement conditional_expression call attribute identifier identifier argument_list identifier comparison_operator attrib...
Slices the supplied matrix and applies any transform bound to this window
module function_definition identifier parameters identifier identifier identifier block global_statement identifier if_statement not_operator comparison_operator identifier identifier block expression_statement assignment subscript identifier identifier binary_operator list identifier identifier return_statement identi...
average over N points
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list integer expression_statement assignment attribute identifier identifier call identifier argument_list keyword_argument identifier identifier dictionary_splat id...
Load root directory, which has a cid of 0
module function_definition identifier parameters identifier block expression_statement call attribute identifier identifier argument_list expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list attribute attribute identifier identifier identifier expression_sta...
Removes an rnaQuantificationSet from this repo
module function_definition identifier parameters default_parameter identifier false block global_statement identifier if_statement comparison_operator identifier none block if_statement identifier block expression_statement call attribute identifier identifier argument_list string string_start string_content string_end...
Get the raw encoded image data, downloading it if necessary.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier subscript attribute identifier identifier string string_start string_content string_end if_statement not_operator attribute identifier identifier block expression_statement call attribute identifier i...
Stores stat entry in the flow's state.
module function_definition identifier parameters identifier default_parameter identifier none default_parameter identifier none default_parameter identifier none block if_statement identifier block if_statement call identifier argument_list identifier attribute identifier identifier block expression_statement assignmen...
Get a boto connection to SQS.
module function_definition identifier parameters default_parameter identifier none block if_statement attribute identifier identifier block if_statement identifier block expression_statement call identifier argument_list string string_start string_content string_end identifier else_clause block expression_statement cal...
Close log file and restore system defaults.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call identifier argument_list attribute identifier identifier expression_statement call attribute identifier identifier argument_list attribute identifier identifier expression_statement call attribut...
Append line to the end
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute call attribute call identifier argument_list attribute identifier identifier string string_start string_content string_end identifier argument_list identifier argument_list for_statement identifie...
For each state in states file build url and download file
module function_definition identifier parameters identifier block expression_statement call attribute identifier identifier argument_list string string_start string_content string_end expression_statement assignment pattern_list identifier identifier call identifier argument_list identifier expression_statement assignm...
We previously used more groups for the import statements and named each group.
module function_definition identifier parameters identifier block with_statement with_clause with_item call identifier argument_list identifier string string_start string_content string_end block expression_statement assignment identifier call attribute identifier identifier argument_list if_statement comparison_operat...
Returns a tuple of Fields for captured fields which need additional treatment.
module function_definition identifier parameters default_parameter identifier subscript attribute identifier identifier slice integer default_parameter identifier true default_parameter identifier attribute identifier identifier block expression_statement assignment identifier call attribute identifier identifier argum...
Get a publication URL via the command line using a PubMed ID or PubMed URL