sequence stringlengths 186 3.94k | docstring stringlengths 11 171 |
|---|---|
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list keyword_argument identifier true expression_statement call attribute identifier identifier argument_list identifier return_statement identifier | Parse an ini-style config file. |
module function_definition identifier parameters identifier identifier default_parameter identifier none default_parameter identifier none default_parameter identifier none block expression_statement assignment identifier call identifier argument_list identifier if_statement boolean_operator comparison_operator identif... | Base level method for updating data via the API |
module function_definition identifier parameters identifier identifier block expression_statement assignment subscript identifier string string_start string_content string_end attribute attribute identifier identifier identifier expression_statement assignment subscript identifier string string_start string_content str... | Called when a task is done and success, called by `on_task_status` |
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 call attribute subscript identifier slice integer identifier argument_list expression_statement... | Parse one line of the XFS info output. |
module function_definition identifier parameters identifier identifier block if_statement not_operator comparison_operator identifier attribute identifier identifier block expression_statement call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end tuple ide... | Given the name of the PC, return the database identifier. |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement assignment identifier call attribute identifier identifier argument_list identifier keyword_argument identifier identifier expre... | Build an index for a MAF genome alig file and return StringIO of it. |
module function_definition identifier parameters identifier block expression_statement string string_start string_content string_end expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement augmented_assignment identifier unary_operator attribute identifier iden... | Make the current foreground color the default. |
module function_definition identifier parameters identifier block if_statement attribute attribute identifier identifier identifier block expression_statement call attribute attribute identifier identifier identifier argument_list if_statement attribute attribute identifier identifier identifier block expression_statem... | Stop services already provided by main samba daemon |
module function_definition identifier parameters identifier block expression_statement assignment identifier attribute identifier identifier if_statement call attribute identifier identifier argument_list string string_start string_content string_end block expression_statement assignment identifier subscript identifier... | Return link text for this view. |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call identifier argument_list list tuple string string_start string_content string_end integer tuple string string_start string_content string_end string string_start string_content string_end if_stat... | Authenticate using MONGODB-X509. |
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list if_statement comparison_operator identifier none block if_statement comparison_operator subscript identifier string string_start string_con... | Do the coordinator-only part of the restore. |
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement assignment identifier conditional_expression string string_start string_content string_end comparison_operator subscript identifier integer... | Returns date as signed list. |
module function_definition identifier parameters identifier default_parameter identifier none block expression_statement assignment identifier conditional_expression call identifier argument_list identifier identifier list expression_statement assignment identifier call identifier argument_list call attribute identifie... | Computes a hash code for the given dictionary that is safe for persistence round trips |
module function_definition identifier parameters identifier block expression_statement assignment identifier string string_start string_end for_statement identifier identifier block expression_statement assignment identifier binary_operator identifier call identifier argument_list identifier return_statement identifier | Convert integer vectors to character vectors. |
module function_definition identifier parameters identifier identifier identifier identifier block return_statement call attribute identifier identifier argument_list identifier identifier identifier identifier | Return the bytes for a MIDI controller event. |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier string string_start string_content string_end expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list identifier expression_statement assignm... | Parse JavaScript variables in the source page |
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list identifier identifier expression_statement call attribute identifier identifier argument_list return_statement identi... | Executes a query to the test_db and closes the connection afterwards. |
module function_definition identifier parameters identifier block if_statement attribute identifier identifier block expression_statement call identifier argument_list attribute identifier identifier attribute identifier identifier expression_statement assignment attribute identifier identifier false expression_stateme... | deallocate specific ports on the current machine |
module function_definition identifier parameters identifier identifier block expression_statement call attribute identifier identifier argument_list identifier identifier expression_statement call attribute identifier identifier argument_list attribute identifier identifier | Stop observing log events. |
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call attribute string string_start string_content string_end identifier argument_list identifier if_statement not_operator call identifier argument_list identifier block with_statement with... | Retrieve a local FASTA file corresponding to the specified region. |
module function_definition identifier parameters identifier block if_statement comparison_operator call identifier argument_list attribute identifier identifier integer block return_statement binary_operator call identifier argument_list attribute identifier identifier call identifier argument_list call identifier argu... | return the mean value |
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list call attribute attribute identifier identifier identifier argument_list expression_statement call attribute attribute identifier identifier identifier argument_list integer attribut... | Load the best score from file. |
module function_definition identifier parameters identifier identifier block if_statement identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier expression_statement assignment identifier call attribute attribute identifier identifier identifier argumen... | Creates custom permissions on model "model". |
module function_definition identifier parameters identifier block expression_statement assignment identifier dictionary expression_statement assignment identifier list subscript attribute identifier identifier attribute attribute identifier identifier identifier while_statement identifier block expression_statement ass... | Recursively check that all nodes are reachable. |
module function_definition identifier parameters identifier 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 pair string string_start string_co... | Generate the documentation for this field. |
module function_definition identifier parameters identifier identifier default_parameter identifier integer block import_statement dotted_name identifier expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement assignment identifier call attribute identifier ide... | Download `url` to `dest` |
module function_definition identifier parameters identifier identifier identifier block assert_statement parenthesized_expression not_operator call attribute identifier identifier argument_list identifier assert_statement parenthesized_expression comparison_operator identifier identifier expression_statement assignment... | Insert the new node before node. |
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list call attribute attribute identifier identifier identifier argument_list attribute identifier identifier attribute identifier identifier attribute identifier identifier for_statement... | Sort and then iterate the dictionary |
module function_definition identifier parameters identifier block import_from_statement dotted_name identifier dotted_name identifier expression_statement assignment identifier call attribute identifier identifier argument_list return_statement call attribute identifier identifier argument_list identifier identifier st... | Append context.json to target_zip |
module function_definition identifier parameters identifier identifier block expression_statement assignment attribute identifier identifier identifier expression_statement assignment attribute attribute identifier identifier identifier tuple string string_start string_end attribute identifier identifier return_stateme... | Logs user into Heroku with given api_key. |
module function_definition identifier parameters identifier block if_statement call identifier argument_list identifier tuple attribute identifier identifier attribute identifier identifier attribute identifier identifier block return_statement call attribute identifier identifier argument_list return_statement call id... | Convert object that cannot be natively serialized by python to JSON representation. |
module function_definition identifier parameters identifier block expression_statement string string_start string_content string_end expression_statement assignment identifier attribute identifier identifier expression_statement call attribute attribute identifier identifier identifier argument_list attribute identifie... | Accept the line regardless of where the cursor is. |
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list string string_start string_content string_end keyword_argument identifier identifier keyword_argument identifier string string_start strin... | Create a new Data Source give a list of Connections. |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call identifier argument_list identifier string string_start string_content string_end none if_statement comparison_operator identifier none block expression_statement assignment identifier call attri... | Test if `array` is an array of real numbers. |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list subscript identifier slice integer expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list... | Reset anime watched episodes. |
module function_definition identifier parameters identifier identifier identifier block for_statement identifier attribute identifier identifier block if_statement parenthesized_expression boolean_operator comparison_operator attribute identifier identifier identifier comparison_operator attribute identifier identifier... | Find a candidate pair in the check list. |
module function_definition identifier parameters identifier identifier identifier default_parameter identifier integer block expression_statement assignment identifier call attribute identifier identifier argument_list string string_start string_content string_end attribute identifier identifier integer binary_operator... | Generate a broadcast report from a list of readings and a uuid. |
module function_definition identifier parameters identifier block return_statement parenthesized_expression boolean_operator call identifier argument_list identifier attribute identifier identifier call identifier argument_list attribute identifier identifier tuple attribute identifier identifier attribute identifier i... | Finds a comprehension as a statement |
module function_definition identifier parameters identifier block expression_statement assignment attribute identifier identifier call attribute identifier identifier argument_list attribute identifier identifier attribute identifier identifier identifier | Apply a MID_SPAN smooth to the best span estimates at each observation. |
module function_definition identifier parameters block decorated_definition decorator identifier function_definition identifier parameters identifier default_parameter identifier integer block if_statement comparison_operator identifier call identifier argument_list identifier block return_statement call attribute iden... | Parser EOF flag of a string. |
module function_definition identifier parameters identifier identifier block return_statement list_comprehension call attribute identifier identifier argument_list subscript call attribute identifier identifier argument_list string string_start string_content string_end call attribute identifier identifier argument_lis... | Read `count` byte arrays using the plain encoding. |
module function_definition identifier parameters identifier identifier identifier identifier identifier block expression_statement assignment pattern_list identifier identifier identifier call attribute identifier identifier argument_list identifier identifier identifier identifier if_statement comparison_operator iden... | Create sample entries of a list. |
module function_definition identifier parameters identifier block expression_statement assignment identifier list for_statement identifier call attribute identifier identifier argument_list block if_statement call identifier argument_list attribute identifier identifier call identifier argument_list identifier block br... | Fetch data and parse it to build a list of cable entries. |
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list attribute identifier identifier attribute identifier identifier attribute identifier identifier while_statement comparison_operator identifier attribute identif... | Iterate over the instances of the class. |
module function_definition identifier parameters identifier identifier default_parameter identifier identifier default_parameter identifier identifier block expression_statement assignment identifier false for_statement pattern_list identifier identifier identifier identifier attribute identifier identifier block if_st... | Construct the mask that defines a region on a given data's grid. |
module function_definition identifier parameters identifier default_parameter identifier none block if_statement not_operator 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_en... | Returns a callback to convert test record to proto and save to disk. |
module function_definition identifier parameters identifier dictionary_splat_pattern identifier block for_statement identifier subscript call attribute call attribute identifier identifier argument_list identifier identifier argument_list call attribute identifier identifier argument_list attribute attribute identifier... | Get the latest entry in this category, optionally including subcategories |
module function_definition identifier parameters identifier block for_statement identifier call identifier argument_list integer block expression_statement call attribute identifier identifier argument_list identifier for_statement identifier call attribute attribute identifier identifier identifier argument_list block... | Gets the schedule from the thermostat. |
module function_definition identifier parameters identifier identifier identifier identifier default_parameter identifier none default_parameter identifier none block if_statement comparison_operator identifier call attribute attribute identifier identifier identifier argument_list block raise_statement call identifier... | Registers a new recipe. |
module function_definition identifier parameters identifier block expression_statement call attribute identifier identifier argument_list if_statement not_operator attribute identifier identifier block expression_statement assignment attribute identifier identifier true expression_statement call attribute attribute ide... | Stop the stream and terminate PyAudio |
module function_definition identifier parameters default_parameter identifier none type identifier block expression_statement assignment identifier string string_start string_content string_end if_statement not_operator identifier block expression_statement assignment identifier subscript call attribute call attribute ... | download API documentation from _branch_ of Habitica\'s repo on Github |
module function_definition identifier parameters identifier identifier identifier default_parameter identifier none default_parameter identifier false block expression_statement assignment attribute identifier identifier call attribute identifier identifier argument_list identifier expression_statement assignment attri... | Remove specified SSH public key from specified user. |
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list expression_statement assignment identifier list for_statement identifier attribute identifier identifier block expression_statement assignment identifier call attribute identifier i... | Convert the current schema to a `dict`. |
module function_definition identifier parameters identifier identifier default_parameter identifier none block if_statement comparison_operator identifier none block expression_statement assignment identifier list identifier else_clause block if_statement comparison_operator identifier identifier block return_statement... | get al list of all dependencies for the given item "dep" |
module function_definition identifier parameters identifier block expression_statement assignment attribute identifier identifier true expression_statement assignment attribute identifier identifier call identifier argument_list keyword_argument identifier attribute identifier identifier expression_statement call attri... | Spawns a worker thread to do the expiration checks |
module function_definition identifier parameters identifier identifier block return_statement list_comprehension call attribute identifier identifier argument_list identifier identifier for_in_clause identifier attribute identifier identifier | Return a list with the field values |
module function_definition identifier parameters identifier identifier identifier default_parameter identifier string string_start string_content string_end block if_statement boolean_operator comparison_operator identifier none parenthesized_expression boolean_operator comparison_operator identifier subscript identifi... | Make sure a value is within a given range |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier binary_operator string string_start string_content string_end attribute attribute identifier identifier identifier expression_statement assignment identifier call attribute identifier identifier argum... | traverse a relationship from a node to a set of nodes |
module function_definition identifier parameters identifier identifier block if_statement not_operator parenthesized_expression boolean_operator identifier identifier block return_statement integer expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list identif... | Calculates how long it took to execute the testcase. |
module function_definition identifier parameters block expression_statement call identifier argument_list string string_start string_content string_end identifier call identifier argument_list identifier string string_start string_content string_end string string_start string_content string_end string string_start stri... | render generated constant files from templates |
module function_definition identifier parameters identifier block import_from_statement dotted_name identifier dotted_name identifier expression_statement assignment identifier dictionary for_statement pattern_list identifier identifier call attribute call identifier argument_list identifier identifier argument_list bl... | Loads Coconut as an IPython extension. |
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call attribute call attribute attribute identifier identifier identifier argument_list identifier identifier argument_list expression_statement call attribute identifier identifier argument... | Returns the dexter aspect of an object. |
module function_definition identifier parameters identifier identifier block return_statement call attribute attribute identifier identifier identifier argument_list identifier keyword_argument identifier attribute identifier identifier | Return a relative filepath to path from Dir path. |
module function_definition identifier parameters identifier block for_statement identifier call attribute identifier identifier argument_list attribute identifier identifier block if_statement call attribute identifier identifier argument_list binary_operator attribute attribute identifier identifier identifier string ... | Remove all files caching this function |
module function_definition identifier parameters identifier identifier default_parameter identifier false block import_from_statement relative_import import_prefix dotted_name identifier identifier dotted_name identifier if_statement call identifier argument_list identifier identifier block expression_statement assignm... | Return a bundle build on a dataset, with the given vid or id reference |
module function_definition identifier parameters identifier block expression_statement assignment pattern_list identifier identifier call identifier argument_list identifier if_statement comparison_operator identifier none block return_statement false if_statement comparison_operator call identifier argument_list ident... | Is the given address a p2wsh address? |
module function_definition identifier parameters identifier block return_statement call attribute call attribute subscript identifier integer identifier argument_list string string_start string_content string_end call attribute subscript identifier integer identifier argument_list string string_start string_content str... | Converts text that may be camelcased into an underscored format |
module function_definition identifier parameters identifier block for_statement pattern_list identifier identifier call attribute identifier identifier argument_list identifier block if_statement boolean_operator boolean_operator call attribute identifier identifier argument_list identifier call identifier argument_lis... | Dynamically attaches endpoint callables to this client |
module function_definition identifier parameters identifier identifier block assert_statement call identifier argument_list identifier identifier string string_start string_content string_end for_statement identifier call identifier argument_list integer call identifier argument_list identifier identifier block express... | Yield successive n-sized chunks from list, l. |
module function_definition identifier parameters identifier default_parameter identifier none block return_statement call attribute identifier identifier argument_list call attribute attribute identifier identifier identifier argument_list identifier keyword_argument identifier integer keyword_argument identifier false | Write a close ``frame`` with ``code``. |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier dictionary expression_statement assignment subscript identifier string string_start string_content string_end attribute identifier identifier if_statement comparison_operator call attribute attribute ... | Update the alarm state. |
module function_definition identifier parameters identifier block expression_statement assignment attribute attribute attribute identifier identifier identifier identifier string string_start string_content string_end expression_statement call attribute attribute identifier identifier identifier argument_list expressio... | Hide the log interface. |
module function_definition identifier parameters identifier default_parameter identifier float block expression_statement assignment identifier list for_statement identifier call identifier argument_list call identifier argument_list identifier block if_statement boolean_operator comparison_operator identifier integer ... | returns indices of segments that start on a non-differentiable joint. |
module function_definition identifier parameters identifier list_splat_pattern identifier dictionary_splat_pattern identifier block expression_statement call attribute attribute identifier identifier identifier argument_list list_splat identifier dictionary_splat identifier for_statement pattern_list identifier identif... | Sort this setlist in place. |
module function_definition identifier parameters identifier identifier block expression_statement call attribute identifier identifier argument_list for_statement identifier call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end block if_statement compariso... | Return the XML info record for the given item |
module function_definition identifier parameters identifier block expression_statement assignment identifier list for_statement identifier identifier block expression_statement call attribute identifier identifier argument_list identifier return_statement call identifier argument_list identifier | Check if values need to be converted before they get mogrify'd |
module function_definition identifier parameters identifier identifier block if_statement call identifier argument_list identifier identifier block expression_statement assignment identifier conditional_expression subscript identifier integer comparison_operator call identifier argument_list identifier integer none exp... | When the source gets updated, update the select widget |
module function_definition identifier parameters identifier identifier block if_statement call identifier argument_list call identifier argument_list attribute attribute identifier identifier identifier string string_start string_content string_end block expression_statement call attribute identifier identifier argumen... | Delete all the bootstrap builds. |
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list keyword_argument identifier call attribute identifier identifier argument_list keyword_argument identifier integer keyword_argument identifier identifier keyword_argument identifier... | Derive a 32-bit b64-encoded Fernet key from arbitrary input key. |
module function_definition identifier parameters identifier block if_statement comparison_operator attribute identifier identifier none block expression_statement assignment identifier string string_start string_content string_end expression_statement assignment pattern_list identifier identifier call attribute identif... | Returns a list of available load balancing algorithms. |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement assignment attribute identifier identifier identifier return_statement identifier | Return a new vector scaled to given length |
module function_definition identifier parameters identifier block if_statement not_operator attribute identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement assignment attribute identifier identifier identifier expression_statement ... | Return list of objects containing available mode name and id. |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier string string_start string_content string_end try_statement block expression_statement assignment attribute identifier identifier call identifier argument_list binary_operator string string_start stri... | Attempts to load file with .dbf extension as both lower and upper case |
module function_definition identifier parameters identifier dictionary_splat_pattern identifier block expression_statement assignment identifier call identifier argument_list identifier dictionary_splat identifier return_statement call attribute identifier identifier argument_list identifier | Clean and JSON-encode a dict of parameters. |
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list try_statement block expression_statement assignment identifier identifier expression_statement assignment identifier call attribute identifier identifier argume... | if the given directory has just a single subdir, enter that |
module function_definition identifier parameters identifier block expression_statement assignment identifier line_continuation attribute attribute attribute identifier identifier identifier identifier return_statement call identifier argument_list attribute identifier identifier | Return the start and stop needle. |
module function_definition identifier parameters identifier identifier identifier identifier dictionary_splat_pattern identifier block expression_statement assignment identifier string string_start string_content string_end expression_statement assignment identifier parenthesized_expression call attribute concatenated_... | Trigger new build and return a summary of the build. |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier conditional_expression none comparison_operator identifier none call attribute identifier identifier argument_list identifier expression_statement assignment identifier list_comprehension identifier f... | Return the specified column and labels of other columns. |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier list string string_start string_content string_end string string_start string_content string_end string string_start string_content string_end for_statement identifier identifier block expression_stat... | Check that intersection of two objects has the same information. |
module function_definition identifier parameters identifier block function_definition identifier parameters identifier block expression_statement assignment identifier attribute identifier identifier expression_statement assignment identifier attribute attribute attribute identifier identifier identifier identifier exp... | Bind buttons to callbacks. |
module function_definition identifier parameters identifier identifier identifier identifier block expression_statement assignment identifier call identifier argument_list identifier keyword_argument identifier identifier keyword_argument identifier identifier if_statement comparison_operator attribute attribute identi... | Get Layer with matching catalog and uuid |
module function_definition identifier parameters identifier identifier identifier identifier identifier identifier block expression_statement assignment identifier binary_operator identifier attribute identifier identifier if_statement comparison_operator identifier integer block expression_statement assignment attribu... | Calulate spike times from raw response data |
module function_definition identifier parameters identifier block if_statement not_operator attribute identifier identifier block raise_statement call identifier argument_list string string_start string_content string_end return_statement call attribute identifier identifier argument_list attribute identifier identifie... | Return the little_endian attribute of the BFD file being processed. |
module function_definition identifier parameters identifier identifier block if_statement not_operator call identifier argument_list identifier attribute attribute identifier identifier identifier block raise_statement call identifier argument_list string string_start string_content string_end expression_statement assi... | Remove the rows denoted by ``indices`` form the CSR sparse matrix ``mat``. |
module function_definition identifier parameters identifier identifier block return_statement call identifier argument_list binary_operator call identifier argument_list call attribute attribute identifier identifier identifier argument_list call identifier argument_list call attribute identifier identifier argument_li... | merge options from configuration file with the default options |
module function_definition identifier parameters identifier block expression_statement assignment identifier attribute identifier identifier expression_statement assignment identifier call identifier argument_list expression_statement assignment identifier call identifier argument_list if_statement not_operator attribu... | Obtains the methods used in the service. |
module function_definition identifier parameters identifier block expression_statement call attribute attribute identifier identifier identifier argument_list attribute identifier identifier keyword_argument identifier attribute identifier identifier | Attach a callback on the group pubsub |
module function_definition identifier parameters identifier default_parameter identifier string string_start string_content string_end block if_statement comparison_operator identifier list string string_start string_content string_end string string_start string_content string_end block raise_statement call identifier ... | writes message to pipe |
module function_definition identifier parameters identifier dictionary_splat_pattern identifier block expression_statement assignment identifier call identifier argument_list identifier if_statement comparison_operator identifier true block return_statement string string_start string_content string_end elif_clause comp... | Serialize ``obj`` to a JSON5-formatted ``str``. |
module function_definition identifier parameters identifier identifier identifier block if_statement attribute identifier identifier block if_statement call identifier argument_list attribute identifier identifier string string_start string_content string_end block expression_statement assignment attribute attribute id... | Outputs the provided data using the transformations and output format specified for this CLI endpoint |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.