sequence
stringlengths
186
3.94k
docstring
stringlengths
11
171
module function_definition identifier parameters identifier block expression_statement assignment identifier attribute identifier identifier if_statement not_operator identifier block return_statement if_statement call identifier argument_list identifier identifier block expression_statement assignment identifier ident...
Pop a single callback.
module function_definition identifier parameters identifier identifier block if_statement boolean_operator not_operator subscript identifier string string_start string_content string_end call attribute attribute identifier identifier identifier argument_list identifier block if_statement subscript identifier string str...
If filename exists, overwrite or modify it to be unique.
module function_definition identifier parameters identifier identifier default_parameter identifier string string_start string_end default_parameter identifier string string_start string_end default_parameter identifier string string_start string_end block expression_statement call attribute attribute identifier identi...
Adds a host detail result to scan_id scan.
module function_definition identifier parameters identifier default_parameter identifier none block if_statement comparison_operator attribute identifier identifier none block expression_statement call attribute identifier identifier argument_list attribute identifier identifier expression_statement assignment attribut...
Get previewers ordered by PREVIEWER_PREVIEWERS_ORDER.
module function_definition identifier parameters identifier block expression_statement assignment identifier set string string_start string_content string_end if_statement comparison_operator identifier identifier block raise_statement call identifier argument_list binary_operator string string_start string_content str...
Factory function for making unary operator methods for Filters.
module function_definition identifier parameters identifier block if_statement comparison_operator attribute identifier identifier string string_start string_end block return_statement none expression_statement assignment identifier call identifier argument_list identifier attribute identifier identifier expression_sta...
Return class of next header, if known.
module function_definition identifier parameters block expression_statement assignment identifier dictionary try_statement block expression_statement assignment subscript identifier string string_start string_content string_end subscript subscript identifier string string_start string_content string_end string string_s...
Grab MySQL Connection Details
module function_definition identifier parameters identifier identifier identifier block expression_statement call attribute attribute identifier identifier identifier argument_list attribute identifier identifier identifier identifier expression_statement call attribute attribute identifier identifier identifier argume...
Writes an 8-bit byte to the specified command register
module function_definition identifier parameters identifier block expression_statement assignment attribute identifier identifier integer if_statement attribute identifier identifier block expression_statement call attribute identifier identifier argument_list expression_statement augmented_assignment attribute identif...
Start a new episode.
module function_definition identifier parameters identifier identifier block expression_statement call attribute identifier identifier argument_list call attribute identifier identifier argument_list string string_start string_content string_end expression_statement call attribute identifier identifier argument_list ca...
Process a response to a command that was run with this session.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list string string_start string_content string_end none if_statement not_operator identifier block return_statement list expression_statement assignment i...
Validate return value and return list of errors messages.
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute string string_start string_content string_end identifier argument_list attribute attribute identifier identifier identifier if_statement comparison_operator identifier string string_start string_c...
Take care of sorting.
module function_definition identifier parameters identifier identifier identifier block if_statement comparison_operator identifier none block expression_statement assignment identifier parenthesized_expression string string_start string_content string_end if_statement call attribute identifier identifier argument_list...
Update task redudancy for a project.
module function_definition identifier parameters identifier identifier block with_statement with_clause with_item identifier block expression_statement assignment identifier subscript identifier tuple identifier identifier if_statement call identifier argument_list identifier identifier block return_statement identifie...
Get wsdl method from ns, wsdlName
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list string string_start string_content string_end if_statement comparison_operator call identifier argument_list identifier identifier block expression_s...
Setup default logging for ray.
module function_definition identifier parameters identifier block expression_statement assignment attribute identifier identifier call attribute identifier identifier argument_list for_statement identifier attribute identifier identifier block expression_statement call attribute attribute identifier identifier identifi...
Create min-match dictionary for choice list
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list attribute attribute identifier identifier identifier call identifier argument_list attribute identifier identifier call identifier argument_list identifier call attribute identifier...
Extract text from a given lxml node.
module function_definition identifier parameters block print_statement attribute subscript call identifier argument_list string string_start string_content string_end identifier expression_statement assignment identifier call identifier argument_list string string_start string_content string_end expression_statement as...
Create a new collection of items with common attributes.
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list keyword_argument identifier subscript attribute identifier identifier string string_start string_content string_end expression_statement as...
Find the user for a given access key
module function_definition identifier parameters identifier default_parameter identifier string string_start string_content string_end dictionary_splat_pattern identifier block if_statement comparison_operator identifier string string_start string_content string_end block expression_statement assignment identifier stri...
Compute the laplacian matrix with the given method
module function_definition identifier parameters identifier default_parameter identifier none block expression_statement assignment identifier not_operator parenthesized_expression boolean_operator comparison_operator attribute identifier identifier tuple string string_start string_content string_end string string_star...
Return the formatted data as a unicode string.
module function_definition identifier parameters identifier block if_statement comparison_operator attribute attribute identifier identifier identifier integer block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list call attribute string string_start stri...
Inserts a local variable initialization and body label
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call identifier argument_list identifier expression_statement assignment identifier call identifier argument_list unary_operator integer call identifier argument_list identifier integer expression_sta...
Set the speaker's treble.
module function_definition identifier parameters identifier identifier default_parameter identifier none 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_lis...
Push an input source onto the lexer's input source stack.
module function_definition identifier parameters block expression_statement assignment identifier binary_operator list attribute identifier identifier subscript attribute identifier identifier slice expression_statement assignment identifier call attribute string string_start string_content string_end identifier genera...
reconstructs the invocation for this python program
module function_definition identifier parameters identifier block expression_statement call attribute attribute identifier identifier identifier argument_list attribute identifier identifier attribute attribute identifier identifier identifier
Checks in an anonymous user in.
module function_definition identifier parameters identifier block if_statement attribute identifier identifier block expression_statement call attribute attribute identifier identifier identifier argument_list attribute identifier identifier expression_statement assignment attribute identifier identifier none
Copies the last displayed image.
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list string string_start string_content string_end if_statement boolean_operator comparison_operator attribute identifier identifier none comparison_operator attribute identifier identif...
Convert a UTC datetime to datetime in local timezone
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list attribute identifier identifier attribute identifier identifier expression_statement call attribute identifier identifier argument_list identifier expression_st...
Export SVG as a string
module function_definition identifier parameters identifier identifier block if_statement not_operator call attribute attribute identifier identifier identifier argument_list identifier block expression_statement call attribute identifier identifier argument_list identifier
Create directory with template for topic of the current environment
module function_definition identifier parameters identifier default_parameter identifier none dictionary_splat_pattern identifier block if_statement comparison_operator identifier none block expression_statement assignment subscript identifier string string_start string_content string_end identifier return_statement ca...
Sets the acceptable HTTP method to PATCH
module function_definition identifier parameters identifier identifier identifier default_parameter identifier integer block expression_statement assignment identifier identifier expression_statement assignment identifier attribute identifier identifier try_statement block while_statement comparison_operator identifier...
Override the helper function for batchifying data
module function_definition identifier parameters identifier identifier block expression_statement string string_start string_content string_end expression_statement assignment identifier call attribute identifier identifier argument_list string string_start string_content string_end expression_statement assignment iden...
Convert any potentially deprecated paths and issue appropriate warnings
module function_definition identifier parameters identifier default_parameter identifier none block if_statement call identifier argument_list identifier identifier block expression_statement assignment identifier list identifier expression_statement assignment identifier list_comprehension binary_operator identifier i...
Clear cache by tags.
module function_definition identifier parameters identifier default_parameter identifier none block expression_statement assignment identifier true expression_statement assignment identifier none while_statement identifier block expression_statement assignment identifier call attribute identifier identifier argument_li...
A generator function for listing parts of a multipart upload.
module function_definition identifier parameters identifier block for_statement identifier attribute identifier identifier block if_statement comparison_operator call identifier argument_list identifier attribute identifier identifier block expression_statement call subscript attribute identifier identifier call identi...
Main function of compression.
module function_definition identifier parameters identifier default_parameter identifier true block if_statement call identifier argument_list attribute identifier identifier string string_start string_content string_end block return_statement attribute attribute identifier identifier identifier else_clause block if_st...
Used to created default session
module function_definition identifier parameters identifier identifier block if_statement identifier block expression_statement assignment identifier call attribute identifier identifier argument_list else_clause block expression_statement assignment identifier call attribute attribute identifier identifier identifier ...
Sign a json-formatted transaction
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier none if_statement comparison_operator attribute identifier identifier string string_start string_content string_end block if_statement call attribute attribute identifier identifier identifier argumen...
Creates a new Parameter object from the given ParameterArgument.
module function_definition identifier parameters typed_parameter identifier type identifier type none block if_statement comparison_operator identifier none block while_statement call attribute identifier identifier argument_list block expression_statement assignment identifier call attribute identifier identifier argu...
Clear the layout off all its components
module function_definition identifier parameters identifier identifier block expression_statement call attribute identifier identifier argument_list identifier expression_statement call attribute identifier identifier argument_list attribute identifier identifier attribute identifier identifier
Compute yield type and merges it with others yield type.
module function_definition identifier parameters identifier block expression_statement call attribute identifier identifier argument_list call attribute attribute identifier identifier identifier argument_list identifier keyword_argument identifier true
Check if the folder exisits. If not, create the folder
module function_definition identifier parameters identifier typed_parameter identifier type identifier typed_default_parameter identifier type identifier true type identifier block return_statement concatenated_string string string_start string_content escape_interpolation interpolation call attribute identifier identi...
Return `node`s representation as set comprehension.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier attribute subscript identifier string string_start string_content string_end identifier expression_statement assignment identifier call attribute identifier identifier argument_list for_statement iden...
Display the number of units by taxonomy
module function_definition identifier parameters identifier identifier identifier block if_statement parenthesized_expression boolean_operator boolean_operator comparison_operator attribute identifier identifier none comparison_operator attribute identifier identifier none comparison_operator attribute identifier ident...
Get the appropriate connection for a chip.
module function_definition identifier parameters identifier list_splat_pattern identifier block expression_statement assignment identifier list_comprehension attribute identifier identifier for_in_clause identifier identifier expression_statement call attribute attribute identifier identifier identifier argument_list l...
Interfaces the GraphNode `add` method
module function_definition identifier parameters identifier identifier default_parameter identifier integer default_parameter identifier unary_operator integer block expression_statement assignment identifier call attribute identifier identifier argument_list tuple string string_start string_content string_end string s...
Load a file-like reader from the local file system
module function_definition identifier parameters identifier block if_statement boolean_operator not_operator attribute identifier identifier not_operator attribute attribute identifier identifier identifier block expression_statement assignment attribute identifier identifier none return_statement expression_statement ...
Disconnect from the transport.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier attribute attribute identifier identifier identifier expression_statement assignment identifier list_comprehension tuple subscript attribute identifier identifier integer identifier for_in_clause iden...
Returns list of table nodes from ods object
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier if_statement attribute identifier identifier block expression_statement call attribute identifier identifier argument_list return_statement identifie...
Process features after parsing command line options
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier dictionary if_statement comparison_operator string string_start string_content string_end identifier block expression_statement assignment subscript identifier string string_start string_content strin...
Initialize a Classification object from a json dictionary.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute call identifier argument_list identifier identifier identifier argument_list identifier if_statement comparison_operator identifier none block expression_statement assignment identifier...
Always returns a Python boolean.
module function_definition identifier parameters block expression_statement call attribute identifier identifier argument_list string string_start string_content string_end if_statement call attribute attribute identifier identifier identifier argument_list identifier block for_statement identifier call attribute ident...
Clears everything in the song cache
module function_definition identifier parameters identifier identifier identifier block return_statement boolean_operator attribute identifier identifier call attribute identifier identifier argument_list identifier attribute identifier identifier
Check if file is excluded.
module function_definition identifier parameters identifier block expression_statement assignment tuple_pattern identifier identifier identifier subscript attribute identifier identifier string string_start string_content string_end expression_statement call attribute attribute identifier identifier identifier argument...
Clear the current canvas.
module function_definition identifier parameters identifier default_parameter identifier none default_parameter identifier none default_parameter identifier none default_parameter identifier string string_start string_content string_end default_parameter identifier string string_start string_content string_end block ex...
Add an option to the object's `options` container.
module function_definition identifier parameters identifier block try_statement block expression_statement assignment identifier call attribute subscript call attribute call attribute identifier identifier argument_list list string string_start string_content string_end string string_start string_content string_end ide...
Get value of given macro using rpm tool
module function_definition identifier parameters identifier default_parameter identifier none block expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement assignment identifier call identifier argument_list call attribute identifier identifier argument_list st...
Processes the header from task requests to log analytical data.
module function_definition identifier parameters identifier block expression_statement assignment identifier string string_start string_content string_end for_statement identifier attribute identifier identifier block expression_statement assignment subscript attribute attribute identifier identifier identifier binary_...
Return the string representation of the receiver.
module function_definition identifier parameters identifier block expression_statement assignment identifier string string_start string_end for_statement pattern_list identifier identifier call attribute attribute identifier identifier identifier argument_list block expression_statement augmented_assignment identifier ...
get the distortion coeffs in a formated string
module function_definition identifier parameters identifier block if_statement comparison_operator identifier none block return_statement none try_statement block return_statement call identifier argument_list identifier keyword_argument identifier string string_start string_content string_end keyword_argument identifi...
Escapes a value so that it can be used in a mime header
module function_definition identifier parameters default_parameter identifier none block expression_statement assignment identifier dictionary pair string string_start string_content string_end string string_start string_end pair string string_start string_content string_end false pair string string_start string_conten...
Discover custom settings for ZMQ path
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier return_statement call attribute identifier identifier argument_list identifier
Return dict representation of AccessPolicy PyXB obj.
module function_definition identifier parameters identifier block global_statement identifier expression_statement assignment identifier call call attribute identifier identifier argument_list subscript attribute identifier identifier string string_start string_content string_end argument_list expression_statement call...
Run this once on init.
module function_definition identifier parameters identifier identifier block return_statement call attribute identifier identifier argument_list call attribute identifier identifier argument_list attribute identifier identifier integer call attribute identifier identifier argument_list identifier
Returns predictions of input test cases.
module function_definition identifier parameters identifier identifier block for_statement identifier call attribute attribute identifier identifier identifier argument_list identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list call attribute identifie...
Transforms time step observations to frames of a video.
module function_definition identifier parameters list_splat_pattern identifier dictionary_splat_pattern identifier block if_statement call identifier argument_list call attribute identifier identifier argument_list string string_start string_content string_end list string string_start string_content string_end block gl...
print formatted output to stdout with indentation control
module function_definition identifier parameters identifier default_parameter identifier none default_parameter identifier none block if_statement comparison_operator identifier none block for_statement identifier identifier block expression_statement call attribute attribute identifier identifier identifier argument_l...
Pass the given changes to the root_node.
module function_definition identifier parameters identifier block if_statement call identifier argument_list identifier identifier block expression_statement assignment identifier call attribute string string_start string_content escape_sequence string_end identifier generator_expression call identifier argument_list i...
Get raw representation of s, truncating if too long.
module function_definition identifier parameters identifier default_parameter identifier identifier default_parameter identifier none block expression_statement call identifier argument_list call identifier argument_list identifier identifier keyword_argument identifier identifier
Walk the block and output it in graphviz format to the open file.
module function_definition identifier parameters identifier block expression_statement assignment identifier integer expression_statement assignment identifier call attribute call attribute call attribute attribute identifier identifier identifier argument_list identifier identifier argument_list identifier identifier ...
Create a large array of noise to be shared by all workers.
module function_definition identifier parameters identifier block expression_statement call identifier argument_list identifier expression_statement call identifier argument_list identifier expression_statement call identifier argument_list identifier expression_statement call identifier argument_list identifier
Adds common options to a continuous search command line parser.
module function_definition identifier parameters default_parameter identifier none default_parameter identifier none default_parameter identifier integer default_parameter identifier integer default_parameter identifier string string_start string_end default_parameter identifier string string_start string_end block exp...
List all ProductVersions associated with a BuildConfiguration
module function_definition identifier parameters identifier block expression_statement assignment identifier binary_operator call attribute identifier identifier argument_list attribute identifier identifier expression_statement assignment identifier dictionary for_statement tuple_pattern identifier identifier call att...
Remove all expired entries from the cache.
module function_definition identifier parameters identifier identifier block expression_statement call attribute call identifier argument_list identifier identifier identifier argument_list identifier return_statement attribute identifier identifier
Return a reference to the instance of the newly added coroutine.
module function_definition identifier parameters identifier identifier block return_statement boolean_operator comparison_operator identifier identifier parenthesized_expression boolean_operator comparison_operator call attribute identifier identifier argument_list string string_start string_content string_end string s...
Return true if t is a suffix.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier list expression_statement assignment identifier list for_statement identifier attribute identifier identifier block if_statement not_operator call attribute subscript identifier integer identifier arg...
Removes parameters which match the pattern from the config data
module function_definition identifier parameters identifier identifier identifier block return_statement expression_list call attribute attribute identifier identifier identifier argument_list identifier identifier identifier
Complemented, incomplete gamma op.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier list_comprehension call identifier argument_list subscript identifier identifier for_in_clause identifier call identifier argument_list identifier expression_statement yield call identifier argument_l...
Generate all possible slice tuples for 'shape'.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier string string_start string_content string_end expression_statement call attribute identifier identifier argument_list string st...
Adds filter xml node to root.
module function_definition identifier parameters identifier block if_statement attribute identifier identifier block expression_statement call attribute identifier identifier argument_list expression_statement call attribute identifier identifier argument_list expression_statement call attribute identifier identifier a...
Refresh the cache by deleting the old one and creating a new one.
module function_definition identifier parameters identifier identifier identifier identifier identifier identifier identifier identifier block expression_statement assignment pattern_list identifier identifier call attribute identifier identifier argument_list identifier identifier identifier expression_statement call ...
Write and trigger an RPC.
module function_definition identifier parameters identifier default_parameter identifier string string_start string_content string_end block return_statement conditional_expression call attribute identifier identifier argument_list identifier call identifier argument_list identifier attribute identifier identifier call...
Convert anything to bytes
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list string string_start string_content escape_sequence string_end expression_statement assignment identifier binary_operator string string_start string_content esca...
Strips NULL chars taking care of bytes alignment.
module function_definition identifier parameters identifier block return_statement call attribute attribute identifier identifier identifier argument_list keyword_argument identifier attribute identifier identifier keyword_argument identifier attribute identifier identifier
Fetch the module binary from the master if necessary.
module function_definition identifier parameters identifier identifier block expression_statement assignment 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 block express...
Transforms rules list from env-string to python.
module function_definition identifier parameters identifier identifier list_splat_pattern identifier dictionary_splat_pattern identifier block if_statement comparison_operator identifier identifier block expression_statement call identifier argument_list identifier list_splat identifier dictionary_splat identifier expr...
Logs a message only once.
module function_definition identifier parameters identifier default_parameter identifier none default_parameter identifier none block expression_statement assignment identifier subscript attribute identifier identifier string string_start string_content string_end if_statement not_operator identifier block if_statement...
Resets the password of the user identified by the token
module function_definition identifier parameters identifier identifier identifier dictionary_splat_pattern identifier block if_statement comparison_operator identifier true block expression_statement assignment identifier call identifier argument_list call attribute string string_start string_content string_end identif...
Publishes each saved message to Centrifugo.
module function_definition identifier parameters identifier block expression_statement call attribute identifier identifier argument_list concatenated_string string string_start string_content string_end string string_start string_content string_end string string_start string_content string_end string string_start stri...
Return the metadata derived from the master_tops system
module function_definition identifier parameters identifier identifier identifier identifier identifier block return_statement call attribute identifier identifier argument_list call attribute identifier identifier argument_list identifier identifier identifier identifier
Bank account statement request
module function_definition identifier parameters identifier identifier block if_statement comparison_operator identifier attribute identifier identifier block expression_statement call attribute attribute identifier identifier identifier argument_list identifier expression_statement call attribute attribute identifier ...
Remove partition from partition list.
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...
The json representation of a transformation.
module function_definition identifier parameters identifier identifier block if_statement not_operator call attribute attribute identifier identifier identifier argument_list attribute identifier identifier block raise_statement call attribute identifier identifier argument_list binary_operator string string_start stri...
Write a DEVICE_CONFIG to the YubiKey NEO.
module function_definition identifier parameters identifier identifier block expression_statement assignment subscript identifier string string_start string_content string_end dictionary expression_statement assignment identifier call identifier argument_list identifier identifier if_statement identifier block expressi...
Add CNVkit plots summarizing called copy number values.
module function_definition identifier parameters identifier block expression_statement assignment identifier list_comprehension identifier for_in_clause identifier call attribute identifier identifier argument_list expression_statement assignment identifier call identifier argument_list call identifier argument_list at...
Ensure the font name is from our list and correctly spelled.
module function_definition identifier parameters identifier block for_statement tuple_pattern identifier identifier call attribute attribute identifier identifier identifier argument_list block expression_statement assignment identifier subscript attribute identifier identifier identifier expression_statement assignmen...
Check if a file is changed
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier if_statement parenthesized_expression comparison_operator identifier none block expression_statement assignment identifier subscript ident...
Look for link with specified rel, return href from it or None.
module function_definition identifier parameters identifier type generic_type identifier type_parameter type identifier block if_statement attribute identifier identifier block return_statement none if_statement comparison_operator attribute identifier identifier none block return_statement attribute identifier identif...
Default value of the receiver, if any.
module function_definition identifier parameters identifier identifier identifier identifier block return_statement binary_operator parenthesized_expression binary_operator binary_operator identifier identifier binary_operator identifier identifier parenthesized_expression binary_operator identifier identifier
Returns the effective spin from mass1, mass2, spin1z, and spin2z.