sequence
stringlengths
186
3.94k
docstring
stringlengths
11
171
module function_definition identifier parameters identifier default_parameter identifier integer block expression_statement call attribute attribute identifier identifier identifier argument_list binary_operator call attribute identifier identifier argument_list identifier expression_statement call attribute call attri...
Increments the main progress bar by amount.
module function_definition identifier parameters identifier identifier identifier block if_statement not_operator identifier block return_statement string string_start string_end expression_statement assignment pattern_list identifier identifier call identifier argument_list binary_operator identifier attribute identif...
Read bits and interpret as a binary string.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier conditional_expression attribute attribute identifier identifier identifier attribute identifier identifier none expression_statement assignment identifier await call attribute identifier identifier a...
Retrieve messages using after parameter.
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement assignment identifier call attribute identifier identifier argument_list if_statement attribute identifier identifier block expression_stat...
Acquires the NotificationManager service async.
module function_definition identifier parameters identifier default_parameter identifier none block expression_statement assignment identifier string string_start string_end while_statement not_operator identifier block if_statement identifier block expression_statement assignment identifier await call identifier argum...
Checks for the bootloader port
module function_definition identifier parameters identifier identifier block if_statement comparison_operator attribute identifier identifier integer block expression_statement call attribute identifier identifier argument_list true false expression_statement augmented_assignment attribute identifier identifier integer...
Try to connect and display messages in queue.
module function_definition identifier parameters identifier identifier block if_statement attribute identifier identifier block return_statement true try_statement block if_statement call attribute attribute identifier identifier identifier argument_list identifier block expression_statement call attribute identifier i...
Removes file from disk if exception is raised.
module function_definition identifier parameters identifier block with_statement with_clause with_item attribute identifier identifier block expression_statement assignment identifier dictionary expression_statement call attribute attribute identifier identifier identifier argument_list identifier for_statement identif...
This method gets called also by Timer, a new thread, and so needs to lock the update
module function_definition identifier parameters identifier identifier identifier identifier identifier dictionary_splat_pattern identifier block function_definition identifier parameters identifier block if_statement not_operator call identifier argument_list identifier tuple identifier identifier block return_stateme...
Try to call events for cmd.
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 string string_start string_end for_statement identifier identifier bloc...
Generate a CamelCase string from an underscore_string
module function_definition identifier parameters identifier block try_statement block expression_statement call attribute identifier identifier argument_list identifier attribute identifier identifier except_clause identifier block if_statement not_operator call attribute attribute identifier identifier identifier argu...
A makedirs that avoids a race conditions for multiple processes attempting to create the same directory.
module function_definition identifier parameters identifier identifier block expression_statement assignment attribute attribute identifier identifier identifier call attribute identifier identifier argument_list list binary_operator list float call identifier argument_list call identifier argument_list identifier bina...
Set the centers of the clusters.
module function_definition identifier parameters identifier block if_statement attribute identifier identifier block raise_statement call identifier argument_list concatenated_string string string_start string_content string_end string string_start string_content string_end expression_statement assignment identifier ca...
Attempt to solve the request.
module function_definition identifier parameters identifier default_parameter identifier string string_start string_end default_parameter identifier string string_start string_end block expression_statement string string_start string_content string_end if_statement parenthesized_expression comparison_operator attribute...
Output PDF to some destination
module function_definition identifier parameters default_parameter identifier none block expression_statement assignment identifier call identifier argument_list string string_start string_end keyword_argument identifier identifier expression_statement assignment identifier call attribute identifier identifier argument...
List all files in GCS bucket.
module function_definition identifier parameters block import_statement dotted_name identifier expression_statement assignment identifier dictionary if_statement comparison_operator attribute identifier identifier tuple integer block expression_statement assignment subscript identifier string string_start string_conten...
Redirects the stdout and stderr of the current process to a file.
module function_definition identifier parameters identifier block function_definition identifier parameters identifier block return_statement binary_operator string string_start string_content escape_sequence string_end tuple attribute identifier identifier call attribute attribute attribute identifier identifier ident...
Return a help message describing all the statically configured keys.
module function_definition identifier parameters identifier identifier list_splat_pattern identifier block expression_statement assignment identifier none expression_statement assignment identifier call attribute identifier identifier argument_list identifier none if_statement identifier block expression_statement assi...
Creates a new command with the given arguments.
module function_definition identifier parameters typed_parameter identifier type attribute identifier identifier typed_parameter identifier type attribute identifier identifier typed_parameter identifier type identifier line_continuation type generic_type identifier type_parameter type attribute identifier identifier b...
Search for the label in a shape expression
module function_definition identifier parameters identifier identifier identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier return_statement expression_list identifier binary_operator identifier integer
Logical shift right memory location
module function_definition identifier parameters identifier block if_statement attribute attribute attribute identifier identifier identifier identifier block expression_statement assignment identifier list tuple string string_start string_content string_end string string_start string_content string_end tuple string st...
Remove plugins that don't work when building Flatpaks
module function_definition identifier parameters block if_statement not_operator parenthesized_expression boolean_operator boolean_operator comparison_operator string string_start string_content string_end attribute identifier identifier comparison_operator string string_start string_content string_end attribute identi...
Serves up the consent in the popup window.
module function_definition identifier parameters identifier block expression_statement assignment identifier list for_statement identifier attribute identifier identifier block if_statement comparison_operator identifier attribute identifier identifier block expression_statement call attribute identifier identifier arg...
Returns a set of column names that together constitute the superkey.
module function_definition identifier parameters identifier identifier list_splat_pattern identifier dictionary_splat_pattern identifier block if_statement identifier block expression_statement call attribute identifier identifier argument_list string string_start string_content string_end attribute identifier identifi...
Pass a function to be called when IO is complete.
module function_definition identifier parameters identifier block for_statement identifier attribute identifier identifier block expression_statement call attribute identifier identifier argument_list attribute identifier identifier attribute identifier identifier return_statement binary_operator string string_start st...
Send a SIGKILL to all worker processes
module function_definition identifier parameters identifier identifier block import_from_statement dotted_name identifier identifier dotted_name identifier expression_statement assignment identifier call identifier argument_list identifier expression_statement assignment identifier call identifier argument_list identif...
Return the points that are inside a polygon.
module function_definition identifier parameters identifier identifier block expression_statement call attribute attribute identifier identifier identifier argument_list identifier for_statement identifier call attribute attribute identifier identifier identifier argument_list block if_statement comparison_operator cal...
Tasks that occur over time should be handled here
module function_definition identifier parameters identifier list_splat_pattern identifier default_parameter identifier integer block expression_statement string string_start string_content string_end expression_statement assignment identifier tuple identifier identifier expression_statement assignment subscript attribu...
Add status message to be shown until next action.
module function_definition identifier parameters identifier identifier identifier identifier identifier block expression_statement assignment attribute identifier identifier identifier expression_statement assignment attribute identifier identifier identifier expression_statement assignment attribute identifier identif...
Save it for later
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier none if_statement boolean_operator attribute identifier identifier attribute identifier identifier block raise_statement call identifier argument_list string string_start string_content string_end if_...
Return the deployment options based on command line.
module function_definition identifier parameters identifier identifier block return_statement call attribute call attribute attribute identifier identifier identifier argument_list identifier attribute identifier identifier identifier argument_list
Parses a date string formatted like ``YYYY-MM-DD``.
module function_definition identifier parameters block expression_statement assignment identifier call identifier argument_list if_statement not_operator call attribute attribute identifier identifier identifier argument_list identifier block expression_statement call identifier argument_list identifier with_statement ...
Get raw lines of the genre file.
module function_definition identifier parameters identifier default_parameter identifier integer block expression_statement call attribute identifier identifier argument_list integer attribute identifier identifier expression_statement assignment identifier call attribute identifier identifier argument_list while_state...
Generate blocks of file's contents in reverse order.
module function_definition identifier parameters identifier identifier identifier block if_statement not_operator call attribute identifier identifier argument_list block raise_statement call identifier argument_list binary_operator string string_start string_content string_end attribute identifier identifier expressio...
If this FSNode is a directory, write a file called fName containing content inside it
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call identifier argument_list string string_start string_content string_end keyword_argument identifier string string_start string_content string_end keyword_argument identifier attribute identifier i...
Returns a Mongo Collection and Composition given a Composition Id
module function_definition identifier parameters identifier block expression_statement assignment identifier list for_statement identifier identifier block if_statement comparison_operator binary_operator attribute identifier identifier attribute identifier identifier integer block expression_statement call attribute i...
Returns a set containing the enabled states.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier subscript attribute identifier identifier string string_start string_content string_end expression_statement assignment identifier call attribute identifier identifier argument_list attribu...
Power off an active virtual server.
module function_definition identifier parameters identifier block expression_statement call attribute attribute identifier identifier identifier argument_list expression_statement call attribute attribute identifier identifier identifier argument_list identifier expression_statement call attribute identifier identifier...
Start as the primary
module function_definition identifier parameters identifier block expression_statement assignment identifier list for_statement identifier identifier block expression_statement assignment identifier call identifier argument_list identifier expression_statement assignment identifier call attribute identifier identifier ...
Make sure chromosome names follow UCSC chr convention.
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 identifier return_statement expre...
Returns namespace and static xml from percolator output file
module function_definition identifier parameters identifier identifier default_parameter identifier none block expression_statement assignment identifier conditional_expression list string string_start string_content string_end comparison_operator identifier none identifier expression_statement assignment identifier li...
Extract file zip to destiny path folder targeting only some kind of files.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier attribute identifier identifier expression_statement assignment identifier attribute identifier identifier try_statement block expression_statement assignment identifier call attribute identifier iden...
Inverse for the `encode_safely` function.
module function_definition identifier parameters block if_statement call attribute identifier identifier argument_list block expression_statement call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end expression_statement call attribute identifier identifie...
Compiles PyQT resources file
module function_definition identifier parameters identifier block with_statement with_clause with_item attribute identifier identifier block if_statement attribute identifier identifier block expression_statement call attribute identifier identifier argument_list call identifier argument_list attribute identifier ident...
Finalise lz4 frame, outputting any remaining as return from this function or by writing to fp)
module function_definition identifier parameters identifier typed_parameter identifier type attribute identifier identifier typed_parameter identifier type identifier typed_parameter identifier type identifier block expression_statement string string_start string_content string_end if_statement attribute identifier ide...
Applies `hook_func` to `module`, `input`, `output`.
module function_definition identifier parameters identifier identifier identifier default_parameter identifier float block expression_statement assignment pattern_list identifier identifier call attribute identifier identifier argument_list identifier subscript subscript subscript identifier identifier string string_st...
Prevent this device from receiving more RPCs
module function_definition identifier parameters identifier identifier default_parameter identifier float default_parameter identifier integer default_parameter identifier integer block expression_statement assignment identifier call attribute identifier identifier argument_list identifier identifier expression_stateme...
Normalized activating hill function.
module function_definition identifier parameters identifier block if_statement comparison_operator attribute identifier identifier string string_start string_content string_end block expression_statement call attribute identifier identifier argument_list elif_clause comparison_operator attribute identifier identifier s...
unlinks the shared memory
module function_definition identifier parameters identifier block expression_statement assignment identifier list_comprehension call attribute attribute identifier identifier identifier argument_list identifier keyword_argument identifier integer for_in_clause identifier attribute identifier identifier expression_state...
Rescales factors across modes so that all norms match.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list identifier expression_statement assignment identifier call attribute call attribute identifier identifier argument_list identifi...
Runs a getContinuousSet request for the specified ID.
module function_definition identifier parameters identifier block if_statement not_operator attribute identifier identifier block return_statement for_statement identifier call attribute attribute identifier identifier identifier argument_list block expression_statement assignment attribute identifier identifier intege...
Turn all LEDs off
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier subscript attribute identifier identifier string string_start string_content string_end if_statement identifier block if_statement subscript attribute identifier identifier string string_start string_...
Filter a queryset with global search
module function_definition identifier parameters identifier block expression_statement assignment identifier attribute call identifier argument_list identifier identifier return_statement conditional_expression call identifier argument_list identifier comparison_operator identifier string string_start string_content st...
Return the a string with the data type of a value, for Graph data
module function_definition identifier parameters identifier identifier default_parameter identifier integer block expression_statement assignment identifier call identifier argument_list identifier if_statement comparison_operator unary_operator identifier identifier integer block expression_statement augmented_assignm...
Create a slice for index and length.
module function_definition identifier parameters identifier block for_statement identifier call attribute identifier identifier argument_list block if_statement call attribute attribute identifier identifier identifier argument_list block if_statement not_operator attribute identifier identifier block expression_statem...
Record that the user has visited the site for the purposes of retention tracking
module function_definition identifier parameters identifier identifier identifier identifier block expression_statement assignment identifier list for_statement identifier call attribute identifier identifier argument_list identifier identifier block try_statement block expression_statement call attribute identifier id...
For a given script, iterate over and pull out public pairs encoded as sec values.
module function_definition identifier parameters identifier block if_statement not_operator call attribute identifier identifier argument_list attribute identifier identifier block expression_statement call attribute identifier identifier argument_list string string_start string_content string_end expression_statement ...
Ensure that cache directory exists.
module function_definition identifier parameters identifier identifier block if_statement attribute identifier identifier block return_statement expression_statement assignment identifier binary_operator call attribute identifier identifier argument_list subscript attribute identifier identifier integer attribute ident...
Zoom with the mouse wheel.
module function_definition identifier parameters identifier block expression_statement assignment pattern_list identifier identifier identifier identifier identifier call identifier argument_list identifier expression_statement assignment identifier none expression_statement assignment identifier none if_statement comp...
Splits up an URI or IRI.
module function_definition identifier parameters identifier block expression_statement assignment identifier list expression_statement call identifier argument_list binary_operator string string_start string_content string_end call identifier argument_list call identifier argument_list call identifier argument_list sub...
display sample data from a graph
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute attribute call attribute identifier identifier argument_list identifier identifier identifier argument_list string string_start string_content string_end string string_start string_end ...
Download the entity by UID.
module function_definition identifier parameters identifier block with_statement with_clause with_item attribute identifier identifier block if_statement call attribute identifier identifier argument_list integer block expression_statement assignment identifier call attribute identifier identifier argument_list express...
Ensures a task is fetched and acknowledged atomically.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier subscript identifier string string_start string_content string_end expression_statement assignment pattern_list identifier identifier identifier tuple unary_operator attribute identifier identifier un...
Parses a simple fault geometry surface
module function_definition identifier parameters identifier identifier block if_statement not_operator subscript attribute identifier identifier string string_start string_content string_end block expression_statement call attribute identifier identifier argument_list call identifier argument_list string string_start s...
Process plan line rules.
module function_definition identifier parameters identifier block with_statement with_clause with_item as_pattern call identifier argument_list binary_operator attribute identifier identifier string string_start string_content string_end as_pattern_target identifier block expression_statement assignment identifier call...
Definition to set settings from config file to the app instance.
module function_definition identifier parameters identifier block expression_statement assignment identifier dictionary for_statement identifier tuple string string_start string_content string_end string string_start string_content string_end string string_start string_content string_end string string_start string_cont...
Return values of each fields of an jsonapi error
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier keyword_argument identifier string string_start string_content string_end keyword_argument identifier none keyword_argument identifier string string_...
Create ChronRecord instance from Bacon file
module function_definition identifier parameters identifier identifier block if_statement not_operator attribute identifier identifier block raise_statement call attribute identifier identifier argument_list binary_operator string string_start string_content string_end attribute identifier identifier expression_stateme...
Store the fingerprint response.
module function_definition identifier parameters identifier identifier block if_statement boolean_operator identifier not_operator call identifier argument_list identifier identifier block raise_statement call identifier argument_list binary_operator string string_start string_content string_end call identifier argumen...
Set default password for encrypted files.
module function_definition identifier parameters identifier block expression_statement augmented_assignment attribute attribute identifier identifier identifier integer if_statement comparison_operator attribute attribute identifier identifier identifier attribute identifier identifier block expression_statement assign...
For all tabs, specify the number of buttons in a row
module function_definition identifier parameters identifier default_parameter identifier string string_start string_content string_end default_parameter identifier string string_start string_content string_end default_parameter identifier none default_parameter identifier string string_start string_content string_end d...
Request wrapper that automatically handles async requests.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier binary_operator attribute identifier identifier call attribute string string_start string_content string_end identifier argument_list identifier expression_statement assignment identifier call attribu...
Search the gallery with the given query string.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement call attribute identifier identifier argument_list string string_start string_content string_end try_statement block ...
Imitates sending DELETE request to CouchDB server
module function_definition identifier parameters block function_definition identifier parameters list_splat_pattern identifier block return_statement call identifier argument_list call identifier argument_list call identifier argument_list identifier string string_start string_content string_end string string_start str...
Utility to download datasets into package source
module function_definition identifier parameters default_parameter identifier none default_parameter identifier none default_parameter identifier none default_parameter identifier true block expression_statement string string_start string_content string_end expression_statement assignment identifier call identifier arg...
Load all of the config files.
module function_definition identifier parameters identifier identifier block if_statement comparison_operator identifier attribute identifier identifier block expression_statement assignment subscript attribute identifier identifier identifier call identifier argument_list identifier keyword_argument identifier attribu...
This session implemenation assumes all items are assigned to the first assessment part
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list attribute attribute identifier identifier identifier dictionary for_statement pattern_list identifier identifier call attribute call attribute identi...
Creates linked navigators from a HAL response body
module function_definition identifier parameters identifier identifier block expression_statement call identifier argument_list string string_start string_content string_end call attribute identifier identifier argument_list expression_statement call identifier argument_list string string_start string_content string_en...
Write fixture to disk.
module function_definition identifier parameters identifier default_parameter identifier string string_start string_content escape_sequence string_end default_parameter identifier false block for_statement pattern_list identifier identifier identifier block if_statement boolean_operator call identifier argument_list id...
Print a representation of the frequency list
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list attribute identifier identifier identifier attribute identifier identifier for_statement identifier call identifier argument_list integer identifier ...
Reads color images from the device
module function_definition identifier parameters block expression_statement assignment identifier attribute identifier identifier if_statement attribute identifier identifier block expression_statement assignment identifier call identifier argument_list call identifier argument_list call attribute identifier identifier...
View function which handles a change password request.
module function_definition identifier parameters identifier default_parameter identifier false block expression_statement call attribute identifier identifier argument_list string string_start string_content string_end return_statement call attribute attribute identifier identifier identifier argument_list attribute id...
Delete a Cloud Foundry service and any associations.
module function_definition identifier parameters identifier identifier block function_definition identifier parameters identifier block if_statement not_operator call identifier argument_list identifier identifier block return_statement identifier expression_statement assignment identifier attribute call attribute iden...
Lower ContextFieldExistence expressions into lower-level expressions.
module function_definition identifier parameters identifier block expression_statement assignment pattern_list identifier identifier identifier attribute identifier identifier return_statement tuple binary_operator identifier binary_operator attribute identifier identifier call identifier argument_list binary_operator ...
Return a random point inside the box
module function_definition identifier parameters identifier block expression_statement assignment pattern_list identifier identifier call attribute identifier identifier argument_list return_statement call identifier argument_list call identifier argument_list identifier identifier
Mask should be a set of bools from comparison with a feature layer.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call identifier argument_list call identifier argument_list call attribute call identifier argument_list identifier argument_list list_splat list_comprehension subscript identifier string s...
Convert nested samples from batches into a CWL record, based on input keys.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute call attribute identifier identifier argument_list identifier argument_list string string_start string_content escape_sequence string_end if_statement comparison_operator call identifie...
Split line and check number of columns
module function_definition identifier parameters identifier keyword_separator typed_parameter identifier type identifier typed_parameter identifier type identifier typed_parameter identifier type identifier typed_parameter identifier type identifier typed_parameter identifier type identifier typed_parameter identifier ...
Create an unsigned transaction.
module function_definition identifier parameters identifier identifier block expression_statement call attribute identifier identifier argument_list attribute identifier identifier expression_statement call attribute attribute identifier identifier identifier argument_list identifier
Add a robot controller
module function_definition identifier parameters identifier block assert_statement comparison_operator string string_start string_content string_end identifier string string_start string_content string_end assert_statement subscript identifier string string_start string_content string_end string string_start string_con...
Is a nameop a valid state-preorder operation?
module function_definition identifier parameters identifier identifier default_parameter identifier none default_parameter identifier none block if_statement comparison_operator identifier none block expression_statement assignment identifier list expression_statement assignment identifier call identifier argument_list...
Compile the function with theano symbols
module function_definition identifier parameters list_splat_pattern identifier dictionary_splat_pattern identifier block expression_statement assignment identifier call attribute identifier identifier argument_list list_splat identifier dictionary_splat identifier return_statement call identifier argument_list identifi...
StringIO constructor shim for the async wrapper.
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_content string_end identifier expression_statement assignment identifier call attribute...
Split text into list of sentences.
module function_definition identifier parameters identifier block expression_statement assignment identifier tuple string string_start string_content string_end string string_start string_content string_end string string_start string_content string_end string string_start string_content string_end string string_start s...
Appends `prop` with `style` to layer styling
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list binary_operator string string_start string_content string_end tuple identifier identifier keyword_argument identifier string string_start ...
Purge a particular service by a key.
module function_definition identifier parameters identifier block try_statement block return_statement call attribute identifier identifier argument_list attribute identifier identifier call attribute subscript attribute identifier identifier attribute identifier identifier identifier argument_list except_clause tuple ...
The packet destination address.
module function_definition identifier parameters identifier block if_statement call identifier argument_list identifier identifier block return_statement identifier if_statement call identifier argument_list identifier identifier block return_statement call identifier argument_list call identifier argument_list identif...
Returns a string for various input types
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list keyword_argument identifier true expression_statement assignment identifier call identifier argument_list call identifier argument_list return_statement dictionary pair string strin...
Common data always sent to the client
module function_definition identifier parameters identifier identifier default_parameter identifier false block import_statement dotted_name identifier import_statement dotted_name identifier expression_statement call attribute identifier identifier argument_list attribute identifier identifier attribute identifier ide...
Child initializer, setup in Library.process_pool
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call identifier argument_list subscript identifier string string_start string_content string_end subscript identifier string string_start string_content string_end identifier subscript iden...
Return the Location decoding this id_dict and run