sequence
stringlengths
186
3.94k
docstring
stringlengths
11
171
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier binary_operator attribute identifier identifier call identifier argument_list binary_operator call identifier argument_list attribute identifier identifier string string_start string_content string_en...
estimate pitch from SIMSTATE accels
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call identifier argument_list return_statement call attribute attribute identifier identifier identifier argument_list subscript identifier slice integer subscript identifier slice integer identifier
Random path generator for uploads, specify this for upload_to= argument of FileFields
module function_definition identifier parameters identifier block expression_statement assignment identifier list for_statement identifier call identifier argument_list subscript attribute identifier identifier string string_start string_content string_end block expression_statement assignment identifier call attribute...
Create instances for the cloud providers
module function_definition identifier parameters identifier identifier block return_statement conditional_expression attribute attribute identifier identifier identifier comparison_operator identifier attribute identifier identifier line_continuation attribute attribute identifier identifier identifier
Choose object type from content type.
module function_definition identifier parameters identifier default_parameter identifier none block import_from_statement dotted_name identifier identifier dotted_name identifier import_from_statement dotted_name identifier identifier dotted_name identifier expression_statement assignment identifier call identifier arg...
Get shell code that should be run to activate this suite.
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list string string_start string_content string_end expression_statement call attribute identifier identifier argument_list attribute attribute identifier identifier identifier call attri...
Get a generator that yields all files in the directory.
module function_definition identifier parameters identifier block expression_statement call attribute identifier identifier argument_list string string_start string_content escape_sequence escape_sequence string_end expression_statement assignment identifier parenthesized_expression string string_start string_content s...
Return a list with all the supported boards
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list dictionary_splat attribute identifier identifier expression_statement assignment identifier call identifier argument_list attribute identifier identifier binary...
install supervisor program config file
module function_definition identifier parameters identifier block while_statement true block expression_statement assignment pattern_list identifier identifier call attribute identifier identifier argument_list string string_start string_content string_end string string_start string_content string_end if_statement comp...
Yield packets until a Close packet is received.
module function_definition identifier parameters identifier default_parameter identifier dictionary dictionary_splat_pattern identifier block if_statement call identifier argument_list identifier string string_start string_content string_end block for_statement pattern_list identifier identifier call attribute identifi...
This function will perform the command -dup.
module function_definition identifier parameters identifier identifier block if_statement comparison_operator attribute attribute identifier identifier identifier identifier block raise_statement call identifier argument_list call attribute string string_start string_content string_end identifier argument_list identifi...
Assert the absolute URL of the browser is as provided.
module function_definition identifier parameters identifier identifier list_splat_pattern identifier block expression_statement string string_start string_content string_end expression_statement assignment identifier call identifier argument_list identifier identifier return_statement await call attribute identifier id...
Return the union of sets specified by ``keys``
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list call identifier argument_list call attribute string string_start string_content string_end identifier argument_list identifier expression_statement assignment p...
Sub for fast loader.
module function_definition identifier parameters identifier block expression_statement assignment identifier attribute attribute identifier identifier identifier expression_statement assignment identifier call identifier argument_list expression_statement assignment identifier call identifier argument_list call identif...
Returns the standing origin from the working copy.
module function_definition identifier parameters identifier identifier block expression_statement call identifier argument_list identifier expression_statement call attribute attribute identifier identifier identifier argument_list attribute identifier identifier expression_statement call attribute attribute identifier...
Insert a new chunk at the end of the IFF file
module function_definition identifier parameters identifier identifier identifier identifier identifier block return_statement parenthesized_expression call attribute concatenated_string string string_start string_content string_end string string_start string_content string_end string string_start string_content string...
Format a URL for loading data from Bank of Canada.
module function_definition identifier parameters identifier block try_statement block expression_statement assignment attribute identifier identifier call attribute attribute identifier identifier identifier argument_list identifier except_clause identifier block raise_statement call identifier argument_list call attri...
create and return the numexpr condition and filter
module function_definition identifier parameters identifier list_splat_pattern identifier block expression_statement assignment identifier dictionary for_statement identifier identifier block if_statement comparison_operator identifier identifier block expression_statement assignment subscript identifier identifier cal...
pops multiple keys off a dict like object
module function_definition identifier parameters block expression_statement call attribute identifier identifier argument_list string string_start string_content string_end for_statement identifier identifier block expression_statement call attribute identifier identifier argument_list expression_statement call attribu...
Print warning about interrupt and empty the job queue.
module function_definition identifier parameters identifier block if_statement boolean_operator call identifier argument_list identifier call identifier argument_list identifier identifier block return_statement call identifier argument_list identifier elif_clause call identifier argument_list identifier identifier blo...
Convert a Python class into a type signature.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier if_statement attribute identifier identifier block raise_statement call identifier argument_list call attribute string string_start string...
Validate that a vertex classname corresponds to a non-abstract vertex class.
module function_definition identifier parameters identifier block if_statement not_operator call identifier argument_list identifier identifier block raise_statement call identifier argument_list call attribute concatenated_string string string_start string_content string_end string string_start string_content string_e...
Represent a float as a string without losing precision.
module function_definition identifier parameters identifier block expression_statement assignment identifier attribute identifier identifier expression_statement assignment identifier call identifier argument_list identifier if_statement comparison_operator identifier integer block return_statement subscript identifier...
The last entry in code_builder, or ``None`` if none so far.
module function_definition identifier parameters typed_parameter identifier type identifier type identifier block return_statement comparison_operator call attribute identifier identifier argument_list string string_start string_content string_end identifier keyword_argument identifier attribute identifier identifier n...
Try to identify whether this is an ActivityPub ID.
module function_definition identifier parameters identifier default_parameter identifier false block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end if_statement identifier block expression_statement assignm...
Removes a profile from your config
module function_definition identifier parameters identifier block expression_statement assignment identifier 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_co...
Return the mnemonic represented by the given string.
module function_definition identifier parameters identifier typed_parameter identifier type identifier block if_statement boolean_operator comparison_operator attribute identifier identifier none not_operator call identifier argument_list attribute identifier identifier attribute identifier identifier block return_stat...
Returns True if the supplied ControllerDiscovery matches this requirement, False otherwise
module function_definition identifier parameters block expression_statement assignment identifier list for_statement tuple_pattern identifier identifier call attribute attribute identifier identifier identifier argument_list block expression_statement call attribute identifier identifier argument_list call identifier a...
Return a list of all editable extensions
module function_definition identifier parameters identifier block expression_statement call attribute attribute identifier identifier identifier argument_list true expression_statement call attribute attribute identifier identifier identifier argument_list expression_statement assignment identifier call attribute ident...
Assigns an editor based on the current column for this schema.
module function_definition identifier parameters block expression_statement assignment identifier list tuple string string_start string_content string_end string string_start string_content string_end tuple string string_start string_content string_end string string_start string_content string_end tuple string string_s...
Show the list of registered images in this cluster.
module function_definition identifier parameters identifier identifier list_splat_pattern identifier block return_statement list_comprehension identifier for_in_clause identifier tuple string string_start string_content string_end string string_start string_content string_end string string_start string_content string_e...
Autocomplete for allow_select_scan option
module function_definition identifier parameters identifier default_parameter identifier none block expression_statement call identifier argument_list binary_operator binary_operator attribute identifier identifier call attribute string string_start string_content string_end identifier argument_list attribute identifie...
The name IS required here.
module function_definition identifier parameters identifier identifier block for_statement identifier subscript attribute identifier identifier identifier block try_statement block expression_statement call attribute identifier identifier argument_list identifier expression_statement assignment subscript attribute iden...
Stops a running or dead task
module function_definition identifier parameters identifier default_parameter identifier none block expression_statement string string_start string_content string_end expression_statement call attribute identifier identifier argument_list string string_start string_content string_end expression_statement call attribute...
Delete the shelve data file.
module function_definition identifier parameters identifier block try_statement block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list identifier return_statement binary_operator binary_operator call attribute identifier identifier argument_list binary_o...
Parse rfc1123, rfc850 and asctime timestamps and return UTC epoch.
module function_definition identifier parameters identifier identifier block if_statement comparison_operator identifier string string_start string_content string_end block return_statement call attribute string string_start string_content string_end identifier argument_list keyword_argument identifier attribute identi...
Get the local filename for a keyring type
module function_definition identifier parameters identifier default_parameter identifier identifier block expression_statement assignment identifier attribute identifier identifier while_statement comparison_operator identifier call identifier argument_list identifier block expression_statement assignment identifier su...
Skip past a list of characters
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list for_statement identifier call attribute attribute identifier identifier identifier argument_list block expression_statement augmented_assignment identifier call identifier argument_...
Get all timestamps from all series in the group.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier subscript identifier identifier expression_statement assignment identifier subscript identifier identifier if_statement boolean_operator comparison_operator identifier none not_operator attribute iden...
Attempt to auto-decode data
module function_definition identifier parameters identifier block expression_statement assignment identifier string string_start string_content string_end expression_statement assignment identifier dictionary pair string string_start string_content string_end string string_start string_content string_end expression_sta...
Read the current instance's meta-data to get the cluster settings.
module function_definition identifier parameters identifier identifier block try_statement block if_statement call attribute attribute identifier identifier identifier argument_list identifier block return_statement true return_statement false except_clause as_pattern attribute identifier identifier as_pattern_target i...
Check to see if a Queue exists.
module function_definition identifier parameters identifier identifier block if_statement comparison_operator identifier attribute identifier identifier block raise_statement call identifier argument_list string string_start string_content string_end delete_statement subscript attribute identifier identifier identifier
Disconnect an observer from this subject
module function_definition identifier parameters identifier identifier identifier default_parameter identifier none default_parameter identifier none default_parameter identifier false block expression_statement call identifier argument_list string string_start string_content string_end expression_statement assignment ...
Calculates contributing area with Dinf method.
module function_definition identifier parameters block for_statement pattern_list identifier 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 strin...
Analyse enviroment variables and update conf accordingly
module function_definition identifier parameters identifier block if_statement not_operator call identifier argument_list identifier string string_start string_content string_end block expression_statement assignment identifier call attribute attribute attribute identifier identifier identifier identifier argument_list...
Mix of database and connector settings.
module function_definition identifier parameters identifier block expression_statement assignment identifier integer expression_statement assignment identifier float expression_statement assignment identifier call attribute identifier identifier argument_list tuple identifier integer expression_statement assignment sub...
Simulate data to model combi regulation.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier dictionary pair string string_start string_content string_end call identifier argument_list pair string string_start string_content string_end call identifier argument_list pair string stri...
Iterate over cities info and extract useful data
module function_definition identifier parameters identifier default_parameter identifier true block return_statement call identifier argument_list attribute identifier identifier identifier keyword_argument identifier identifier
Open scale axes dialog
module function_definition identifier parameters identifier default_parameter identifier string string_start string_end block expression_statement assignment identifier call attribute call attribute call attribute identifier identifier argument_list identifier argument_list identifier argument_list if_statement compari...
Send request details to logging system.
module function_definition identifier parameters identifier default_parameter identifier none default_parameter identifier false block import_statement aliased_import dotted_name identifier identifier expression_statement assignment identifier call attribute identifier identifier argument_list for_statement identifier ...
Get a networkx representation of the binary search tree.
module function_definition identifier parameters identifier identifier block return_statement binary_operator binary_operator call attribute identifier identifier argument_list string string_start string_content string_end line_continuation call attribute call identifier argument_list identifier identifier argument_lis...
Create a DMAP tag with string data.
module function_definition identifier parameters identifier block expression_statement assignment pattern_list attribute identifier identifier attribute identifier identifier line_continuation call attribute identifier identifier argument_list attribute identifier identifier keyword_argument identifier true
Read the tabulated spectral irradiance data from file
module function_definition identifier parameters identifier block for_statement pattern_list identifier identifier call attribute identifier identifier argument_list block if_statement call attribute identifier identifier argument_list string string_start string_content string_end false block expression_statement yield...
Get a list of the variables that are defined, but not required
module function_definition identifier parameters identifier block expression_statement assignment identifier list for_statement identifier identifier block expression_statement call attribute identifier identifier argument_list call attribute identifier identifier argument_list return_statement identifier
Return the stripped version of the arguments.
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list for_statement identifier identifier block if_statement comparison_operator identifier identifier block expression_statement call attribute identifier identifier argument_list identi...
Get an iterator over unique items of `ible`.
module function_definition identifier parameters identifier default_parameter identifier unary_operator integer default_parameter identifier binary_operator integer integer default_parameter identifier attribute identifier identifier default_parameter identifier attribute attribute identifier identifier identifier defa...
Search zipcode information by median home value.
module function_definition identifier parameters identifier identifier block if_statement comparison_operator string string_start string_content string_end identifier block if_statement call identifier argument_list binary_operator parenthesized_expression comparison_operator subscript identifier string string_start st...
Verify, modify & return a copy of the params.
module function_definition identifier parameters identifier block expression_statement assignment identifier list_comprehension call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end none for_in_clause identifier call attribute identifier identifier argumen...
All contained data array are in the same projection.
module function_definition identifier parameters identifier block if_statement not_operator call identifier argument_list identifier block return_statement call attribute identifier identifier argument_list identifier else_clause block return_statement call attribute identifier identifier argument_list identifier
If the user is logged in, returns the logout button, otherwise returns the login button
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier string string_start string_content string_end expression_statement assignment identifier call attribute string string_start string_content string_end identifier argument_list attribute attribute ident...
Terminates a running job.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier string string_start string_end for_statement identifier call attribute attribute identifier identifier identifier argument_list block expression_statement augmented_assignment identifier call attribut...
Build vote information for the request.
module function_definition identifier parameters identifier block if_statement comparison_operator call attribute identifier identifier argument_list attribute identifier identifier block expression_statement call attribute identifier identifier argument_list attribute identifier identifier else_clause block expression...
Hard reset the power of this node.
module function_definition identifier parameters identifier block return_statement call attribute identifier identifier argument_list binary_operator attribute identifier identifier binary_operator attribute identifier identifier call identifier argument_list identifier
Converts Timestamp to datetime.
module function_definition identifier parameters identifier default_parameter identifier none block if_statement not_operator identifier block expression_statement assignment identifier attribute identifier identifier if_statement identifier block expression_statement assignment identifier call identifier argument_list...
Gets the default values set for a resource
module function_definition identifier parameters identifier block if_statement comparison_operator attribute identifier identifier none block expression_statement assignment attribute identifier identifier call identifier argument_list keyword_argument identifier string string_start string_content string_end keyword_ar...
Temporary directory holding all the runtime data.
module function_definition identifier parameters default_parameter identifier string string_start string_content string_end block if_statement boolean_operator not_operator call attribute attribute identifier identifier identifier argument_list identifier not_operator call attribute attribute identifier identifier iden...
Parses a smarterling configuration file
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier return_statement call identifier argument_list attribute identifier identifier
Gets an iterator over the prefixes for the given namespace.
module function_definition identifier parameters identifier identifier block return_statement call attribute identifier identifier argument_list identifier attribute identifier identifier attribute identifier identifier
find the of a variable
module function_definition identifier parameters identifier block expression_statement call identifier argument_list attribute identifier identifier with_statement with_clause with_item call attribute identifier identifier argument_list identifier block expression_statement call attribute identifier identifier argument...
Install or update development dependencies
module function_definition identifier parameters identifier block expression_statement assignment identifier subscript subscript attribute identifier identifier string string_start string_content string_end string string_start string_content string_end expression_statement call attribute attribute identifier identifier...
Use JSON files to create Pipelines.
module function_definition identifier parameters identifier identifier identifier default_parameter identifier string string_start string_end default_parameter identifier string string_start string_content string_end default_parameter identifier string string_start string_content string_end block expression_statement a...
Remove some units from somewhere.
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...
Save a dictionary of metadata to a group's attrs.
module function_definition identifier parameters identifier identifier identifier identifier block if_statement comparison_operator attribute attribute identifier identifier identifier none block expression_statement assignment identifier attribute subscript attribute identifier identifier string string_start string_co...
Hash password when saving.
module function_definition identifier parameters 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 expression_statement assignment identifier call attribute at...
Show pending notifications for a user.
module function_definition identifier parameters block if_statement attribute attribute identifier identifier identifier block expression_statement call attribute identifier identifier argument_list keyword_argument identifier attribute attribute identifier identifier identifier keyword_argument identifier true else_cl...
Parse all the command line options which control the config system.
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list identifier identifier for_statement identifier attribute identifier identifier block if_statement not_operator call identifier argument_list call attribute attribute identifier iden...
Create a TrackingEvent and TrackedFieldModification for a CREATE event.
module function_definition identifier parameters identifier block expression_statement assignment identifier list identifier expression_statement assignment identifier list for_statement identifier identifier block expression_statement call attribute identifier identifier argument_list call identifier argument_list ide...
Return a list of topics.
module function_definition identifier parameters identifier block if_statement attribute identifier identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list call attribute identifier identifier argument_list attribute identifier identifier else_...
Dict representation of all credentials for the database.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier list_comprehension identifier for_in_clause identifier identifier if_clause call attribute identifier identifier argument_list identifier return_statement call identifier argument_list identifier
Returns a list with all objects in a house.
module function_definition identifier parameters block expression_statement assignment identifier list tuple string string_start string_content string_end string string_start string_content string_end tuple string string_start string_content string_end string string_start string_content string_end tuple string string_s...
Show the server-side information of the currently configured access key.
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list expression_statement assignment identifier dictionary pair string string_start string_content string_end dictionary pair string string_start string_content string_end string string_...
Barplot of combined pairs
module function_definition identifier parameters identifier block expression_statement assignment identifier false try_statement block expression_statement assignment identifier call attribute identifier identifier argument_list identifier except_clause tuple attribute identifier identifier identifier block pass_statem...
Verify that `path` is a zip file with Phasics TIFF files
module function_definition identifier parameters identifier identifier dictionary_splat_pattern identifier block if_statement not_operator call identifier argument_list identifier identifier block raise_statement call identifier argument_list call attribute subscript subscript identifier string string_start string_cont...
Validate that the value is one of the provided primative types.
module function_definition identifier parameters identifier identifier default_parameter identifier none block expression_statement assignment identifier dictionary_comprehension pair identifier attribute subscript attribute identifier identifier identifier identifier for_in_clause identifier attribute identifier ident...
Initialize the predictor module for running prediction.
module function_definition identifier parameters identifier default_parameter identifier none block if_statement not_operator attribute identifier identifier block return_statement identifier if_statement not_operator identifier block return_statement identifier if_statement not_operator attribute identifier identifier...
collect the furthest failure from self and other.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier dictionary_comprehension pair call identifier argument_list call identifier argument_list attribute identifier identifier identifier for_in_clause pattern_list identifier identifier call attribute att...
Given an AST, iterate over all the keys of all the BVS leaves in the tree which are registered.
module function_definition identifier parameters identifier identifier default_parameter identifier list default_parameter identifier none block if_statement comparison_operator identifier identifier block expression_statement assignment subscript identifier identifier call attribute identifier identifier argument_list...
return Code.ARGUMENT_MISSING if every key in must not found in param
module function_definition identifier parameters identifier identifier default_parameter identifier call identifier argument_list block expression_statement assignment identifier call attribute identifier identifier argument_list try_statement block expression_statement assignment identifier call identifier argument_li...
Send text to entities nearby this one.
module function_definition identifier parameters identifier identifier identifier block expression_statement call attribute identifier identifier argument_list identifier identifier none expression_statement call attribute identifier identifier argument_list identifier identifier identifier
Register a client connection to a namespace.
module function_definition identifier parameters identifier identifier block expression_statement call attribute attribute attribute identifier identifier identifier identifier argument_list string string_start string_content string_end call identifier argument_list call attribute identifier identifier argument_list
Changes the value of window-vertical-displacement
module function_definition identifier parameters typed_parameter identifier type generic_type identifier type_parameter type identifier typed_parameter identifier type identifier type identifier block expression_statement assignment identifier call identifier argument_list identifier for_statement identifier identifier...
Frequency each value occurs in a record sequence for a given field name.
module function_definition identifier parameters identifier identifier block expression_statement assignment pattern_list identifier identifier call attribute identifier identifier argument_list identifier identifier if_statement comparison_operator identifier none block raise_statement call attribute identifier identi...
Add user to role.
module function_definition identifier parameters identifier block if_statement comparison_operator attribute identifier identifier call identifier argument_list attribute identifier identifier block raise_statement identifier expression_statement assignment identifier call attribute subscript attribute identifier ident...
Returns the next row in the CSV, for iteration
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier binary_operator binary_operator identifier float identifier expression_statement assignment pattern_list identifier identifier expression_list call identifier argument_list identifier call identifier ...
Concatenates a rotation matrix on this matrix
module function_definition identifier parameters identifier identifier list_splat_pattern identifier dictionary_splat_pattern identifier block if_statement identifier block expression_statement assignment identifier call attribute identifier identifier argument_list call identifier argument_list call attribute identifi...
Render html container for Select2 widget with options.
module function_definition identifier parameters identifier block expression_statement assignment pattern_list identifier identifier attribute identifier identifier expression_statement assignment identifier call identifier argument_list identifier expression_statement assignment identifier attribute attribute identifi...
Returns the class name that generates this gate.
module function_definition identifier parameters typed_parameter identifier type generic_type identifier type_parameter type identifier type identifier type none block if_statement call attribute call identifier argument_list tuple string string_start string_content string_end string string_start string_content string_...
Validate that a manifest's deployments contracts reference existing contract_types.
module function_definition identifier parameters identifier block if_statement not_operator call attribute identifier identifier argument_list string string_start string_content string_end block return_statement call identifier argument_list identifier expression_statement assignment identifier subscript call attribute...
Determine the real deal template file
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier call attribute attribute identifier identifier identifier argument_list identifier if_statement identifier block expression_sta...
Ensure value contained in label is a positive integer.
module function_definition identifier parameters identifier identifier identifier block expression_statement call attribute attribute identifier identifier identifier argument_list try_statement block for_statement identifier identifier block if_statement comparison_operator call identifier argument_list identifier ide...
lookup object in directory with attribute matching value