sequence stringlengths 186 3.94k | docstring stringlengths 11 171 |
|---|---|
module function_definition identifier parameters identifier identifier identifier identifier default_parameter identifier false default_parameter identifier false block expression_statement assignment identifier attribute identifier identifier expression_statement assignment attribute identifier identifier identifier e... | convert SyntaxTree to Python source code |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list attribute identifier identifier call attribute identifier identifier argument_list expression_statement call attribute identifier identifier argument... | Handle mouse-move event by selecting a given element |
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list if_statement boolean_operator comparison_operator binary_operator identifier attribute identifier identifier float comparison_operator attribute identifier iden... | check if we should send new servos to flightgear |
module function_definition identifier parameters identifier default_parameter identifier none default_parameter identifier none default_parameter identifier none block expression_statement call attribute identifier identifier argument_list call identifier argument_list tuple identifier identifier if_statement call iden... | Remove a pip package in given environment by `name` or `prefix`. |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call identifier argument_list subscript identifier string string_start string_content string_end expression_statement assignment identifier call identifier argument_list subscript identifier string st... | Calibrate IR channels to BT. |
module function_definition identifier parameters identifier identifier identifier identifier block if_statement comparison_operator identifier integer block expression_statement call identifier argument_list string string_start string_content string_end identifier identifier if_statement comparison_operator identifier ... | Reports left and right mouse button presses + position |
module function_definition identifier parameters identifier identifier block if_statement call attribute attribute identifier identifier identifier argument_list identifier block expression_statement assignment identifier identifier else_clause block expression_statement assignment identifier call attribute attribute i... | Helper util to return a list of files in a directory |
module function_definition identifier parameters identifier block if_statement comparison_operator attribute identifier identifier none block import_from_statement dotted_name identifier dotted_name identifier dotted_name identifier expression_statement assignment attribute identifier identifier call identifier argumen... | Start listening from stream |
module function_definition identifier parameters identifier identifier block expression_statement string string_start string_content string_end if_statement comparison_operator attribute call identifier argument_list identifier identifier tuple string string_start string_content string_end string string_start string_co... | Covert a string that is ready to be sent to graphite into a tuple |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier if_statement comparison_operator identifier none block expression_statement call attribute attribute identifier identifier identifier argu... | Appending elements to our list |
module function_definition identifier parameters identifier block if_statement comparison_operator call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end string string_start string_content string_end block expression_statement call identifier argument_list ... | Print a trace message to stderr if environment variable is set. |
module function_definition identifier parameters block print_statement string string_start string_content string_end expression_statement assignment identifier call attribute call attribute call attribute identifier identifier argument_list identifier argument_list attribute identifier identifier call attribute attribu... | Lists the currently active agents |
module function_definition identifier parameters identifier block if_statement comparison_operator attribute identifier identifier identifier block if_statement not_operator call attribute identifier identifier argument_list attribute identifier identifier block expression_statement call attribute identifier identifier... | The unfinished line stayed long enough in the buffer to be printed |
module function_definition identifier parameters identifier block expression_statement assignment identifier list for_statement identifier call attribute attribute attribute identifier identifier identifier identifier argument_list block expression_statement augmented_assignment identifier call attribute attribute attr... | List of reader's keys. |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier attribute identifier identifier for_statement identifier identifier block if_statement comparison_operator identifier identifier block expression_statement augmented_assignment attribute identifier id... | Return all next characters that are listed in `chars` as a string |
module function_definition identifier parameters identifier type none block if_statement not_operator attribute identifier identifier block expression_statement await call attribute identifier identifier argument_list string string_start string_content string_end call attribute string string_start string_content string... | Create a Tile session. |
module function_definition identifier parameters identifier block expression_statement string string_start string_content string_end return_statement binary_operator binary_operator binary_operator binary_operator call identifier argument_list attribute identifier identifier string string_start string_content string_en... | Provides line, pos and absPosition line as string |
module function_definition identifier parameters identifier identifier identifier default_parameter identifier false default_parameter identifier false default_parameter identifier none block expression_statement assignment identifier call identifier argument_list identifier identifier expression_statement call identif... | Pull a remote maildir to the local one. |
module function_definition identifier parameters identifier block if_statement call attribute identifier identifier argument_list string string_start string_content string_end block expression_statement assignment identifier subscript identifier slice integer if_statement call attribute identifier identifier argument_l... | A stable, human-readable name and identifier for a resource. |
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list if_statement attribute identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list else_clause blo... | Handles the get-file-types subcommand |
module function_definition identifier parameters identifier identifier identifier identifier identifier dictionary_splat_pattern identifier block expression_statement call attribute call attribute attribute attribute identifier identifier identifier identifier argument_list keyword_argument identifier attribute identif... | Handles the update of the views counter associated with topics. |
module function_definition identifier parameters identifier identifier identifier identifier identifier identifier block expression_statement assignment identifier attribute subscript attribute identifier identifier binary_operator identifier integer identifier for_statement identifier identifier block if_statement com... | Memorizes a class instance attribute |
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute call identifier argument_list identifier identifier identifier argument_list expression_statement assignment subscript identifier string string_start string_content string_end attribute identifier... | Save this target port into a dictionary. |
module function_definition identifier parameters identifier identifier list_splat_pattern identifier block import_statement aliased_import dotted_name identifier identifier expression_statement assignment identifier binary_operator call attribute identifier identifier argument_list identifier call identifier argument_l... | Takes a subset of columns |
module function_definition identifier parameters identifier block with_statement with_clause with_item as_pattern call attribute identifier identifier argument_list identifier as_pattern_target identifier block expression_statement assignment pattern_list identifier identifier identifier identifier identifier call attr... | Resumes the simulation from a previous saved point. |
module function_definition identifier parameters identifier identifier block with_statement with_clause with_item as_pattern call identifier argument_list attribute identifier identifier string string_start string_content string_end as_pattern_target identifier block try_statement block expression_statement assignment ... | Starts a new stress process with a given cmd |
module function_definition identifier parameters identifier identifier type identifier block expression_statement assignment identifier call identifier argument_list identifier identifier if_statement comparison_operator subscript identifier unary_operator integer string string_start string_content string_end block ret... | Build the server url making sure it ends in a trailing slash. |
module function_definition identifier parameters identifier block expression_statement assignment identifier none if_statement attribute identifier identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list subscript attribute identifier identifie... | Emit the X10 house code. |
module function_definition identifier parameters identifier block expression_statement assignment identifier attribute identifier identifier if_statement comparison_operator identifier attribute identifier identifier block expression_statement assignment attribute identifier identifier subscript attribute identifier id... | Adds a path to python paths and removes it after the 'with' block ends |
module function_definition identifier parameters identifier block expression_statement assignment identifier integer expression_statement assignment identifier call attribute string string_start string_content string_end identifier argument_list attribute identifier identifier expression_statement assignment identifier... | Backups files with the same name of the instance filename |
module function_definition identifier parameters identifier identifier block expression_statement call attribute identifier identifier argument_list attribute identifier identifier attribute identifier identifier identifier | Calles modifier on instance with passed value |
module function_definition identifier parameters identifier default_parameter identifier none default_parameter identifier none default_parameter identifier none default_parameter identifier none default_parameter identifier none default_parameter identifier float block if_statement comparison_operator identifier none ... | Display atomic labels for the system |
module function_definition identifier parameters identifier block expression_statement call attribute identifier identifier argument_list keyword_argument identifier identifier expression_statement call attribute identifier identifier argument_list call attribute string string_start string_content string_end identifier... | Initialize the given queues. |
module function_definition identifier parameters identifier identifier block try_statement block return_statement call attribute identifier identifier argument_list identifier except_clause as_pattern tuple identifier identifier as_pattern_target identifier block raise_statement call identifier argument_list list_splat... | Convert data or die trying. |
module function_definition identifier parameters block expression_statement assignment identifier call attribute identifier identifier argument_list call identifier argument_list binary_operator string string_start string_content string_end call identifier argument_list keyword_argument identifier string string_start s... | remove libraries by GUI. |
module function_definition identifier parameters identifier identifier block if_statement comparison_operator attribute identifier identifier none block expression_statement assignment attribute identifier identifier attribute identifier identifier if_statement comparison_operator attribute identifier identifier none b... | Merge information from another PhoneNumber object into this one. |
module function_definition identifier parameters identifier block expression_statement assignment subscript attribute attribute identifier identifier identifier string string_start string_content string_end identifier expression_statement call attribute attribute attribute identifier identifier identifier identifier ar... | Enables custom templating extensions |
module function_definition identifier parameters identifier identifier identifier identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list string string_start string_content string_end expression_statement assignment identifier list for_statement identifi... | Read folder and collect data in local sqlite3 database |
module function_definition identifier parameters identifier block for_statement identifier call attribute identifier identifier argument_list block expression_statement call attribute identifier identifier argument_list binary_operator string string_start string_content string_end identifier expression_statement call a... | Stop the atlas node threads |
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 call attribute identifier identifier argument_list expression_... | Post the given link check result to the client site. |
module function_definition identifier parameters identifier block expression_statement string string_start string_content string_end for_statement pattern_list identifier identifier identifier call identifier argument_list identifier integer block try_statement block expression_statement yield call identifier argument_... | Seek sites by path. |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier dictionary for_statement pattern_list identifier identifier call attribute identifier identifier argument_list attribute identifier identifier block expression_statement assignment identifier attribut... | Assign the output fields of a ConstructResult block to their respective query_path. |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute call attribute identifier identifier argument_list identifier argument_list if_statement not_operator comparison_operator attribute identifier identifier identifier block expression_sta... | Creates the table if it doesn't exist. |
module function_definition identifier parameters identifier default_parameter identifier none dictionary_splat_pattern identifier block if_statement comparison_operator string string_start string_content string_end identifier block delete_statement subscript identifier string string_start string_content string_end retu... | Update a JMS destination |
module function_definition identifier parameters identifier identifier block expression_statement assignment attribute identifier identifier call identifier argument_list subscript attribute identifier identifier attribute identifier identifier | Set initial voltage for time domain simulation |
module function_definition identifier parameters identifier identifier identifier block import_from_statement relative_import import_prefix dotted_name identifier dotted_name identifier expression_statement assignment identifier none for_statement identifier identifier block try_statement block expression_statement ass... | Iterate over selections of an xarray object in the provided order. |
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 | Create an LZMA archive with the lzma Python module. |
module function_definition identifier parameters identifier block expression_statement call attribute identifier identifier argument_list expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end attribute identifier ... | Initial setup, run once. |
module function_definition identifier parameters identifier default_parameter identifier false block expression_statement assignment identifier call attribute identifier identifier argument_list try_statement block expression_statement assignment identifier call attribute identifier identifier argument_list identifier ... | Delete the given model instance. |
module function_definition identifier parameters identifier identifier identifier identifier block expression_statement assignment identifier list expression_statement assignment identifier list for_statement pattern_list identifier identifier identifier call identifier argument_list identifier identifier identifier id... | Extract any >=2bpp image we think we can improve |
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute parenthesized_expression binary_operator attribute identifier identifier integer identifier argument_list keyword_argument identifier integer expression_statement assignment identifier call attrib... | Computes the distances between neighboring crystal planes |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier attribute identifier identifier expression_statement assignment identifier call identifier argument_list lambda lambda_parameters identifier comparison_operator attribute identifier identifier attribu... | Remove VNXIOClass instance from policy. |
module function_definition identifier parameters identifier block expression_statement assignment identifier subscript attribute identifier identifier string string_start string_content string_end if_statement comparison_operator call identifier argument_list call attribute attribute identifier identifier identifier ar... | If more than one channel selected, activate merge checkbox. |
module function_definition identifier parameters identifier identifier identifier block if_statement comparison_operator identifier identifier block expression_statement augmented_assignment subscript identifier identifier integer else_clause block expression_statement assignment subscript identifier identifier integer | Increments the value of the dictionary at the specified key. |
module function_definition identifier parameters identifier block for_statement identifier identifier block expression_statement assignment attribute identifier identifier string string_start string_content string_end expression_statement assignment attribute identifier identifier string string_start string_content str... | Adjust details specific to AliCloud. |
module function_definition identifier parameters identifier identifier block expression_statement string string_start string_content string_end expression_statement call attribute identifier identifier argument_list expression_statement call attribute identifier identifier argument_list attribute identifier identifier ... | Closes then moves the file to dst. |
module function_definition identifier parameters identifier block expression_statement assignment identifier none if_statement attribute attribute identifier identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list keyword_argument identifier attribute id... | Send out a final notification about the end of this flow. |
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 ObjectiveLookupSession.use_comparative_objective_view |
module function_definition identifier parameters identifier block expression_statement call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement ... | Return start and end positions of the cursor respectively. |
module function_definition identifier parameters identifier block if_statement call attribute call attribute identifier identifier argument_list identifier argument_list attribute identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list expression_stateme... | Log AssistRequest fields without audio data. |
module function_definition identifier parameters identifier identifier block for_statement identifier call identifier argument_list call identifier argument_list identifier call identifier argument_list attribute identifier identifier block expression_statement assignment identifier call attribute attribute identifier ... | Tell num_workers worker threads to quit after their current task. |
module function_definition identifier parameters identifier block if_statement parenthesized_expression comparison_operator attribute attribute identifier identifier identifier none block if_statement parenthesized_expression comparison_operator attribute identifier identifier false block expression_statement call attr... | Start the logging for this entry |
module function_definition identifier parameters identifier block expression_statement assignment attribute identifier identifier true expression_statement await call attribute attribute identifier identifier identifier argument_list attribute identifier identifier expression_statement assignment attribute identifier i... | Start asynchronous reconnect loop. |
module function_definition identifier parameters identifier identifier block if_statement not_operator call identifier argument_list subscript identifier integer block expression_statement assignment identifier call identifier argument_list subscript identifier integer return_statement list_comprehension binary_operato... | Rastrigin test objective function |
module function_definition identifier parameters identifier block expression_statement assignment identifier dictionary expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list attribute identifier identifier string string_start string_content string_end for_sta... | Query the consul DNS server for the service IP and port |
module function_definition identifier parameters typed_parameter identifier type identifier type generic_type identifier type_parameter type attribute identifier identifier block if_statement comparison_operator identifier none block expression_statement assignment identifier call identifier argument_list identifier if... | Process a date string, return a datetime object |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call identifier argument_list identifier attribute identifier identifier call identifier argument_list identifier return_statement identifier | Sets the xl-320 to either servo or wheel mode |
module function_definition identifier parameters identifier default_parameter identifier list string string_start string_content string_end string string_start string_content string_end string string_start string_content string_end block if_statement not_operator identifier block return_statement string string_start st... | Make python dict to k="v" format |
module function_definition identifier parameters identifier block expression_statement assignment identifier list for_statement pattern_list identifier identifier attribute identifier identifier block if_statement boolean_operator comparison_operator call identifier argument_list identifier integer comparison_operator ... | Return all version changes. |
module function_definition identifier parameters identifier block if_statement call identifier argument_list identifier identifier block expression_statement assignment identifier call identifier argument_list identifier elif_clause not_operator call identifier argument_list identifier identifier block raise_statement ... | return the square root of n in an exact representation |
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end expression_statement assignment identifier call attribute attribute identifier identifier ide... | Callback URL for Nexmo. |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list subscript attribute identifier identifier string string_start string_content string_end call attribute attribute identifier identifier identifier arg... | The request from ulogin service is correct |
module function_definition identifier parameters identifier identifier default_parameter identifier none block if_statement comparison_operator identifier none block expression_statement assignment identifier dictionary if_statement comparison_operator attribute identifier identifier none block expression_statement ass... | Gets a single entry by ID. |
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 sub-progress bar by amount. |
module function_definition identifier parameters identifier identifier block try_statement block if_statement call identifier argument_list identifier identifier block return_statement identifier elif_clause call attribute identifier identifier argument_list string string_start string_content string_end identifier bloc... | Parse a key represented by a string and return its character code. |
module function_definition identifier parameters identifier dictionary_splat_pattern identifier block try_statement block expression_statement assignment attribute identifier identifier call call identifier argument_list attribute identifier identifier argument_list attribute identifier identifier attribute identifier ... | Connect to Google Compute Engine. |
module function_definition identifier parameters identifier identifier identifier identifier block if_statement comparison_operator string string_start string_content string_end identifier block return_statement call identifier argument_list identifier identifier identifier elif_clause comparison_operator string string... | Dispatch to the right subclass based on the definition. |
module function_definition identifier parameters identifier block expression_statement call attribute identifier identifier argument_list string string_start string_content string_end identifier expression_statement assignment identifier call attribute identifier identifier argument_list try_statement block expression_... | Creates temporary file to mark the task as `done` |
module function_definition identifier parameters identifier block expression_statement assignment pattern_list identifier identifier expression_list attribute identifier identifier attribute identifier identifier if_statement comparison_operator identifier none block expression_statement assignment attribute identifier... | splits a node from its kids maintaining parent pointers |
module function_definition identifier parameters identifier identifier block for_statement identifier attribute identifier identifier block if_statement call attribute identifier identifier argument_list identifier identifier block return_statement true return_statement false | Returns True if name matches one of the patterns. |
module function_definition identifier parameters block expression_statement assignment identifier subscript attribute identifier identifier string string_start string_content string_end expression_statement assignment identifier subscript attribute identifier identifier string string_start string_content string_end exp... | Return the gui and mpl backend. |
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier attribute identifier identifier try_statement block return_statement comparison_operator subscript identifier identifier subscript identifier identifier except_clause identifier block retur... | Returns True if a and b are members of the same set. |
module function_definition identifier parameters identifier type attribute identifier identifier block expression_statement assignment identifier dictionary pair string string_start string_content string_end attribute attribute identifier identifier identifier pair string string_start string_content string_end attribut... | Make sure that the security_type is known, or throw. |
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 call attribute call attribute attribute identifier identifier identi... | Name of the file where plugin's output should be written to. |
module function_definition identifier parameters block expression_statement assignment identifier call attribute identifier identifier argument_list keyword_argument identifier string string_start string_content string_end expression_statement call attribute identifier identifier argument_list string string_start strin... | Print checksum and file name for all files in the directory. |
module function_definition identifier parameters list_splat_pattern identifier block expression_statement assignment identifier false for_statement identifier identifier block expression_statement assignment identifier binary_operator identifier call identifier argument_list identifier return_statement identifier | XOR definition for multiple variables |
module function_definition identifier parameters identifier block expression_statement assignment identifier binary_operator string string_start string_content string_end parenthesized_expression attribute identifier identifier expression_statement assignment identifier call attribute attribute identifier identifier id... | The path to the submit description file representing this job. |
module function_definition identifier parameters identifier identifier block return_statement subscript dictionary pair string string_start string_content string_end attribute identifier identifier pair string string_start string_content string_end attribute identifier identifier pair string string_start string_content... | Returns the collection corresponding the attribute name. |
module function_definition identifier parameters identifier block expression_statement assignment subscript attribute identifier identifier string string_start string_content string_end attribute attribute identifier identifier identifier expression_statement assignment subscript attribute identifier identifier string ... | Save the config to the config file. |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute call attribute identifier identifier argument_list identifier argument_list identifier return_statement call attribute identifier identifier argument_list call attribute call attribute ... | Move this region so its top right corner is on ``loc`` |
module function_definition identifier parameters identifier identifier identifier block for_statement identifier call attribute identifier identifier argument_list identifier identifier block if_statement comparison_operator attribute identifier identifier identifier block expression_statement yield tuple attribute ide... | Similar to itermonthdays2 but returns tuples of day and weekday. |
module function_definition identifier parameters identifier identifier identifier identifier identifier block expression_statement assignment identifier list_comprehension integer for_in_clause identifier call identifier argument_list integer integer expression_statement assignment subscript identifier integer identifi... | Send a set of RGB values to the light |
module function_definition identifier parameters identifier identifier block assert_statement call identifier argument_list identifier identifier for_statement pattern_list identifier identifier call identifier argument_list attribute identifier identifier block expression_statement augmented_assignment subscript attri... | Adds the given distribution's counts to the current distribution. |
module function_definition identifier parameters identifier identifier identifier block if_statement not_operator identifier block return_statement list expression_statement assignment identifier dictionary expression_statement assignment identifier conditional_expression attribute identifier identifier call identifier... | Converts a list of section objects or names to sectionIds needed for library sharing. |
module function_definition identifier parameters identifier identifier block for_statement identifier identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list call attribute attribute identifier identifier identifier argument_list identifier cal... | Build a module from templates and user supplied information |
module function_definition identifier parameters identifier default_parameter identifier none default_parameter identifier false block expression_statement assignment identifier call attribute identifier identifier argument_list try_statement block expression_statement assignment identifier comparison_operator call att... | Creates a new GRR user. |
module function_definition identifier parameters identifier identifier block for_statement identifier call identifier argument_list identifier block expression_statement call attribute attribute identifier identifier identifier argument_list attribute identifier identifier | Sends the given number of up key presses. |
module function_definition identifier parameters identifier identifier block expression_statement assignment pattern_list identifier identifier call attribute attribute identifier identifier identifier argument_list keyword_argument identifier string string_start string_content string_end keyword_argument identifier di... | Generates html and thumbnails for admin site. |
module function_definition identifier parameters identifier block if_statement not_operator attribute identifier identifier block return_statement expression_statement assignment identifier call identifier argument_list list_comprehension identifier for_in_clause pattern_list identifier identifier call attribute identi... | Remove the actor's methods from the callback registry. |
module function_definition identifier parameters identifier identifier block if_statement call identifier argument_list identifier attribute identifier identifier block expression_statement assignment identifier list_comprehension call identifier argument_list identifier for_in_clause identifier call attribute identifi... | Set value for error_retry_codes. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.