sequence
stringlengths
186
3.94k
docstring
stringlengths
11
171
module function_definition identifier parameters default_parameter identifier none block if_statement comparison_operator identifier none block return_statement conditional_expression call identifier argument_list call attribute identifier identifier argument_list call identifier argument_list identifier string string_...
Generate a new correlation id, possibly based on the given one.
module function_definition identifier parameters identifier block expression_statement assignment attribute identifier identifier call attribute attribute identifier identifier identifier argument_list keyword_argument identifier false expression_statement assignment attribute identifier identifier call attribute attri...
Construct a Router, Broker, and mitogen.unix listener
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...
Get a dictionary of addresses.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call identifier argument_list identifier for_statement identifier identifier block expression_statement call attribute identifier identifier argument_list subscript attribute identifier identifier ide...
Given an iterable of addresses, yield all of those addresses dependents.
module function_definition identifier parameters identifier block for_statement identifier attribute identifier identifier block expression_statement assignment identifier call attribute call identifier argument_list identifier identifier argument_list expression_statement assignment identifier call attribute call iden...
Print the Slackware packages contents
module function_definition identifier parameters identifier identifier block if_statement not_operator attribute identifier identifier block return_statement call attribute attribute identifier identifier identifier argument_list call attribute identifier identifier argument_list attribute identifier identifier identif...
Synchronization fetch, usually used in xmlrpc thread
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list identifier binary_operator string string_start string_content string_end call attribute attribute identifier identifier identifi...
Convert bed to required bed6 inputs.
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list identifier expression_statement assignment identifier dictionary pair string string_start string_content string_end attribute identifier identifier pair string string_start string_c...
Expose the site's info to templates
module function_definition identifier parameters identifier identifier block if_statement comparison_operator call identifier argument_list subscript identifier integer integer block raise_statement call identifier argument_list call attribute string string_start string_content string_end identifier argument_list call ...
Raises ValueError if 2 arguments are not passed to an XOR
module function_definition identifier parameters identifier identifier default_parameter identifier none block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list call attribute attribute identifier identifier identifier argument_list keyword_argument ident...
Retrieves the stats for a hunt.
module function_definition identifier parameters identifier block expression_statement assignment identifier float expression_statement assignment identifier lambda lambda_parameters identifier boolean_operator comparison_operator identifier string string_start string_content string_end comparison_operator subscript id...
Announce theta values to the log.
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 string string_start string_content string_end if_statement comparison_operator identifier identifier bl...
Set cursor to bookmarked file and position.
module function_definition identifier parameters identifier block if_statement not_operator attribute identifier identifier block expression_statement assignment identifier string string_start string_content string_end expression_statement call attribute identifier identifier argument_list identifier keyword_argument i...
Toggles the long touch point operation.
module function_definition identifier parameters identifier default_parameter identifier none 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 string string_star...
Centralized master event function which will return event type based on event_map
module function_definition identifier parameters identifier type identifier block if_statement attribute identifier identifier block return_statement attribute attribute identifier identifier identifier return_statement attribute call identifier argument_list identifier
Get innerHTML of the inner node.
module function_definition identifier parameters identifier block if_statement comparison_operator attribute attribute identifier identifier identifier none block return_statement attribute attribute identifier identifier identifier return_statement binary_operator binary_operator call attribute attribute attribute ide...
returns name all the way up the tree
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier attribute attribute identifier identifier identifier if_statement comparison_operator identifier identifier block return_statement integer expression_statement assignment identifier integer for_statem...
Return approximate length of all cookie key-values for a domain.
module function_definition identifier parameters identifier block if_statement attribute attribute identifier identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list call attribute attribute identifier identifier identifier argument_list for_statement pa...
Fetch committed offsets for assigned partitions.
module function_definition identifier parameters identifier block if_statement call attribute attribute identifier identifier identifier argument_list attribute identifier identifier block return_statement false else_clause block expression_statement call attribute attribute identifier identifier identifier argument_li...
This method sets a cache variable to mark current job as "already running".
module function_definition identifier parameters identifier identifier dictionary_splat_pattern identifier block expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement assignment identifier call attribute identifier identifier argument_list call attribute iden...
Build and return the fully-filtered queryset
module function_definition identifier parameters identifier identifier default_parameter identifier false block if_statement attribute identifier identifier block expression_statement assignment identifier list_comprehension call identifier argument_list identifier for_in_clause identifier call identifier argument_list...
Execute commands and get list of failed commands and count of successful commands
module function_definition identifier parameters identifier block for_statement identifier call attribute identifier identifier argument_list subscript attribute identifier identifier string string_start string_content string_end block if_statement comparison_operator subscript identifier slice unary_operator integer s...
Loads any schemas for JSON validation
module function_definition identifier parameters identifier block return_statement attribute subscript call attribute attribute identifier identifier identifier argument_list attribute attribute identifier identifier identifier attribute identifier identifier integer identifier
The interface type of the resource as a number.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list call attribute string string_start string_content string_end identifier argument_list keyword_argument identifier attribute identifier ide...
Send command via HTTP post to receiver.
module function_definition identifier parameters block if_statement call identifier argument_list block expression_statement call attribute identifier identifier argument_list integer import_from_statement dotted_name identifier identifier dotted_name identifier expression_statement assignment pattern_list identifier i...
The entry point for this module
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement call attribute identifier identifier argument_list call identifier argument_list identifier call attribute attribute identifier identifier ...
Initialize and configure logging.
module function_definition identifier parameters identifier identifier identifier default_parameter identifier string string_start string_end block expression_statement call attribute identifier identifier argument_list keyword_argument identifier call identifier argument_list keyword_argument identifier identifier key...
Merge two revision together, create new revision file
module function_definition identifier parameters identifier block assert_statement attribute identifier identifier string string_start string_content string_end expression_statement assignment identifier call attribute call identifier argument_list call identifier argument_list attribute identifier identifier identifie...
Get the name of an output file based on the top GO term.
module function_definition identifier parameters identifier identifier block expression_statement assignment pattern_list identifier identifier identifier identifier identifier expression_statement assignment pattern_list identifier identifier identifier identifier identifier expression_statement assignment identifier ...
merge 2 lines together
module function_definition identifier parameters identifier block return_statement call attribute identifier identifier argument_list keyword_argument identifier call attribute identifier identifier argument_list keyword_argument identifier true keyword_argument identifier string string_start string_content string_end
Use the digest version, since URL can be ugly.
module function_definition identifier parameters identifier default_parameter identifier none default_parameter identifier none dictionary_splat_pattern identifier block return_statement call attribute identifier identifier argument_list string string_start string_content string_end call attribute string string_start s...
Pass in an IP address.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier subscript identifier string string_start string_content string_end expression_statement assignment identifier subscript identifier string string_start string_content string_end expression_s...
Read roller shutter from config.
module function_definition identifier parameters identifier block expression_statement call attribute identifier identifier argument_list attribute identifier identifier expression_statement call attribute identifier identifier argument_list attribute identifier identifier expression_statement call attribute identifier...
Registration for built-in Storm commands.
module function_definition identifier parameters identifier identifier block expression_statement call attribute identifier identifier argument_list binary_operator string string_start string_content string_end identifier expression_statement call attribute attribute identifier identifier identifier argument_list call ...
Send data to socket.
module function_definition identifier parameters block import_from_statement dotted_name identifier identifier identifier dotted_name identifier expression_statement assignment identifier call identifier argument_list if_statement comparison_operator attribute identifier identifier string string_start string_content st...
Run Windows environment variable editor
module function_definition identifier parameters identifier identifier identifier block expression_statement call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end string string_start string_content string_end identifier expression_statement call attribute ...
Save the token on the config file.
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement assignment attribute identifier identifier integer expression_statement assignment attribute identifier identifier integer expression_state...
Size the canvas item to the proper height.
module function_definition identifier parameters identifier block function_definition identifier parameters identifier list_splat_pattern identifier dictionary_splat_pattern identifier block if_statement not_operator attribute identifier identifier block raise_statement call identifier argument_list string string_start...
Makes sure the registry key is editable before trying to edit it.
module function_definition identifier parameters identifier identifier block expression_statement call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end if_statement not_operator identifier block expression_statement call attribute attribute identifier iden...
Search for symbols matching a set of keywords
module function_definition identifier parameters identifier identifier block if_statement not_operator call identifier argument_list identifier identifier block raise_statement call identifier argument_list call attribute string string_start string_content string_end identifier argument_list call identifier argument_li...
Return the number of local keys in the specified hash slot.
module function_definition identifier parameters identifier typed_parameter identifier type identifier typed_parameter identifier type identifier type identifier block return_statement call identifier argument_list subscript attribute identifier identifier slice identifier binary_operator identifier identifier
Read a value from memory and return a fresh bytes instance
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call identifier argument_list expression_statement assignment subscript identifier string string_start string_content string_end attribute identifier identifier expression_statement assignment identif...
Convert compound entry to YAML dict.
module function_definition identifier parameters identifier identifier identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier expression_statement assignment identifier call attribute identifier identifier argument_list binary_operator binary...
Compute ground motion mean value.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list attribute identifier identifier keyword_argument identifier attribute identifier identifier return_statement identifier
Find all the UserEmail object belonging to a user.
module function_definition identifier parameters identifier block if_statement comparison_operator attribute identifier identifier none block expression_statement assignment identifier attribute identifier identifier if_statement not_operator identifier block return_statement call attribute identifier identifier argume...
Get a valid translator object from one or several languages names.
module function_definition identifier parameters block expression_statement assignment identifier assignment identifier string string_start string_content string_end expression_statement assignment identifier call attribute identifier identifier argument_list keyword_argument identifier identifier keyword_argument iden...
Option Parser to give various options.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier list_comprehension attribute identifier identifier for_in_clause identifier identifier expression_statement assignment identifier call identifier argument_list identifier return_statement c...
Compares this type against comparison filters
module function_definition identifier parameters identifier block if_statement comparison_operator attribute identifier identifier integer block return_statement string string_start string_content string_end elif_clause call identifier generator_expression comparison_operator identifier subscript attribute identifier i...
Interpolation type of this discretization.
module function_definition identifier parameters identifier identifier block expression_statement string string_start string_content string_end if_statement not_operator call identifier argument_list identifier identifier block expression_statement assignment identifier call identifier argument_list identifier return_s...
Return the rendered template content with the current context
module function_definition identifier parameters identifier block function_definition identifier parameters identifier block if_statement call identifier argument_list identifier identifier block if_statement not_operator identifier block raise_statement call identifier argument_list concatenated_string string string_s...
DataArray.name and Dataset keys must be a string or None
module function_definition identifier parameters identifier default_parameter identifier true dictionary_splat_pattern identifier block return_statement call attribute identifier identifier argument_list string string_start string_content string_end attribute identifier identifier identifier dictionary_splat identifier
Fetches a list of all subnets for a project.
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 if_statement comparison_operator attribute identifier identifier float block expression_statement assignment ident...
Microsoft Visual Studio Tools
module function_definition identifier parameters identifier identifier identifier identifier identifier block if_statement call identifier argument_list identifier identifier block expression_statement assignment identifier call identifier argument_list subscript identifier slice integer subscript identifier slice inte...
Compute the shape of a conv given input shapes in canonical order.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list expression_statement call attribute attribute identifier identifier identifier argument_list attribute call attribute attribute ...
Paste clipboard content into buffer.
module function_definition identifier parameters identifier block if_statement call identifier argument_list attribute identifier identifier block expression_statement call attribute attribute identifier identifier identifier argument_list expression_statement call attribute identifier identifier argument_list attribut...
Collapse all positions; works only if the underlying tree allows it.
module function_definition identifier parameters identifier default_parameter identifier none block expression_statement assignment identifier call identifier argument_list none keyword_argument identifier identifier expression_statement assignment attribute identifier identifier attribute identifier identifier express...
Copies an existing structure and all of it's children
module function_definition identifier parameters default_parameter identifier integer block expression_statement assignment identifier call attribute string string_start string_content string_end identifier argument_list identifier assert_statement call identifier argument_list attribute identifier identifier attribute...
Clean up files on server and mark the record as deleted
module function_definition identifier parameters identifier block import_from_statement dotted_name identifier dotted_name identifier try_statement block return_statement call attribute identifier identifier argument_list attribute attribute identifier identifier identifier except_clause identifier block return_stateme...
Return the time of the last operation on the bundle as a datetime object
module function_definition identifier parameters identifier identifier default_parameter identifier none default_parameter identifier none default_parameter identifier true default_parameter identifier false block if_statement boolean_operator identifier comparison_operator string string_start string_content string_end...
Retrieve GATK memory specifications, moving down a list of potential specifications.
module function_definition identifier parameters identifier list_splat_pattern identifier dictionary_splat_pattern identifier block expression_statement assignment identifier call attribute identifier identifier argument_list attribute identifier identifier if_statement not_operator identifier block expression_statemen...
Not exposed as part of the Route 53 API - used for CloudFormation. args are ignored
module function_definition identifier parameters identifier identifier block expression_statement assignment attribute identifier identifier list_comprehension call attribute identifier identifier argument_list for_in_clause identifier attribute identifier identifier if_clause call attribute identifier identifier argum...
Remove an arg to the arg list
module function_definition identifier parameters identifier block expression_statement assignment identifier none if_statement comparison_operator call attribute identifier identifier argument_list string string_start string_content string_end none block expression_statement assignment identifier call attribute identif...
Convert a Go-style JSON-unmarshaled cookie into a Python cookie
module function_definition identifier parameters identifier identifier block for_statement pattern_list identifier identifier call attribute identifier identifier argument_list block expression_statement call attribute identifier identifier argument_list identifier identifier
Export the environment variables contained in the dict env.
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 expression_statement call attribute identifier identifier argument_list integer string string_start str...
Builds a dictionary of keys based on the branch code
module function_definition identifier parameters identifier block expression_statement assignment attribute identifier identifier identifier for_statement identifier call attribute identifier identifier argument_list block try_statement block expression_statement call attribute identifier identifier argument_list excep...
Pass through to provider ItemBankSession.use_plenary_bank_view
module function_definition identifier parameters identifier block expression_statement assignment identifier attribute identifier identifier expression_statement assignment identifier attribute identifier identifier expression_statement assignment attribute identifier identifier identifier expression_statement assignme...
Resets the value of config item to its default value.
module function_definition identifier parameters identifier block if_statement not_operator call identifier argument_list identifier identifier block expression_statement assignment identifier list identifier return_statement call attribute attribute identifier identifier identifier argument_list keyword_argument ident...
Wrapper for inserting float features into Example proto.
module function_definition identifier parameters identifier identifier default_parameter identifier none block with_statement with_clause with_item call attribute identifier identifier argument_list identifier string string_start string_content string_end block function_definition identifier parameters identifier ident...
The core Neural GPU.
module function_definition identifier parameters identifier identifier block expression_statement call attribute attribute attribute identifier identifier identifier identifier argument_list identifier return_statement binary_operator call identifier argument_list attribute attribute identifier identifier identifier in...
Add a new animation
module function_definition identifier parameters identifier identifier block if_statement comparison_operator identifier none block expression_statement assignment identifier none else_clause block expression_statement assignment identifier attribute identifier identifier if_statement comparison_operator identifier non...
Pushes a new element node on top of the node stack
module function_definition identifier parameters identifier identifier identifier identifier identifier block expression_statement assignment identifier call identifier argument_list identifier identifier identifier expression_statement assignment identifier call attribute attribute attribute identifier identifier iden...
copies file to bucket s3_folder
module function_definition identifier parameters identifier block if_statement subscript attribute identifier identifier string string_start string_content string_end block expression_statement assignment identifier binary_operator subscript attribute identifier identifier string string_start string_content string_end ...
Polls the data server to see if a run is active
module function_definition identifier parameters identifier block assert_statement call identifier argument_list identifier identifier string string_start string_content string_end expression_statement assignment identifier call identifier argument_list identifier expression_statement assignment identifier list_compreh...
Convert a string to a list of bits
module function_definition identifier parameters identifier block import_statement dotted_name identifier expression_statement assignment identifier call attribute identifier identifier argument_list for_statement identifier call attribute identifier identifier argument_list identifier block expression_statement assign...
Retrieve list of locations to analyze from input BED file.
module function_definition identifier parameters identifier block expression_statement assignment identifier subscript attribute identifier identifier string string_start string_content string_end expression_statement assignment identifier subscript attribute identifier identifier string string_start string_content str...
Deploy a lambda function
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...
Perform a DELETE request
module function_definition identifier parameters identifier identifier identifier default_parameter identifier none default_parameter identifier none block expression_statement assignment identifier attribute call identifier argument_list identifier keyword_argument identifier true identifier return_statement call attr...
Removes a given single role for a group from a domain or project.
module function_definition identifier parameters identifier identifier default_parameter identifier attribute identifier identifier block expression_statement call attribute call identifier argument_list identifier identifier identifier argument_list identifier keyword_argument identifier identifier expression_statemen...
Handle parsing additional command-line options
module function_definition identifier parameters identifier identifier block try_statement block expression_statement assignment identifier list for_statement identifier attribute identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list if_statement compa...
Starts a thread that will load values asynchronously
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call identifier argument_list identifier expression_statement assignment identifier call attribute identifier identifier argument_list tuple attribute identifier identifier attribute identi...
Create suplots and return axs
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...
Check if file ending is considered as download.
module function_definition identifier parameters typed_parameter identifier type generic_type identifier type_parameter type identifier block return_statement list_comprehension call attribute identifier identifier argument_list call attribute identifier identifier argument_list call attribute identifier identifier arg...
Deserialize EmailMessages passed as task argument.
module function_definition identifier parameters identifier identifier block if_statement call identifier argument_list identifier attribute identifier identifier block expression_statement assignment identifier call identifier argument_list identifier else_clause block expression_statement assignment identifier call i...
Retrieve an input variable from our existing pool of options.
module function_definition identifier parameters identifier identifier block for_statement identifier identifier block expression_statement assignment identifier subscript attribute identifier identifier identifier expression_statement assignment identifier comparison_operator identifier identifier expression_statement...
Assign each class to the vertex, edge or non-graph type sets based on its kind.
module function_definition identifier parameters identifier identifier identifier identifier identifier identifier identifier identifier identifier block with_statement with_clause with_item call identifier argument_list identifier block try_statement block expression_statement assignment identifier call identifier arg...
Analysis of Facebook chat history.
module function_definition identifier parameters identifier block return_statement call attribute identifier identifier argument_list call attribute identifier identifier argument_list attribute call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end identif...
Proton energy array in GeV
module function_definition identifier parameters identifier identifier dictionary_splat_pattern identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier expression_statement assignment identifier call identifier argument_list identifier dictionary_splat i...
Get sampled spectrum or bandpass in user units.
module function_definition identifier parameters identifier default_parameter identifier attribute identifier identifier block return_statement call identifier argument_list attribute identifier identifier identifier keyword_argument identifier identifier
section end to end distances in a collection of neurites
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end...
Upload the napp from the current directory to the napps server.
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list string string_start string_content string_end expression_statement assignment identifier call attribute identifier identifier argument_list unary_operator integ...
Build the module path and import it
module function_definition identifier parameters identifier block expression_statement call attribute attribute identifier identifier identifier argument_list if_statement parenthesized_expression boolean_operator boolean_operator call attribute identifier identifier argument_list string string_start string_content str...
Ensure the pathspec is valid.
module function_definition identifier parameters identifier identifier identifier block for_statement identifier identifier block for_statement identifier identifier block if_statement not_operator call attribute attribute identifier identifier identifier argument_list call attribute attribute identifier identifier ide...
Check that folders are maildirs.
module function_definition identifier parameters identifier identifier block expression_statement string string_start string_content string_end expression_statement call attribute identifier identifier argument_list attribute attribute identifier identifier identifier attribute identifier identifier expression_statemen...
set visible area to bbox, maintaining aspectRatio if applicable
module function_definition identifier parameters identifier block expression_statement assignment attribute identifier identifier call attribute identifier identifier argument_list for_statement pattern_list identifier identifier call identifier argument_list attribute attribute identifier identifier identifier attribu...
Builds the fluent table for each RDDL pvariable.
module function_definition identifier parameters identifier identifier identifier identifier identifier identifier block expression_statement assignment pattern_list identifier identifier call identifier argument_list expression_statement assignment identifier list integer integer integer integer expression_statement a...
Build an estimator appropriate for the given model type.
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 assignment identifier call attribute identifier iden...
Parse single JSON object into a LogData object
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call identifier argument_list identifier if_statement call identifier argument_list identifier block return_statement call identifier argument_list identifier identifier identifier raise_st...
Given an existing path, attempt to load it as a unicode string.
module function_definition identifier parameters identifier typed_parameter identifier type identifier list_splat_pattern identifier type generic_type identifier type_parameter type identifier block expression_statement call attribute identifier identifier argument_list expression_statement assignment identifier call a...
Executes SQL; returns just the output fieldnames.
module function_definition identifier parameters identifier type generic_type identifier type_parameter type identifier type identifier block if_statement comparison_operator attribute identifier identifier none block expression_statement assignment attribute identifier identifier call identifier generator_expression t...
Identify and set the good ids for the different entities
module function_definition identifier parameters identifier identifier identifier block if_statement boolean_operator call attribute identifier identifier argument_list identifier comparison_operator identifier none block return_statement identifier return_statement call attribute attribute identifier identifier identi...
Decode data, if required.