sequence
stringlengths
186
3.94k
docstring
stringlengths
11
171
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call identifier argument_list keyword_argument identifier attribute identifier identifier if_statement call identifier argument_list identifier identifier block expression_statement call at...
Parse the xml data into dictionary.
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 attribute identifier identifier argument_list call identifier argument_list integer...
Displays the popup associated with this navigator.
module function_definition identifier parameters block expression_statement call attribute identifier identifier argument_list string string_start string_content string_end expression_statement assignment identifier call identifier argument_list list_comprehension call identifier argument_list identifier string string_...
Returns True if the import hooks are installed, False if not.
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 try_statement block expression_statement call attribute identifier identifier argument_list identi...
Adds an announcement to the registry for later analysis.
module function_definition identifier parameters identifier identifier block if_statement comparison_operator attribute identifier identifier identifier block expression_statement assignment subscript identifier attribute identifier identifier identifier else_clause block expression_statement assignment identifier bina...
Adds the given Packet Definition to this Telemetry Dictionary.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list identifier none if_statement identifier block expression_statement call attribute attribute identifier identifier identifier arg...
Expire a specific object from cache.
module function_definition identifier parameters identifier default_parameter identifier false block expression_statement assignment identifier list_comprehension attribute identifier identifier for_in_clause identifier attribute identifier identifier if_statement boolean_operator comparison_operator call identifier ar...
Self-validate the box before writing.
module function_definition identifier parameters identifier identifier identifier default_parameter identifier none default_parameter identifier none default_parameter identifier string string_start string_content string_end dictionary_splat_pattern identifier block if_statement boolean_operator call identifier argumen...
Compute a binary operation block-wise over `data`.
module function_definition identifier parameters 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 identifier argu...
Extract data from provided file and return it as a string.
module function_definition identifier parameters default_parameter identifier none block if_statement comparison_operator identifier none block expression_statement assignment identifier tuple string string_start string_content string_end string string_start string_content string_end for_statement identifier identifier...
Reads the config file using configparser
module function_definition identifier parameters identifier identifier identifier block return_statement call attribute identifier identifier argument_list identifier identifier keyword_argument identifier true
Logical opposite of `wherein`.
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list if_statement comparison_operator call attribute identifier identifier argument_list identifier none block expression_statement assignment subscript identifier identifier call identi...
get the counter storage
module function_definition identifier parameters default_parameter identifier none block import_statement dotted_name identifier expression_statement assignment identifier call attribute identifier identifier argument_list keyword_argument identifier concatenated_string string string_start string_content string_end str...
Exposes K2visible to the command line.
module function_definition identifier parameters identifier default_parameter identifier none block global_statement identifier expression_statement assignment identifier call identifier argument_list identifier keyword_argument identifier identifier expression_statement assignment subscript identifier attribute identi...
Add a matplotlib colormap.
module function_definition identifier parameters identifier identifier block if_statement not_operator call identifier argument_list subscript identifier integer identifier block expression_statement assignment identifier call identifier argument_list subscript identifier integer else_clause block expression_statement ...
Helper for _namespace_requested. Supports limited wildcards
module function_definition identifier parameters identifier identifier identifier identifier identifier block expression_statement assignment identifier list_comprehension identifier for_in_clause identifier call identifier argument_list identifier identifier if_clause comparison_operator attribute identifier identifie...
Reset the stats of a term by deleting and re-creating it.
module function_definition identifier parameters identifier block expression_statement call attribute identifier identifier argument_list try_statement block expression_statement assignment identifier call attribute identifier identifier argument_list attribute attribute identifier identifier identifier call attribute ...
Adds a new peer into this repo
module function_definition identifier parameters identifier block if_statement comparison_operator attribute identifier identifier string string_start string_content string_end block expression_statement assignment identifier subscript subscript call attribute identifier identifier argument_list comparison_operator cal...
Internal method for initialization of the GP inference objetct
module function_definition identifier parameters identifier block if_statement call identifier argument_list identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list attribute identifier identifier return_statement call identifier argument_list identifier...
Truncate the values to the integer value without rounding
module function_definition identifier parameters identifier identifier block with_statement with_clause with_item as_pattern call attribute identifier identifier argument_list identifier string string_start string_content string_end as_pattern_target identifier block expression_statement assignment identifier call iden...
Convert a h5features file to the latest h5features version.
module function_definition identifier parameters identifier block for_statement identifier attribute identifier identifier block if_statement call identifier argument_list identifier identifier block if_statement call identifier argument_list identifier identifier block expression_statement call attribute identifier id...
Make sure packages get propagated.
module function_definition identifier parameters identifier block expression_statement assignment identifier none expression_statement assignment identifier none expression_statement assignment identifier integer for_statement identifier attribute identifier identifier block if_statement call attribute identifier ident...
Returns the start and end line of the DOcBlock of the stored routine code.
module function_definition identifier parameters identifier block expression_statement assignment subscript attribute identifier identifier attribute identifier identifier call attribute identifier identifier argument_list return_statement call identifier argument_list attribute identifier identifier attribute identifi...
Display the DirectPayment for entering payment information.
module function_definition identifier parameters identifier default_parameter identifier integer default_parameter identifier none default_parameter identifier none block expression_statement string string_start string_content string_end expression_statement assignment identifier list_comprehension identifier for_in_cl...
Scale input numbers to appropriate range.
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list for_statement identifier attribute identifier identifier block if_statement comparison_operator attribute identifier identifier identifier ...
Sets or returns the option selected in a ButtonGroup by its text value.
module function_definition identifier parameters identifier default_parameter identifier none block expression_statement assignment identifier call attribute identifier identifier argument_list for_statement pattern_list identifier identifier call attribute identifier identifier argument_list block expression_statement...
Create indexes and put mapping.
module function_definition identifier parameters identifier block import_from_statement dotted_name identifier identifier identifier dotted_name identifier if_statement identifier block expression_statement await call attribute identifier identifier argument_list call identifier argument_list lambda lambda_parameters i...
Wait until all task are executed.
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list for_statement identifier attribute identifier identifier block expression_statement assignment identifier call identifier argument_list identifier return_statem...
Run the query, generating data from the `seed_fn` and performing transforms on the results.
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list list_comprehension identifier for_in_clause pattern_list identifier identifier attribute identifier identifier expression_statement assignment identifier call identifier argument_li...
Ensure all tags are used in some filter.
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list expression_statement call attribute identifier identifier argument_list call attribute attribute identifier identifier identifier argument_list identifier string string_start string...
Read the remote origin URL from the given git repo, or None if unset.
module function_definition identifier parameters default_parameter identifier false block if_statement identifier block expression_statement call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end expression_statement call identifier argument_list string str...
allow sudo calls through ssh without a tty
module function_definition identifier parameters identifier identifier default_parameter identifier string string_start string_content string_end default_parameter identifier true block if_statement comparison_operator identifier true block expression_statement assignment identifier binary_operator call attribute ident...
Retrieves the ThirdPartyLibraryDetails instance for Unreal-bundled versions of the specified third-party libraries
module function_definition identifier parameters identifier identifier identifier identifier block return_statement call attribute call attribute call identifier argument_list identifier identifier identifier argument_list identifier identifier identifier identifier argument_list
Deserialize an ISO8601-formatted date.
module function_definition identifier parameters identifier block expression_statement assignment identifier conditional_expression string string_start string_content string_end not_operator identifier string string_start string_content string_end expression_statement assignment identifier call identifier argument_list...
Build a binary distribution wheel and install it
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier expression_statement assignment identifier call attribute identifier identifier argument_list identifier return_statement call attribute i...
Return True if x or y is a NaN and False otherwise.
module function_definition identifier parameters identifier block return_statement binary_operator attribute attribute identifier identifier identifier parenthesized_expression binary_operator attribute attribute identifier identifier identifier parenthesized_expression binary_operator attribute attribute identifier id...
Instantaneous RV of star 1 with respect to system center-of-mass
module function_definition identifier parameters identifier typed_parameter identifier type identifier typed_parameter identifier type identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier expression_statement assignment identifier await call attribute...
Generates and send a generic template.
module function_definition identifier parameters identifier type identifier block expression_statement assignment pattern_list identifier identifier identifier call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end return_statement conditional_expression tu...
Return the receiver's qualified name.
module function_definition identifier parameters identifier default_parameter identifier integer default_parameter identifier true block if_statement boolean_operator not_operator call identifier argument_list identifier identifier not_operator call identifier argument_list subscript identifier integer identifier block...
Function to query for a single coordinate
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_end expression_statement assignment identifier call attribute identifier ide...
handle a message and return an gif
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement assignment identifier call attribute call attribute identifier identifier argument_list identifier argument_list identifier return_statemen...
Get the item from redis.
module function_definition identifier parameters identifier block expression_statement assignment identifier subscript identifier slice unary_operator integer expression_statement assignment identifier call identifier argument_list keyword_argument identifier string string_start string_content string_end keyword_argume...
Given a URL or filename, infer the compression code for tar.
module function_definition identifier parameters identifier block if_statement comparison_operator string string_start string_content string_end call attribute call attribute identifier identifier argument_list identifier argument_list block return_statement identifier try_statement block return_statement call identifi...
Convert to float if object is a float string.
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement assignment attribute identifier identifier call identifier argument_list identifier return_statement attribute identifier identifier
Poll YubiKey for status.
module function_definition identifier parameters identifier block if_statement comparison_operator call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end block return_statement none if_statement comparison_operator attribute identifier identifier none block...
Returns the fptr @FILEID if this is not a Directory.
module function_definition identifier parameters identifier typed_parameter identifier type identifier typed_default_parameter identifier type identifier attribute identifier identifier block expression_statement string string_start string_content string_end expression_statement assignment identifier call attribute ide...
Create an instance of `ClassificationInterpretation`
module function_definition identifier parameters identifier identifier identifier default_parameter identifier none default_parameter identifier none block if_statement not_operator call attribute identifier identifier argument_list identifier block with_statement with_clause with_item as_pattern call identifier argume...
Calculate background reference, handling flat case with no normal sample.
module function_definition identifier parameters identifier typed_parameter identifier type attribute identifier identifier typed_parameter identifier type identifier typed_parameter identifier type identifier typed_parameter identifier type identifier type boolean_operator identifier none block try_statement block exp...
wrap the final result as an Extraction and return
module function_definition identifier parameters identifier block for_statement identifier attribute attribute attribute identifier identifier identifier identifier block if_statement call identifier argument_list identifier attribute identifier identifier block return_statement identifier return_statement false
Returns the raster FileField instance on the model.
module function_definition identifier parameters identifier block try_statement block expression_statement assignment pattern_list identifier identifier call attribute identifier identifier argument_list string string_start string_content string_end integer except_clause identifier block raise_statement call identifier...
Load backend by dotted path.
module function_definition identifier parameters identifier identifier identifier default_parameter identifier string string_start string_end block if_statement comparison_operator identifier integer block expression_statement call identifier argument_list binary_operator call attribute identifier identifier argument_l...
Print the name without suffix.
module function_definition identifier parameters identifier identifier identifier block return_statement call attribute attribute identifier identifier identifier argument_list keyword_argument identifier identifier keyword_argument identifier identifier
Create a node for a participant.
module function_definition identifier parameters identifier identifier list_splat_pattern identifier block expression_statement call attribute attribute identifier identifier identifier argument_list attribute attribute identifier identifier identifier identifier list_splat identifier
Log a message against the current workunit.
module function_definition identifier parameters identifier identifier identifier block if_statement comparison_operator identifier none block return_statement expression_statement assignment identifier call attribute identifier identifier argument_list if_statement comparison_operator identifier call identifier argume...
File was renamed, updating outline explorer tree
module function_definition identifier parameters identifier block return_statement dictionary pair string string_start string_content string_end string string_start string_content string_end pair string string_start string_content string_end true pair string string_start string_content string_end dictionary pair string...
Return ContextService arguments for su as a become method.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment subscript identifier string string_start string_content string_end list_comprehension call identifier argument_list identifier subscript identifier string string_start string_content string_end for_in...
Return an instance of the appropriate class from the json dict.
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement assignment subscript identifier string string_start string_content string_end subscript identifier subscript call attribute subscript ident...
Adds a 'pos1' element to a frog token.
module function_definition identifier parameters identifier identifier identifier dictionary_splat_pattern identifier block expression_statement assignment identifier dictionary pair string string_start string_content string_end identifier pair string string_start string_content string_end identifier if_statement compa...
Create a new firlwall rule
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list return_statement call identifier argument_list binary_operator call identifier argument_list identifier call identifier argument_list identifier
Average heart rate of the workout
module function_definition identifier parameters identifier type string string_start string_content string_end block import_statement aliased_import dotted_name identifier identifier expression_statement assignment identifier dictionary pair string string_start string_content string_end call attribute identifier identi...
Convert to xarray.Dataset
module function_definition identifier parameters identifier block expression_statement call attribute attribute identifier identifier identifier argument_list binary_operator string string_start string_content string_end attribute identifier identifier if_statement comparison_operator attribute identifier identifier no...
Creates a TCP connection to Device Cloud and sends a ConnectionRequest message
module function_definition identifier parameters identifier block expression_statement call attribute attribute identifier identifier identifier argument_list identifier while_statement not_operator attribute identifier identifier block expression_statement assignment identifier await call attribute attribute identifie...
Register with the publisher.
module function_definition identifier parameters identifier default_parameter identifier none dictionary_splat_pattern identifier block function_definition identifier parameters identifier block expression_statement assignment identifier identifier if_statement call identifier argument_list identifier identifier block ...
Creates routes from a class, where the class method names should line up to HTTP METHOD types
module function_definition identifier parameters identifier block expression_statement assignment identifier attribute identifier identifier if_statement not_operator call identifier argument_list identifier block return_statement false for_statement identifier call attribute identifier identifier argument_list block e...
Checks if the attribute is a valid attribute for a queryset manager.
module function_definition identifier parameters identifier block decorated_definition decorator call identifier argument_list identifier function_definition identifier parameters list_splat_pattern identifier dictionary_splat_pattern identifier block expression_statement assignment identifier subscript identifier inte...
Validate that the call is JSON.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment pattern_list identifier identifier identifier identifier call identifier argument_list identifier identifier expression_statement assignment identifier binary_operator identifier identifier expression...
given a table, print the percentages rather than the totals
module function_definition identifier parameters identifier identifier identifier block try_statement block if_statement subscript identifier string string_start string_content string_end block if_statement call attribute subscript identifier string string_start string_content string_end identifier argument_list block ...
Deal with hosting device removed RPC message.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call attribute attribute call attribute identifier identifier argument_list identifier identifier identifier argument_list identifier return_statement call attribute identifier identifier a...
Unset the flavor extra spec keys.
module function_definition identifier parameters identifier identifier list_splat_pattern identifier dictionary_splat_pattern identifier block expression_statement assignment identifier call attribute identifier identifier argument_list try_statement block expression_statement call attribute identifier identifier argum...
Returns a row list for the given query and parameters.
module function_definition identifier parameters identifier identifier dictionary_splat_pattern identifier block expression_statement yield call attribute identifier identifier argument_list if_statement not_operator attribute attribute identifier identifier identifier block expression_statement assignment identifier c...
If parent resource is not an editable state, should not be able to update
module function_definition identifier parameters identifier block expression_statement assignment identifier string string_start string_content string_end if_statement comparison_operator attribute identifier identifier none block expression_statement augmented_assignment identifier string string_start string_content s...
Print the header for screen logging
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier binary_operator string string_start string_content escape_sequence string_end binary_operator string string_start string_content string_end identifier return_statement call attribute identi...
Wrap a string at a line length
module function_definition identifier parameters identifier block if_statement comparison_operator attribute identifier identifier attribute identifier identifier block return_statement expression_list none call identifier argument_list identifier string string_start string_content string_end elif_clause comparison_ope...
Unpack an NCStream Variable into information we can use.
module function_definition identifier parameters identifier identifier block if_statement identifier block expression_statement assignment identifier integer else_clause block expression_statement assignment identifier integer expression_statement assignment identifier binary_operator attribute identifier identifier in...
Write a boolean value.
module function_definition identifier parameters identifier identifier default_parameter identifier string string_start string_content string_end dictionary_splat_pattern identifier block expression_statement assignment identifier dictionary pair string string_start string_content string_end identifier pair string stri...
Initialize the corect Response object from the response string based on the API command type.
module function_definition identifier parameters identifier identifier identifier identifier identifier default_parameter identifier string string_start string_content string_end default_parameter identifier integer default_parameter identifier none block expression_statement assignment identifier comparison_operator s...
Scatter of group using representation of data Y.
module function_definition identifier parameters identifier block return_statement boolean_operator comparison_operator attribute attribute identifier identifier identifier attribute attribute identifier identifier identifier line_continuation call attribute call identifier argument_list identifier identifier identifie...
Check if the number of plurals in the two languages is the same.
module function_definition identifier parameters identifier identifier identifier identifier identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement assignment pattern_list identifier identifier call attribute identifier identifier a...
Disable a VLAN on a trunk interface.
module function_definition identifier parameters identifier default_parameter identifier none block expression_statement assignment identifier call identifier argument_list expression_statement assignment identifier dictionary_comprehension pair attribute identifier identifier identifier for_in_clause identifier call a...
Returns error message for colocation of state ops, or None if ok.
module function_definition identifier parameters identifier identifier list_splat_pattern identifier dictionary_splat_pattern identifier block expression_statement assignment identifier call attribute identifier identifier argument_list string string_start string_content string_end attribute identifier identifier for_s...
Notifies each user with a specified command.
module function_definition identifier parameters identifier identifier identifier default_parameter identifier none default_parameter identifier none dictionary_splat_pattern identifier block expression_statement assignment identifier call attribute identifier identifier argument_list string string_start string_content...
Returns a list of mapped objects from an HTTP resource.
module function_definition identifier parameters identifier identifier block try_statement block expression_statement assignment identifier call attribute identifier identifier argument_list string string_start string_content string_end except_clause identifier block return_statement identifier else_clause block expres...
Change the ms part in the string if needed.
module function_definition identifier parameters identifier default_parameter identifier none block assert_statement call identifier argument_list identifier identifier import_from_statement dotted_name identifier dotted_name identifier expression_statement assignment attribute identifier identifier identifier expressi...
Converts a var_instance to a function one
module function_definition identifier parameters identifier block assert_statement comparison_operator attribute identifier identifier integer assert_statement comparison_operator subscript attribute identifier identifier integer subscript attribute identifier identifier integer if_statement comparison_operator subscri...
given N matrices, return N determinants
module function_definition identifier parameters identifier block expression_statement call identifier argument_list binary_operator string string_start string_content string_end attribute attribute identifier identifier identifier keyword_argument identifier attribute identifier identifier expression_statement assignm...
connect to the remote host
module function_definition identifier parameters block expression_statement assignment identifier list with_statement with_clause with_item as_pattern call identifier argument_list string string_start string_content string_end as_pattern_target identifier block for_statement identifier identifier block expression_state...
Build the requirements list for this project
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list identifier string string_start string_content string_end string string_start string_content string_end expression_statement assi...
Create a new dataset from a template.
module function_definition identifier parameters identifier identifier block if_statement comparison_operator call attribute identifier identifier argument_list string string_start string_content string_end block if_statement identifier block return_statement call attribute attribute identifier identifier identifier ar...
A utility function to return samples according to type
module function_definition identifier parameters identifier identifier identifier block expression_statement string string_start string_content string_end if_statement call identifier argument_list identifier tuple identifier identifier block expression_statement assignment subscript identifier identifier identifier el...
set mulitple items via index of int, slice or list
module function_definition identifier parameters identifier identifier identifier default_parameter identifier string string_start string_end default_parameter identifier integer default_parameter identifier integer block expression_statement assignment identifier call attribute attribute identifier identifier identifi...
Create the special "first in block" transaction that includes the mining fees.
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 expression_statement assignment identifier call attribute identifier identifier ar...
Decompress the passed-in compact script and return the result.
module function_definition identifier parameters identifier identifier block if_statement call attribute attribute call attribute identifier identifier argument_list identifier identifier argument_list attribute identifier identifier block expression_statement call attribute identifier identifier argument_list elif_cla...
Use the keyboard to control selection of the buttons.
module function_definition identifier parameters identifier typed_parameter identifier type identifier type attribute identifier identifier block expression_statement assignment pattern_list identifier identifier identifier expression_list binary_operator identifier integer unary_operator integer unary_operator integer...
Returns the input tensor for the given `horizon`.
module function_definition identifier parameters identifier identifier block if_statement attribute identifier identifier block return_statement tuple attribute identifier identifier string string_start string_content string_end try_statement block expression_statement assignment identifier call attribute identifier id...
Retrieves information for an IP4 address.
module function_definition identifier parameters identifier identifier default_parameter identifier none block if_statement comparison_operator identifier none block expression_statement call attribute identifier identifier argument_list string string_start string_content string_end attribute identifier identifier expr...
Remove multiple phenotypes from an individual.
module function_definition identifier parameters identifier block expression_statement assignment identifier attribute identifier identifier if_statement comparison_operator call attribute identifier identifier argument_list integer block expression_statement call identifier argument_list binary_operator string string_...
close the loop on a mission
module function_definition identifier parameters identifier identifier block expression_statement assignment pattern_list identifier identifier identifier identifier call attribute attribute identifier identifier identifier argument_list call identifier argument_list identifier return_statement call identifier argument...
For now, all lookup is done by git itself
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list keyword_argument identifier identifier if_statement call attribute call attribute identifier identifier argument_list...
Handle situation when FCM server response contains canonical ID
module function_definition identifier parameters identifier default_parameter identifier none default_parameter identifier none dictionary_splat_pattern identifier block try_statement block expression_statement assignment identifier subscript call attribute attribute call identifier argument_list identifier identifier ...
Allow users to log in with their email address or username.
module function_definition identifier parameters identifier block assert_statement call attribute attribute identifier identifier identifier argument_list attribute identifier identifier binary_operator string string_start string_content string_end call identifier argument_list attribute identifier identifier with_stat...
Reads CSV file and returns list of contents