sequence
stringlengths
186
3.94k
docstring
stringlengths
11
171
module function_definition identifier parameters identifier identifier identifier default_parameter identifier none default_parameter identifier string string_start string_content string_end block if_statement comparison_operator string string_start string_content string_end identifier block expression_statement assign...
load dictionary with rv data.
module function_definition identifier parameters identifier default_parameter identifier false 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 identifier expression_statement a...
Destroys a thin device via subprocess call.
module function_definition identifier parameters identifier identifier default_parameter identifier none dictionary_splat_pattern identifier block with_statement with_clause with_item as_pattern call attribute identifier identifier argument_list identifier as_pattern_target identifier block expression_statement assignm...
Find tasks with the given task_name and the same parameters as the kwargs.
module function_definition identifier parameters identifier block if_statement attribute identifier identifier block return_statement call attribute attribute identifier identifier identifier argument_list attribute identifier identifier return_statement attribute attribute identifier identifier identifier
Return a string that can identify this UFO in logs.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list call attribute identifier identifier argument_list identifier identifier identifier if_statement comparison_operator ...
Return a preference raw_value from cache
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement call attribute identifier identifier argument_list identifier identifier
A simple way to replace one element node with another.
module function_definition identifier parameters identifier block expression_statement augmented_assignment attribute identifier identifier identifier for_statement identifier call identifier argument_list call attribute identifier identifier argument_list block delete_statement subscript identifier attribute identifie...
Remove all subkeys and values from this key.
module function_definition identifier parameters identifier default_parameter identifier none default_parameter identifier string string_start string_end block if_statement comparison_operator identifier true block expression_statement assignment identifier binary_operator string string_start string_content string_end ...
Generator creating a deep copy of the children of this element. If idsuffix is a string, if set to True, a random idsuffix will be generated including a random 32-bit hash
module function_definition identifier parameters identifier identifier identifier identifier identifier block expression_statement assignment identifier call identifier argument_list identifier identifier expression_statement call attribute identifier identifier argument_list identifier identifier identifier
Switch the bulb on with the given color.
module function_definition identifier parameters identifier default_parameter identifier none default_parameter identifier none default_parameter identifier none block return_statement call identifier argument_list keyword_argument identifier identifier keyword_argument identifier identifier keyword_argument identifier...
Find readers and return their instances.
module function_definition identifier parameters identifier identifier default_parameter identifier none block expression_statement call attribute identifier identifier argument_list if_statement comparison_operator attribute identifier identifier none block raise_statement call attribute identifier identifier argument...
Send the entire media stream in a single request.
module function_definition identifier parameters identifier identifier identifier default_parameter identifier none block if_statement comparison_operator identifier none block expression_statement assignment identifier call identifier argument_list call attribute identifier identifier argument_list expression_statemen...
Simple function for inserting a dictionary whose keys match the fieldnames of tblname.
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 string string_start string_content string_end return_statement call attribute identifier ...
convert coerced sha back into numeric list
module function_definition identifier parameters identifier default_parameter identifier none dictionary_splat_pattern identifier block import_from_statement dotted_name identifier identifier identifier dotted_name identifier import_from_statement dotted_name identifier identifier identifier dotted_name identifier if_s...
Return a partition in this bundle for a vid reference or name parts
module function_definition identifier parameters identifier identifier identifier block if_statement comparison_operator identifier attribute identifier identifier block expression_statement call attribute identifier identifier argument_list string string_start string_content string_end identifier attribute identifier ...
Registers an unique type description
module function_definition identifier parameters default_parameter identifier string string_start string_end default_parameter identifier string string_start string_end block expression_statement assignment identifier none expression_statement assignment identifier list if_statement not_operator identifier block expres...
Return files found by the file-finder 'ff'.
module function_definition identifier parameters default_parameter identifier string string_start string_content string_end default_parameter identifier none default_parameter identifier none default_parameter identifier none block expression_statement assignment identifier boolean_operator identifier identifier expres...
Upload Supervisor configuration for a celery command.
module function_definition identifier parameters identifier block expression_statement assignment identifier attribute identifier identifier expression_statement assignment identifier attribute identifier identifier expression_statement assignment subscript identifier string string_start string_content string_end attri...
Update the identity and names to match the dataset id and version
module function_definition identifier parameters identifier identifier block expression_statement call attribute identifier identifier argument_list keyword_argument identifier true expression_statement assignment identifier call identifier argument_list attribute identifier identifier expression_statement assignment i...
Write a fragment list box to file.
module function_definition identifier parameters identifier identifier default_parameter identifier none default_parameter identifier false default_parameter identifier none default_parameter identifier none block return_statement call attribute attribute identifier identifier identifier argument_list identifier identi...
Creates a new key.
module function_definition identifier parameters 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 none import_statement aliased_import dotted_name identifier...
Returns an initialized instance of the Batch class
module function_definition identifier parameters identifier block for_statement identifier call identifier argument_list identifier block try_statement block expression_statement assignment identifier call identifier argument_list identifier identifier except_clause identifier block expression_statement assignment iden...
Stop all timers in a canvas.
module function_definition identifier parameters identifier block if_statement comparison_operator attribute identifier identifier false block expression_statement call attribute attribute identifier identifier identifier argument_list attribute identifier identifier expression_statement assignment attribute identifier...
Drop the table from the database
module function_definition identifier parameters identifier identifier identifier default_parameter identifier string string_start string_end block expression_statement assignment identifier call attribute identifier identifier argument_list attribute identifier identifier identifier identifier keyword_argument identif...
Returns the value at position idx.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier list if_statement not_operator identifier block return_statement identifier expression_statement assignment identifier call identifier argument_list identifier binary_operator identifier fl...
Split a string for a specified width and font size
module function_definition identifier parameters identifier block for_statement pattern_list identifier identifier call attribute identifier identifier argument_list block if_statement call identifier argument_list identifier block if_statement call attribute identifier identifier argument_list block expression_stateme...
d is a dict
module function_definition identifier parameters identifier block expression_statement assignment identifier binary_operator attribute identifier identifier call identifier argument_list attribute identifier identifier if_statement comparison_operator attribute identifier identifier none block return_statement binary_o...
The number of action values that the environment accepts.
module function_definition identifier parameters identifier default_parameter identifier string string_start string_end block expression_statement call attribute subscript attribute identifier identifier attribute identifier identifier identifier argument_list attribute identifier identifier identifier expression_state...
subscribe to the SUB socket, to listen for incomming variables, return a stream that can be listened to.
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list call attribute attribute identifier identifier identifier argument_list call attribute attribute identifier identifier identifier argument_...
Retrives data as a DataFrame.
module function_definition identifier parameters identifier identifier block assert_statement comparison_operator call identifier argument_list call attribute identifier identifier argument_list call identifier argument_list call attribute attribute identifier identifier identifier argument_list string string_start str...
Set new `PARAMLIMITS` dictionary.
module function_definition identifier parameters identifier block expression_statement assignment identifier list expression_statement assignment identifier call attribute call identifier argument_list subscript identifier string string_start string_content string_end identifier argument_list string string_start string...
Cleanup the raw target areas description string
module function_definition identifier parameters identifier identifier typed_parameter identifier type identifier block if_statement comparison_operator attribute identifier identifier none block return_statement await call attribute identifier identifier argument_list string string_start string_content string_end expr...
Changes the player's volume
module function_definition identifier parameters identifier identifier dictionary_splat_pattern identifier block expression_statement string string_start string_content string_end if_statement comparison_operator string string_start string_content string_end identifier block raise_statement call identifier argument_lis...
returns generator yielding instances of the class
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier if_statement not_operator call identifier argument_list identifier tuple identifier identifier block expression_statement assignment ident...
Load schema definitions from a YAML file.
module function_definition identifier parameters identifier identifier block expression_statement call attribute identifier identifier argument_list string string_start string_content string_end identifier if_statement call attribute identifier identifier argument_list block return_statement identifier expression_state...
Get property state from device.
module function_definition identifier parameters identifier default_parameter identifier none block if_statement attribute identifier identifier block return_statement identifier if_statement not_operator attribute identifier identifier block if_statement attribute identifier identifier block return_statement identifie...
Determine if something has changed or not
module function_definition identifier parameters identifier identifier block return_statement call attribute identifier identifier argument_list call attribute identifier identifier argument_list attribute identifier identifier identifier true
Return zlist of current peers of this group.
module function_definition identifier parameters identifier block return_statement await call attribute identifier identifier argument_list attribute identifier identifier keyword_argument identifier attribute identifier identifier keyword_argument identifier attribute identifier identifier keyword_argument identifier ...
Return a Connection to the controller at self.endpoint
module function_definition identifier parameters identifier identifier block function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list integer if_statement comparison_operator identifier string string_start string_content str...
Convert a "qmark" query into "format" style.
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list identifier try_statement block with_statement with_clause with_item as_pattern call attribute attribute attribute identifier identifier identifier identifier argument_list subscript...
Write the return data to a file on the minion.
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier return_statement call attribute string string_start string_content string_end identifier argument_list list_comprehension call identifier argument_li...
Get a metadata fingerprint for a file
module function_definition identifier parameters identifier list_splat_pattern identifier dictionary_splat_pattern identifier block if_statement call identifier generator_expression call attribute identifier identifier argument_list identifier for_in_clause identifier identifier block return_statement call identifier a...
Mock all modules starting with one of the mock_modules names.
module function_definition identifier parameters identifier identifier identifier block if_statement not_operator parenthesized_expression boolean_operator call identifier argument_list identifier identifier call identifier argument_list identifier identifier block return_statement false if_statement not_operator call ...
Checks if input is a valid decimal value
module function_definition identifier parameters identifier identifier default_parameter identifier string string_start string_end block expression_statement assignment identifier list expression_statement assignment identifier dictionary pair string string_start string_content string_end false pair string string_start...
Go through lines of file and reformat using format_fn
module function_definition identifier parameters identifier typed_parameter identifier type identifier typed_parameter identifier type identifier typed_parameter identifier type identifier typed_parameter identifier type identifier keyword_separator typed_default_parameter identifier type identifier none typed_default_...
Draws the given rectangle.
module function_definition identifier parameters identifier identifier identifier identifier block expression_statement call attribute identifier identifier argument_list identifier identifier if_statement comparison_operator identifier integer block expression_statement call identifier argument_list string string_star...
Code executed after recognising a global variable
module function_definition identifier parameters identifier list_splat_pattern identifier dictionary_splat_pattern identifier block expression_statement assignment attribute identifier identifier call identifier argument_list attribute identifier identifier expression_statement assignment attribute identifier identifie...
Clean text and save formatted version.
module function_definition identifier parameters identifier block if_statement not_operator call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end block return_statement with_statement with_clause with_item as_pattern call identifier argument_list string st...
Verify that the submodules are checked out and clean.
module function_definition identifier parameters identifier identifier identifier default_parameter identifier string string_start string_content string_end block if_statement comparison_operator identifier none block return_statement identifier expression_statement assignment identifier tuple string string_start strin...
Create a bulk-indexing operation from the given dictionary.
module function_definition identifier parameters block with_statement with_clause with_item as_pattern call attribute identifier identifier argument_list attribute identifier identifier as_pattern_target identifier block expression_statement assignment attribute identifier identifier identifier expression_statement ass...
Open the matched movie with a media player.
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list string string_start string_content string_end string string_start string_end expression_statement assignment identifier call attribute identifier identifier arg...
Normalize name for the Statsd convention
module function_definition identifier parameters identifier default_parameter identifier true block expression_statement assignment attribute identifier identifier identifier return_statement list_comprehension identifier for_in_clause identifier call identifier argument_list identifier
Return all of the results of a query in a list
module function_definition identifier parameters identifier block expression_statement assignment identifier dictionary pair string string_start string_content string_end none pair string string_start string_content string_end none pair string string_start string_content string_end none pair string string_start string_...
Return the delay of the train for this instance
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier list_comprehension identifier for_in_clause identifier identifier if_clause comparison_operator identifier none expression_statement assignment pattern_list identifier identifier call identifier argum...
Returns the global maximum and minimum.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier dictionary_comprehension pair identifier subscript call attribute identifier identifier argument_list identifier keyword_argument identifier identifier slice integer for_in_clause identifie...
Disambiguates a list of tokens of a given PoS.
module function_definition identifier parameters identifier block expression_statement assignment pattern_list identifier identifier identifier call identifier argument_list identifier expression_statement assignment identifier call identifier argument_list identifier expression_statement assignment identifier call att...
Print list of users who can access a package.
module function_definition identifier parameters identifier block if_statement comparison_operator attribute identifier identifier none block expression_statement call identifier argument_list call attribute concatenated_string string string_start string_content string_end string string_start string_content string_end ...
The dist dir at which to place the finished distribution.
module function_definition identifier parameters identifier block expression_statement call attribute attribute attribute identifier identifier identifier identifier argument_list keyword_argument identifier string string_start string_content string_end expression_statement call attribute identifier identifier argument...
Disable the sandbox on this engine.
module function_definition identifier parameters identifier identifier identifier identifier dictionary_splat_pattern identifier block if_statement not_operator comparison_operator identifier attribute identifier identifier block raise_statement call identifier argument_list call attribute string string_start string_co...
Evaluate given logical binary operation with given operands.
module function_definition identifier parameters identifier identifier identifier identifier block expression_statement assignment pattern_list identifier identifier identifier identifier identifier call identifier argument_list identifier identifier identifier identifier expression_statement assignment identifier call...
Returns the dimensionless spin of the secondary mass.
module function_definition identifier parameters identifier block expression_statement assignment subscript attribute identifier identifier string string_start string_content string_end identifier for_statement identifier call attribute identifier identifier argument_list block try_statement block expression_statement ...
Pass through to provider AssessmentOfferedLookupSession.use_plenary_assessment_offered_view
module function_definition identifier parameters identifier identifier block return_statement call identifier generator_expression call attribute identifier identifier argument_list attribute identifier identifier identifier for_in_clause identifier attribute identifier identifier
Match if any of the or content match with the other node.
module function_definition identifier parameters identifier block for_statement identifier call identifier argument_list attribute identifier identifier block expression_statement assignment identifier call identifier argument_list attribute identifier identifier identifier expression_statement call attribute identifie...
Start json minimizer and exit when all json files were minimized.
module function_definition identifier parameters identifier identifier block return_statement parenthesized_expression comparison_operator attribute attribute identifier identifier identifier list attribute attribute attribute identifier identifier identifier identifier attribute attribute attribute identifier identifi...
Checks if given RDFValue is a file StatEntry.
module function_definition identifier parameters block expression_statement assignment identifier call identifier argument_list call identifier argument_list string string_start string_content string_end integer expression_statement assignment identifier call identifier argument_list identifier integer integer return_s...
create the secp256r1 curve
module function_definition identifier parameters identifier identifier identifier identifier identifier default_parameter identifier false block expression_statement assignment identifier string string_start string_end expression_statement assignment identifier string string_start string_end expression_statement assign...
Remove selected bases from seq and quals
module function_definition identifier parameters identifier block expression_statement assignment identifier attribute identifier identifier expression_statement assignment identifier call attribute identifier identifier argument_list identifier none if_statement comparison_operator identifier attribute identifier iden...
empty and return list of message notification
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 identifier expressio...
Convert from pillow image to opencv
module function_definition identifier parameters identifier identifier identifier block if_statement boolean_operator boolean_operator boolean_operator not_operator attribute identifier identifier attribute call attribute identifier identifier argument_list identifier identifier line_continuation comparison_operator su...
Return the list of possible upgrades for a client connection.
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list subscript attribute identifier identifier string string_start string_content string_end expression_statement assignment identifier call identifier argument_list for_statement identi...
Return string representation of node in DOT language.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement augmented_assignment identifier attribute subscript attribute identifier identifier identifier identifier expression_statement a...
Primary input for the zkproof
module function_definition identifier parameters identifier block expression_statement assignment identifier float if_statement comparison_operator attribute identifier identifier identifier block expression_statement augmented_assignment identifier parenthesized_expression binary_operator integer call attribute identi...
Typical time in milliseconds required to complete a measurement in normal mode
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement assignment identifier parenthesized_expression binary_operator binary_operator binary_operator binary_operator identifier call identifier a...
Convert timestamp to datetime and set everything to zero except a date
module function_definition identifier parameters block global_statement identifier if_statement comparison_operator identifier none block return_statement identifier expression_statement assignment identifier attribute identifier identifier try_statement block import_from_statement dotted_name identifier identifier dot...
Get the layers module good for TF 1 and TF 2 work for now.
module function_definition identifier parameters identifier block expression_statement call attribute identifier identifier argument_list call attribute string string_start string_content string_end identifier argument_list attribute identifier identifier expression_statement assignment attribute identifier identifier ...
Gets the default settings.
module function_definition identifier parameters identifier identifier default_parameter identifier none default_parameter identifier none block expression_statement assignment identifier call attribute subscript attribute identifier identifier string string_start string_content string_end identifier argument_list iden...
Return an object representing the sample identified by the input hash, or an empty object if that sample is not found
module function_definition identifier parameters block expression_statement assignment identifier call identifier argument_list expression_statement assignment identifier call attribute identifier identifier argument_list try_statement block expression_statement assignment identifier call attribute identifier identifie...
Command for showing all upgrades already applied.
module function_definition identifier parameters identifier block if_statement comparison_operator attribute identifier identifier none block expression_statement assignment identifier call identifier argument_list binary_operator call attribute call attribute call attribute attribute identifier identifier identifier a...
Based on timezone and start date, the GMT card is updated
module function_definition identifier parameters identifier identifier default_parameter identifier integer default_parameter identifier false block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list identifier expression_statement assignment attribute ide...
Build a list of tokens from a string of wikicode and return it.
module function_definition identifier parameters identifier identifier block for_statement pattern_list identifier identifier call attribute identifier identifier argument_list block if_statement boolean_operator call identifier argument_list identifier tuple identifier call identifier argument_list string string_start...
Look for datetime looking strings.
module function_definition identifier parameters identifier identifier identifier identifier default_parameter identifier none block try_statement block with_statement with_clause with_item call attribute attribute identifier identifier identifier argument_list block expression_statement assignment identifier call iden...
Create a PID relation for given parent and child.
module function_definition identifier parameters identifier identifier default_parameter identifier none block expression_statement assignment identifier list_comprehension call attribute string string_start string_end identifier argument_list list call attribute identifier identifier argument_list string string_start ...
Query Marathon server for events.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list keyword_argument identifier identifier return_statement call attribute attribute identifier identifier identifier argument_list identifier
Remove a specific subject by its identifier.
module function_definition identifier parameters identifier identifier block if_statement comparison_operator string string_start string_content string_end attribute identifier identifier block return_statement subscript call identifier argument_list call attribute call attribute attribute identifier identifier identif...
Only useful for EOS
module function_definition identifier parameters identifier block return_statement call identifier argument_list attribute attribute identifier identifier identifier attribute attribute identifier identifier identifier integer attribute attribute identifier identifier identifier attribute attribute identifier identifie...
The analysisperiod of the design day.
module function_definition identifier parameters block expression_statement assignment identifier binary_operator call attribute identifier identifier argument_list identifier expression_statement assignment identifier call identifier argument_list keyword_argument identifier string string_start interpolation identifie...
Check the health of this service
module function_definition identifier parameters identifier identifier block expression_statement call attribute identifier identifier argument_list attribute identifier identifier call identifier argument_list identifier attribute identifier identifier
Whether or not the Rule firings are being watched.
module function_definition identifier parameters identifier default_parameter identifier false block expression_statement assignment identifier call identifier argument_list identifier expression_statement assignment pattern_list identifier identifier call attribute identifier identifier argument_list if_statement bool...
Run command, collect output, raise error if needed.
module function_definition identifier parameters identifier block import_from_statement dotted_name identifier dotted_name identifier expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list call attribute subscript attribute identifier identifier string string_...
Return the TR elements holding the DNS entries.
module function_definition identifier parameters identifier block expression_statement call attribute attribute identifier identifier identifier argument_list expression_statement assignment identifier integer while_statement true block expression_statement assignment pattern_list identifier identifier identifier call ...
Flush all read data until no more available.
module function_definition identifier parameters typed_parameter identifier type identifier typed_parameter identifier type identifier typed_default_parameter identifier type identifier string string_start string_end type none block expression_statement call attribute identifier identifier argument_list string string_s...
Writes a debugging report on a line.
module function_definition identifier parameters identifier block expression_statement assignment attribute identifier identifier call attribute identifier identifier argument_list identifier if_statement comparison_operator attribute identifier identifier string string_start string_content string_end block expression_...
Create objects to store data and metadata for each sample. Also, perform necessary file manipulations
module function_definition identifier parameters identifier block with_statement with_clause with_item as_pattern call attribute identifier identifier argument_list identifier keyword_argument identifier string string_start string_content string_end keyword_argument identifier string string_start string_content string_...
Generates tokens from an nginx config file
module function_definition identifier parameters identifier identifier block if_statement comparison_operator attribute identifier identifier none block expression_statement call attribute identifier identifier argument_list attribute identifier identifier string string_start string_content string_end return_statement ...
Runs an Influx db query
module function_definition identifier parameters identifier identifier block with_statement with_clause with_item as_pattern call identifier argument_list identifier string string_start string_content string_end as_pattern_target identifier block expression_statement call attribute identifier identifier argument_list c...
Create payload and save to file.
module function_definition identifier parameters identifier default_parameter identifier true default_parameter identifier true block if_statement boolean_operator comparison_operator identifier true comparison_operator identifier true block return_statement call identifier argument_list identifier keyword_argument ide...
Generate fixed-length random alpha only string.
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list attribute identifier identifier if_statement not_operator call attribute parenthesized_expression comparison_operator binary_operator identifier integer call at...
Wrapper around rebin that actually rebins 2 by 2
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list keyword_argument identifier attribute attribute identifier identifier identifier keyword_argument identifier attribute identifier identifier keyword_argument id...
Build url for stream.
module function_definition identifier parameters typed_parameter identifier type identifier typed_parameter identifier type generic_type identifier type_parameter type identifier type identifier typed_parameter list_splat_pattern identifier type identifier type generic_type identifier type_parameter type identifier blo...
Validates to ensure that a set of attributes are present in spec
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute call identifier argument_list identifier argument_list string string_start string_content string_end expression_statement assignment identifier comparison_operator identifier identifier expression...
Select all the molecules corresponding to the formulas.