sequence
stringlengths
186
3.94k
docstring
stringlengths
11
171
module function_definition identifier parameters identifier block expression_statement assignment identifier attribute identifier identifier for_statement identifier attribute identifier identifier block if_statement attribute identifier identifier block continue_statement if_statement boolean_operator attribute identi...
Get the top level block device in the ancestry of this device.
module function_definition identifier parameters identifier default_parameter identifier false block expression_statement assignment identifier call attribute identifier identifier argument_list binary_operator parenthesized_expression binary_operator call attribute identifier identifier argument_list call identifier a...
estimate the variance explained by K
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 identifier if_statement call attribute identifier identifier argum...
Sorts the catalogue into chronological order
module function_definition identifier parameters identifier identifier identifier default_parameter identifier string string_start string_content string_end default_parameter identifier string string_start string_content string_end default_parameter identifier string string_start string_content string_end block express...
Local within block self attention.
module function_definition identifier parameters identifier block return_statement call identifier argument_list boolean_operator call attribute string string_start string_end identifier argument_list list_comprehension identifier for_in_clause identifier identifier if_clause comparison_operator identifier attribute id...
Collect digits from a string
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call identifier argument_list call attribute call attribute call identifier argument_list string string_start string_content string_end identifier argument_list identifier identifier argume...
Use strip index number for image name.
module function_definition identifier parameters identifier identifier default_parameter identifier none default_parameter identifier none block expression_statement assignment identifier call identifier argument_list identifier keyword_argument identifier true expression_statement assignment identifier call attribute ...
Removes all roles from a group on a domain or project.
module function_definition identifier parameters identifier block expression_statement call attribute identifier identifier argument_list return_statement call identifier argument_list attribute identifier identifier call identifier argument_list integer call identifier argument_list attribute attribute identifier iden...
Returns all layout objects of first level of depth
module function_definition identifier parameters identifier block expression_statement assignment identifier binary_operator parenthesized_expression binary_operator integer call identifier argument_list identifier string string_start string_content string_end expression_statement call identifier argument_list binary_o...
Print temporarily, until next print overrides it.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call identifier argument_list identifier return_statement call attribute identifier identifier argument_list lambda lambda_parameters identifier boolean_operator parenthesized_expression comparison_op...
Return a list of params with name name under elem.
module function_definition identifier parameters identifier identifier identifier identifier block try_statement block if_statement comparison_operator identifier string string_start string_content string_end block return_statement call attribute identifier identifier argument_list identifier identifier elif_clause com...
API request helper method
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list keyword_argument identifier string string_start string_content string_end return_statement call attribute identifier identifier argument_list call attribute ide...
Render Swagger UI and the underlying Open API schema JSON file.
module function_definition identifier parameters identifier identifier block if_statement attribute identifier identifier block raise_statement call identifier argument_list string string_start string_content string_end if_statement not_operator call attribute identifier identifier argument_list block for_statement ide...
Add the given item as children
module function_definition identifier parameters identifier identifier list_splat_pattern identifier dictionary_splat_pattern identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list identifier dictionary try_statement block expression_statement...
Handle the session data passed by the prior view.
module function_definition identifier parameters identifier identifier block try_statement block expression_statement assignment identifier subscript subscript subscript identifier string string_start string_content string_end string string_start string_content string_end string string_start string_content string_end i...
Called when a status pack is arrived
module function_definition identifier parameters identifier block expression_statement assignment identifier subscript call attribute call attribute identifier identifier argument_list identifier argument_list slice integer if_statement comparison_operator none identifier block return_statement call attribute identifie...
Flatten the tensor except the first dimension.
module function_definition identifier parameters identifier identifier identifier block if_statement call attribute attribute attribute identifier identifier identifier identifier argument_list identifier identifier identifier block if_statement comparison_operator identifier string string_start string_content string_e...
Subscribe to the requested udev subsystem and apply the given action.
module function_definition identifier parameters identifier identifier default_parameter identifier string string_start string_content string_end default_parameter identifier none default_parameter identifier none default_parameter identifier none default_parameter identifier string string_start string_content string_e...
Performs a join using the union join function.
module function_definition identifier parameters identifier block for_statement identifier attribute identifier identifier block try_statement block expression_statement assignment identifier call attribute identifier identifier argument_list identifier except_clause identifier block if_statement comparison_operator id...
Add the found and required sections to the templ_dict.
module function_definition identifier parameters identifier block if_statement attribute identifier identifier block for_statement identifier attribute identifier identifier block expression_statement yield identifier else_clause block for_statement identifier attribute identifier identifier block expression_statement ...
Lazily retrieve and build User instances from returned data
module function_definition identifier parameters block expression_statement assignment identifier call identifier argument_list if_statement comparison_operator call identifier argument_list identifier integer block raise_statement call identifier argument_list string string_start string_content string_end expression_s...
Returns the current version without importing pymds.
module function_definition identifier parameters typed_default_parameter identifier type attribute identifier identifier none typed_default_parameter identifier type generic_type identifier type_parameter type generic_type identifier type_parameter type attribute identifier identifier type identifier none block express...
Split `model` according to the layers in `splits`.
module function_definition identifier parameters identifier identifier identifier identifier identifier block expression_statement call identifier argument_list attribute identifier identifier identifier identifier identifier identifier
Merge all fields specified by this tree from source to destination.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier integer expression_statement assignment identifier binary_operator binary_operator identifier identifier identifier expression_statement call identifier argument_list call attribute string ...
Prints a progress report suitable for use on the command line.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier comparison_operator call identifier argument_list boolean_operator attribute identifier identifier list integer if_statement identifier block expression_statement assignment attribute ident...
draw accumulated instructions in context
module function_definition identifier parameters identifier block for_statement pattern_list identifier identifier subscript attribute attribute identifier identifier identifier string string_start string_content string_end block expression_statement yield expression_list call attribute identifier identifier argument_l...
Present the email headers
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 layouts settings.
module function_definition identifier parameters identifier identifier identifier identifier block if_statement comparison_operator identifier call attribute identifier identifier argument_list block return_statement expression_statement assignment identifier subscript call attribute identifier identifier argument_list...
Update the project of the task with the UID uuid
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment pattern_list identifier identifier call attribute identifier identifier argument_list identifier expression_statement assignment pattern_list identifier identifier call attribute identifier identifier...
compare if a and b have the same bytes
module function_definition identifier parameters identifier default_parameter identifier none default_parameter identifier none default_parameter identifier none block if_statement boolean_operator comparison_operator identifier none comparison_operator identifier attribute identifier identifier block return_statement ...
Fail a work item, either temporarily or permanently
module function_definition identifier parameters identifier block expression_statement assignment identifier subscript attribute identifier identifier slice attribute identifier identifier expression_statement call attribute identifier identifier argument_list identifier
Deletes the line content after the cursor
module function_definition identifier parameters identifier identifier identifier identifier block expression_statement assignment identifier identifier expression_statement assignment identifier list for_statement identifier attribute identifier identifier block expression_statement assignment identifier call attribut...
Filter each resource separately using its own filter
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list string string_start string_content string_end string string_start string_content string_end identifier return_statement call identifier argument_list...
Remove a node from the nodes table.
module function_definition identifier parameters identifier identifier block if_statement comparison_operator identifier attribute identifier identifier block raise_statement call attribute identifier identifier argument_list binary_operator string string_start string_content string_end identifier delete_statement subs...
Deletes a cronjob along with all its runs.
module function_definition identifier parameters identifier identifier identifier identifier identifier default_parameter identifier none block expression_statement assignment identifier call attribute identifier identifier argument_list line_continuation identifier list identifier identifier line_continuation identifi...
Select the lowest mu value
module function_definition identifier parameters identifier block expression_statement assignment pattern_list identifier identifier identifier call attribute identifier identifier argument_list tuple string string_start string_content string_end tuple identifier identifier identifier return_statement dictionary pair s...
The system status codes.
module function_definition identifier parameters identifier typed_parameter identifier type identifier type identifier block return_statement call attribute attribute identifier identifier identifier argument_list keyword_argument identifier attribute identifier identifier keyword_argument identifier attribute identifi...
Returns if the channel is settled.
module function_definition identifier parameters identifier block if_statement subscript attribute attribute identifier identifier identifier string string_start string_content string_end block expression_statement call attribute identifier identifier argument_list try_statement block expression_statement call attribut...
Main check function for checking this URL.
module function_definition identifier parameters identifier identifier identifier block expression_statement string string_start string_content string_end if_statement not_operator call attribute attribute identifier identifier identifier argument_list identifier block expression_statement assignment subscript attribut...
Register webdriver to a channel.
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 return_statement call attribute attribute identifier identifier identifier argument_list identifier ide...
Direct wrapper over cmark_parser_feed.
module function_definition identifier parameters identifier default_parameter identifier identifier block expression_statement assignment identifier attribute identifier identifier expression_statement assignment identifier attribute identifier identifier expression_statement assignment identifier call identifier argum...
Read the band in native blocks.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list if_statement comparison_operator call identifier argument_list identifier integer block raise_statement call identifier argument_list string string_s...
Take a complete context dict as extra layer.
module function_definition identifier parameters identifier block expression_statement assignment identifier lambda lambda_parameters identifier identifier for_statement pattern_list identifier identifier call attribute identifier identifier argument_list block if_statement call identifier argument_list identifier iden...
Returns the decorator and the undecorated function of given object.
module function_definition identifier parameters identifier identifier block for_statement identifier call identifier argument_list call attribute identifier identifier argument_list block if_statement comparison_operator identifier string string_start string_content string_end block expression_statement call attribute...
Use OpenAI logging facilities for the same type of logging
module function_definition identifier parameters identifier identifier identifier block if_statement comparison_operator string string_start string_content string_end identifier block expression_statement call attribute identifier identifier argument_list attribute identifier identifier keyword_argument identifier attr...
Parse the available options.
module function_definition identifier parameters identifier block if_statement call identifier argument_list identifier identifier block return_statement call attribute identifier identifier argument_list string string_start string_content string_end elif_clause call identifier argument_list identifier attribute identi...
String representation of an object for hashing
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list identifier if_statement identifier block delete_statement subscript attribute identifier identifier identifier expression_statem...
Remove the object from the cache completely.
module function_definition identifier parameters identifier default_parameter identifier identifier default_parameter identifier false block expression_statement assignment identifier call identifier argument_list call attribute identifier identifier argument_list call identifier argument_list identifier if_statement c...
Find the right channel name for a LOSC GWF file
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier dictionary if_statement comparison_operator string string_start string_content string_end identifier block expression_statement assignment subscript identifier string string_start string_content strin...
Initialize a ClassifierResult object from a json dictionary.
module function_definition identifier parameters identifier block expression_statement assignment identifier dictionary expression_statement assignment attribute identifier identifier string string_start string_end try_statement block expression_statement assignment identifier attribute attribute identifier identifier ...
Data used to render slice in templates
module function_definition identifier parameters default_parameter identifier integer block if_statement call attribute identifier identifier argument_list identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier expression_statement call attribute attrib...
Raises the supplied figure number or figure window.
module function_definition identifier parameters identifier block decorated_definition decorator call identifier argument_list identifier function_definition identifier parameters identifier list_splat_pattern identifier dictionary_splat_pattern identifier block if_statement not_operator attribute identifier identifier...
Call the given `func` only from the main project
module function_definition identifier parameters identifier identifier block expression_statement assignment attribute identifier identifier identifier expression_statement assignment identifier call attribute identifier identifier argument_list identifier expression_statement assignment identifier integer for_statemen...
Runs the Find action.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier binary_operator attribute attribute identifier identifier identifier attribute attribute identifier identifier identifier expression_statement assignment attribute attribute identifier identifier iden...
Push 'thing' to the stack, writing the thing to memory and adjusting the stack pointer.
module function_definition identifier parameters identifier identifier block expression_statement call attribute attribute identifier identifier identifier argument_list identifier return_statement call attribute attribute identifier identifier identifier argument_list identifier
Returns the result for ``key`` and unregisters it.
module function_definition identifier parameters identifier identifier identifier block if_statement comparison_operator attribute identifier identifier none block expression_statement assignment identifier call attribute identifier identifier argument_list attribute identifier identifier identifier expression_statemen...
Convert a TriggerDefinition into a stream, trigger pair.
module function_definition identifier parameters identifier identifier block for_statement identifier call identifier argument_list attribute identifier identifier block expression_statement assignment identifier call attribute call identifier argument_list identifier argument_list attribute identifier identifier ident...
Filter the given query using the filter classes specified on the view if any are specified.
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list string string_start string_content string_end if_statement not_operator identifier block return_statement none expression_statement assignment identifier call a...
Gets verdict of the testcase.
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 if_statement identifier block expression_statement call attribute identifier identifier argument_list i...
Process subnet create event.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier list expression_statement assignment identifier list expression_statement assignment identifier call identifier argument_list identifier string string_start string_content string_end expression_statem...
parse the MML structure
module function_definition identifier parameters identifier identifier identifier identifier identifier default_parameter identifier identifier block expression_statement assignment identifier dictionary pair string string_start string_content string_end dictionary pair string string_start string_content string_end str...
Creates port used specially for HA purposes.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier identifier for_statement identifier identifier block if_statement comparison_operator identifier identifier block expression_statement assignment identifier subscript identifier identifier else_clause...
Internal, get value from record
module function_definition identifier parameters identifier identifier default_parameter identifier integer default_parameter identifier integer default_parameter identifier call identifier argument_list default_parameter identifier integer default_parameter identifier false default_parameter identifier false block exp...
First fit, then transform.
module function_definition identifier parameters identifier block expression_statement assignment identifier attribute identifier identifier if_statement comparison_operator identifier list string string_start string_content string_end string string_start string_content string_end string string_start string_content str...
Convert all inequalities to >=0 form.
module function_definition identifier parameters identifier default_parameter identifier integer list_splat_pattern identifier dictionary_splat_pattern identifier block import_from_statement dotted_name identifier identifier dotted_name identifier if_statement call identifier argument_list identifier string string_star...
Create histogram collection with shared binnning.
module function_definition identifier parameters identifier block expression_statement call attribute identifier identifier argument_list string string_start string_content string_end attribute identifier identifier attribute identifier identifier try_statement block expression_statement call attribute call attribute i...
Checks that the provided cert and key are valid and usable
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list string string_start string_content string_end if_statement comparison_operator call identifier argument_list identifier integer block return_statement call attr...
Import an object given its fully qualified name.
module function_definition identifier parameters identifier identifier identifier identifier block expression_statement assignment identifier binary_operator identifier string string_start string_content string_end expression_statement assignment identifier list_comprehension identifier for_in_clause identifier identif...
Map identifiers based on an equivalence closure list.
module function_definition identifier parameters identifier identifier identifier identifier block expression_statement assignment identifier call identifier argument_list list tuple string string_start string_content string_end identifier tuple string string_start string_content string_end identifier if_statement iden...
Generate a getMore command document.
module function_definition identifier parameters block expression_statement assignment identifier call identifier argument_list return_statement call identifier argument_list keyword_argument identifier attribute identifier identifier keyword_argument identifier attribute identifier identifier keyword_argument identifi...
Return the list of processing blocks known to SDP.
module function_definition identifier parameters identifier default_parameter identifier none block expression_statement assignment identifier dictionary pair string string_start string_content string_end attribute identifier identifier if_statement identifier block expression_statement call attribute identifier identi...
All Comments in this Ticket
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list call identifier argument_list identifier if_statement identifier block return_statement call identifier argument_list identifier for_statement identifier identi...
Perform necessary JSON conversion on the arg.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call identifier argument_list identifier keyword_argument identifier string string_start string_content string_end expression_statement call attribute identifier identifier argument_list id...
ad a row to the table
module function_definition identifier parameters identifier block expression_statement assignment identifier attribute attribute identifier identifier identifier expression_statement call attribute attribute identifier identifier identifier argument_list call identifier argument_list attribute identifier identifier exp...
Update the widget with information about the dataset.
module function_definition identifier parameters block global_statement identifier if_statement identifier block expression_statement call attribute identifier identifier argument_list string string_start string_content string_end expression_statement call attribute identifier identifier argument_list expression_statem...
Stop a the optimistic GC thread
module function_definition identifier parameters identifier identifier block try_statement block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list identifier binary_operator binary_operator string string_start string_content string_end identifier string s...
The initial viewer, does not provide the document content yet
module function_definition identifier parameters identifier block if_statement not_operator attribute attribute identifier identifier identifier block expression_statement call attribute attribute identifier identifier identifier argument_list expression_statement assignment identifier attribute attribute attribute att...
Find the log directory and return all the logs sorted.
module function_definition identifier parameters identifier block expression_statement assignment identifier binary_operator call attribute identifier identifier argument_list attribute identifier identifier string string_start string_content string_end expression_statement assignment identifier dictionary pair string ...
Create the root index.
module function_definition identifier parameters identifier block expression_statement assignment identifier boolean_operator call attribute attribute identifier identifier identifier argument_list identifier attribute identifier identifier dictionary for_statement identifier attribute identifier identifier block expre...
Update our cached list of latest activity events.
module function_definition identifier parameters identifier block expression_statement assignment identifier list for_statement identifier subscript attribute identifier identifier string string_start string_content string_end block expression_statement call attribute identifier identifier argument_list list_comprehens...
returns a list of html snippets fetched from github actitivy feed
module function_definition identifier parameters identifier block expression_statement assignment identifier string string_start string_end expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list expression_statement call attribute identifier identifier argumen...
converts the current style to an escpos command string
module function_definition identifier parameters identifier identifier block for_statement identifier attribute attribute identifier identifier identifier block if_statement comparison_operator attribute identifier identifier string string_start string_content string_end block continue_statement try_statement block exp...
Copy another files properties into this one.
module function_definition identifier parameters identifier identifier identifier identifier identifier identifier block return_statement call identifier argument_list identifier identifier identifier string string_start string_content string_end identifier identifier
Extract an LZMA archive with the lzma Python module.
module function_definition identifier parameters block return_statement call attribute identifier identifier argument_list keyword_argument identifier float keyword_argument identifier integer keyword_argument identifier false keyword_argument identifier dictionary keyword_argument identifier dictionary keyword_argumen...
A set of basic model hyperparameters.
module function_definition identifier parameters identifier dictionary_splat_pattern identifier block expression_statement assignment identifier list for_statement identifier identifier block expression_statement assignment identifier call identifier argument_list identifier dictionary_splat identifier expression_state...
Use mecab to parse many lines
module function_definition identifier parameters identifier typed_parameter identifier type identifier typed_parameter dictionary_splat_pattern identifier type identifier type none block expression_statement string string_start string_content string_end expression_statement call attribute attribute identifier identifie...
Record the loss before any other callback has a chance to modify it.
module function_definition identifier parameters identifier identifier block for_statement pattern_list identifier identifier call identifier argument_list identifier block expression_statement assignment attribute attribute identifier identifier identifier binary_operator identifier identifier return_statement binary_...
Given an order of nodes, assign register numbers.
module function_definition identifier parameters identifier identifier default_parameter identifier none dictionary_splat_pattern identifier block expression_statement call attribute identifier identifier argument_list string string_start string_content string_end string string_start string_content string_end expressio...
Revoke an access token
module function_definition identifier parameters identifier identifier default_parameter identifier false block if_statement boolean_operator not_operator identifier comparison_operator attribute identifier identifier identifier block raise_statement call identifier argument_list concatenated_string string string_start...
Returns a list of values from this attribute.
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list keyword_argument identifier attribute identifier identifier keyword_argument identifier attribute identifier identifier keyword_argument identifier attribute id...
Fetch and return a proper HuntApproval object.
module function_definition identifier parameters identifier identifier typed_default_parameter identifier type identifier true dictionary_splat_pattern identifier type none block expression_statement call attribute identifier identifier argument_list call attribute identifier identifier argument_list identifier keyword...
Dump this seeding container to a file as JSON.
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 call attribute identifier identifier argument_list string string_start string_content string_...
Add command line options for the aws_environment operation
module function_definition identifier parameters identifier identifier block for_statement pattern_list identifier identifier call attribute identifier identifier argument_list block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list identifier for_stateme...
Add another DataFrame to the PStatCounter.
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 identifier expression_statement assignment identifier call attribut...
Runs sphinx-apidoc to auto-generate documentation.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier dictionary for_statement identifier attribute identifier identifier block expression_statement assignment identifier subscript attribute identifier identifier identifier if_statement call identifier a...
Gets the ith config
module function_definition identifier parameters identifier default_parameter identifier none block expression_statement assignment identifier dictionary pair string string_start string_content string_end attribute identifier identifier pair string string_start string_content string_end attribute identifier identifier ...
retrieve authorization code to get access token
module function_definition identifier parameters identifier identifier identifier default_parameter identifier none default_parameter identifier none default_parameter identifier none block expression_statement call attribute attribute identifier identifier identifier argument_list call identifier argument_list identif...
Add a menu entry.
module function_definition identifier parameters identifier identifier identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list binary_operator binary_operator identifier float binary_operator subscript identifier string string_start string_content string...
Returns the distance scaling term of the GMPE described in equation 2
module function_definition identifier parameters identifier block expression_statement assignment identifier attribute identifier identifier expression_statement assignment identifier call identifier argument_list keyword_argument identifier call attribute identifier identifier argument_list string string_start string_...
Return the cf grid mapping for the laea projection.
module function_definition identifier parameters identifier identifier block import_statement dotted_name identifier expression_statement assignment identifier call attribute identifier identifier argument_list keyword_argument identifier false keyword_argument identifier true keyword_argument identifier false keyword_...
Install virtual environment for Python 3.3+; removing the old one if it exists