sequence stringlengths 186 3.94k | docstring stringlengths 11 171 |
|---|---|
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier list for_statement pattern_list identifier identifier call attribute identifier identifier argument_list block for_statement pattern_list identifier identifier call attribute identifier ide... | convert fundament dict to sqls |
module function_definition identifier parameters typed_parameter identifier type identifier typed_parameter list_splat_pattern identifier type generic_type identifier type_parameter type identifier type identifier block expression_statement assignment identifier list_comprehension binary_operator call identifier argume... | Glue together two sets of strings using `space`. |
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute call attribute identifier identifier argument_list identifier argument_list attribute attribute identifier identifier identifier expression_statement assignment identifier attribute identifier ide... | Shows the error details. |
module function_definition identifier parameters identifier identifier identifier identifier default_parameter identifier integer default_parameter identifier integer block expression_statement string string_start string_content string_end for_statement pattern_list identifier identifier identifier call identifier argu... | Generate coords for a matrix of rects |
module function_definition identifier parameters identifier identifier default_parameter identifier none default_parameter identifier none default_parameter identifier false block if_statement comparison_operator identifier integer block return_statement if_statement boolean_operator comparison_operator identifier none... | Add a time point that could be used as a UTC reference. |
module function_definition identifier parameters identifier block expression_statement call attribute identifier identifier argument_list expression_statement assignment pattern_list identifier identifier call attribute attribute identifier identifier identifier argument_list string string_start string_content string_e... | Get list of files, for this session, on server. |
module function_definition identifier parameters identifier block if_statement comparison_operator call attribute call identifier argument_list identifier argument_list string string_start string_content string_end block expression_statement assignment identifier call attribute attribute identifier identifier identifie... | Returns set with all todo IDs. |
module function_definition identifier parameters identifier identifier default_parameter identifier string string_start string_content string_end block expression_statement assignment identifier dictionary pair string string_start string_content string_end string string_start string_content string_end pair string strin... | Query for page by title |
module function_definition identifier parameters identifier block assert_statement comparison_operator string string_start string_content string_end identifier call attribute string string_start string_content string_end identifier argument_list identifier expression_statement assignment identifier call attribute ident... | parse a filter string into a key-value pair |
module function_definition identifier parameters identifier default_parameter identifier none default_parameter identifier false block expression_statement assignment identifier call identifier argument_list call identifier argument_list call attribute identifier identifier argument_list identifier keyword_argument ide... | sort the keys before returning them |
module function_definition identifier parameters identifier block expression_statement assignment identifier true try_statement block expression_statement assignment identifier call identifier argument_list identifier keyword_argument identifier false keyword_argument identifier false expression_statement assignment id... | Test if a table is writable. |
module function_definition identifier parameters identifier dictionary_splat_pattern identifier block if_statement comparison_operator attribute identifier identifier none block return_statement call attribute attribute identifier identifier identifier argument_list attribute identifier identifier dictionary_splat iden... | Uninstalls the app from the current user's account. |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call identifier argument_list identifier string string_start string_content string_end expression_statement call attribute identifier identifier argument_list identifier identifier | Output this AhopeFileList to a pickle file |
module function_definition identifier parameters identifier default_parameter identifier false block expression_statement assignment identifier none for_statement identifier call identifier argument_list identifier block if_statement comparison_operator attribute identifier identifier none block expression_statement as... | Compile points into InputSegment objects. |
module function_definition identifier parameters identifier block expression_statement call attribute identifier identifier argument_list identifier expression_statement assignment subscript identifier string string_start string_content string_end string string_start string_content string_end expression_statement assig... | Add Builders and construction variables for compaq visual fortran to an Environment. |
module function_definition identifier parameters 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 attribute attribute identifier identifier identifier argument_list ident... | Check if playlist exists in local directory. |
module function_definition identifier parameters default_parameter identifier true block expression_statement assignment identifier call identifier argument_list keyword_argument identifier true expression_statement call identifier argument_list binary_operator string string_start string_content string_end identifier e... | Download larger data sets for various Bokeh examples. |
module function_definition identifier parameters identifier block return_statement 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 string_end list_comp... | Serialize representation of the table for local caching. |
module function_definition identifier parameters identifier block expression_statement assignment identifier binary_operator call identifier argument_list attribute identifier identifier integer while_statement comparison_operator identifier integer block if_statement call identifier argument_list subscript attribute i... | Get number of values in memory. |
module function_definition identifier parameters identifier identifier identifier block for_statement pattern_list identifier identifier call attribute identifier identifier argument_list block if_statement comparison_operator identifier identifier block raise_statement call attribute identifier identifier argument_lis... | Validate field is allowed and valid. |
module function_definition identifier parameters identifier identifier identifier block expression_statement string string_start string_content string_end expression_statement assignment identifier call identifier argument_list identifier expression_statement call attribute identifier identifier argument_list integer i... | Writes data to SPI device selected by chipselect bit. |
module function_definition identifier parameters identifier identifier default_parameter identifier none block if_statement comparison_operator identifier none block return_statement call attribute attribute identifier identifier identifier argument_list call identifier argument_list attribute identifier identifier els... | Return the constant vector or assign it to ``out``. |
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier identifier expression_statement assignment identifier call attribute identifier identifier argument_list identifier identifier ... | Rounds a number up, away from zero |
module function_definition identifier parameters identifier list_splat_pattern identifier dictionary_splat_pattern identifier block expression_statement assignment identifier tuple string string_start string_content string_end string string_start string_content string_end string string_start string_content string_end s... | return a bed formatted string of this feature |
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 string string_start string_content string_end expression_statement assignment identifier cal... | Handle an error response from the SABnzbd API |
module function_definition identifier parameters identifier identifier block expression_statement call attribute attribute attribute identifier identifier identifier identifier argument_list identifier expression_statement call attribute call identifier argument_list identifier identifier identifier argument_list ident... | Lose the reference to the protocol on the factory. |
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier expression_statement assignment identifier call attribute identifier identifier argument_list identifier expression_statement a... | Calculate the point-line-distance for given point and line. |
module function_definition identifier parameters identifier identifier identifier dictionary_splat_pattern identifier block expression_statement string string_start string_content string_end if_statement boolean_operator not_operator identifier not_operator identifier block raise_statement identifier expression_stateme... | this doesn't allow raw_keys for now |
module function_definition identifier parameters identifier identifier identifier identifier block expression_statement assignment identifier dictionary pair string string_start string_content string_end boolean_operator attribute identifier identifier attribute identifier identifier for_statement pattern_list identifi... | Get schema definition from python type. |
module function_definition identifier parameters identifier identifier block if_statement attribute identifier identifier block return_statement call identifier argument_list call identifier argument_list call identifier argument_list list_comprehension call attribute identifier identifier argument_list identifier for_... | List construction depend on each elements type dependency. |
module function_definition identifier parameters identifier default_parameter identifier false block if_statement not_operator identifier block return_statement string string_start string_end expression_statement assignment identifier call attribute string string_start string_content string_end identifier argument_list... | Encode a list of arguments |
module function_definition identifier parameters identifier dictionary_splat_pattern identifier block expression_statement assignment identifier call identifier argument_list dictionary_splat identifier expression_statement call attribute identifier identifier argument_list string string_start string_content string_end... | Shows ACL for the specified collection. |
module function_definition identifier parameters identifier block with_statement with_clause with_item attribute identifier identifier block if_statement not_operator attribute identifier identifier block expression_statement assignment attribute identifier identifier list for_statement identifier call attribute attrib... | The factory profiles of all loaded modules. |
module function_definition identifier parameters block expression_statement assignment identifier call subscript identifier string string_start string_content string_end argument_list string string_start string_content string_end if_statement identifier block expression_statement call attribute attribute attribute iden... | Returns the command shared by the different migration types |
module function_definition identifier parameters block if_statement not_operator identifier block raise_statement identifier expression_statement call attribute identifier identifier argument_list integer try_statement block expression_statement call attribute identifier identifier argument_list expression_statement as... | Get a dictionary representation of current metrics. |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier list_comprehension tuple identifier identifier for_in_clause pattern_list identifier identifier call attribute attribute identifier identifier identifier argument_list if_clause comparison_operator at... | Find all the non-auto created nodes of the model. |
module function_definition identifier parameters identifier identifier block if_statement not_operator call attribute identifier identifier argument_list string string_start string_content string_end block raise_statement call identifier argument_list call attribute string string_start string_content string_end identif... | Make sure that this path is intended for the salt master and trim it |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list expression_statement assignment identifier call attribute identifier identifier argument_list try_statement block expression_sta... | Loads AEAD from the specified database. |
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier subscript identifier slice expression_statement assignment identifier call attribute identifier identifier argument_list integer for_statement identifier identifier block expression_stateme... | recursive function to resolve multiple assignments |
module function_definition identifier parameters identifier block if_statement attribute identifier identifier block return_statement expression_statement call attribute identifier identifier argument_list if_statement call attribute identifier identifier argument_list block expression_statement call attribute call att... | Try to push the node into a cache |
module function_definition identifier parameters identifier identifier block expression_statement call identifier argument_list call attribute string string_start string_content string_end identifier argument_list list_splat identifier string string_start string_content string_end keyword_argument identifier list strin... | Print a coloured help for a given tuple of stream parameters. |
module function_definition identifier parameters identifier identifier block try_statement block expression_statement assignment identifier call identifier argument_list identifier except_clause identifier block return_statement none if_statement boolean_operator comparison_operator identifier integer comparison_operat... | Convert wind direction from degrees to compass direction. |
module function_definition identifier parameters identifier default_parameter identifier none default_parameter identifier false block if_statement comparison_operator identifier none block expression_statement assignment identifier attribute identifier identifier expression_statement assignment identifier call attribu... | convert the flattened dictionary into json |
module function_definition identifier parameters block for_statement identifier subscript attribute attribute identifier identifier identifier string string_start string_content string_end block expression_statement call attribute identifier identifier argument_list binary_operator string string_start string_content st... | Run Firenado's management commands from a command line |
module function_definition identifier parameters identifier block expression_statement assignment identifier subscript call attribute attribute identifier identifier identifier argument_list integer expression_statement assignment identifier call attribute call attribute attribute identifier identifier identifier argum... | Move the layer down. |
module function_definition identifier parameters identifier identifier default_parameter identifier none default_parameter identifier float default_parameter identifier false block if_statement comparison_operator attribute identifier identifier none block return_statement if_statement attribute identifier identifier b... | Write data on the asyncio Protocol |
module function_definition identifier parameters identifier block try_statement block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list attribute identifier identifier except_clause identifier block expression_statement assignment attribute identifier ide... | Process next packet if present |
module function_definition identifier parameters identifier identifier block if_statement not_operator call identifier argument_list identifier identifier block expression_statement assignment identifier call identifier argument_list identifier if_statement comparison_operator call attribute identifier identifier argum... | Check to see if the label is allowed. |
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list if_statement identifier block for_statement identifier identifier block expression_statement assignment attribute identifier identifier string string_start stri... | Unbind all conflicted shortcuts, and accept the new one |
module function_definition identifier parameters identifier block expression_statement call attribute attribute identifier identifier identifier argument_list expression_statement call attribute attribute identifier identifier identifier argument_list expression_statement call attribute attribute identifier identifier ... | Executes the stimulus generation, and returns when completed |
module function_definition identifier parameters identifier identifier identifier block return_statement call identifier argument_list identifier identifier keyword_argument identifier attribute identifier identifier | return the first n sentences with highest ranking |
module function_definition identifier parameters default_parameter identifier none block expression_statement assignment identifier call identifier argument_list identifier expression_statement assignment identifier call attribute identifier identifier argument_list call attribute identifier identifier argument_list st... | Return a Librato connection object. |
module function_definition identifier parameters identifier identifier block expression_statement call identifier argument_list list identifier string string_start string_content string_end attribute identifier identifier call identifier argument_list identifier binary_operator string string_start string_content string... | Set bridge priority value. |
module function_definition identifier parameters identifier block return_statement call identifier argument_list attribute identifier identifier attribute identifier identifier keyword_argument identifier call attribute attribute identifier identifier identifier argument_list string string_start string_content string_e... | The full url rule for this route, including any blueprint prefix. |
module function_definition identifier parameters identifier identifier identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier expression_statement assignment subscript identifier string string_start string_content string_end tuple identifier ... | Moves an edge originating from node_a so that it originates from node_b. |
module function_definition identifier parameters identifier identifier default_parameter identifier none block expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement assignment identifier call identifier argument_list keyword_argument identifier attribute iden... | validate password change operation and return result |
module function_definition identifier parameters identifier default_parameter identifier none block if_statement comparison_operator identifier none block if_statement parenthesized_expression boolean_operator boolean_operator comparison_operator subscript attribute identifier identifier integer integer comparison_oper... | are we trying to operate on an old version? |
module function_definition identifier parameters identifier block expression_statement assignment identifier attribute identifier identifier expression_statement assignment identifier list expression_statement assignment identifier identifier if_statement comparison_operator subscript identifier integer unary_operator ... | Generates keys from bins, sets self._allowedKeys normally set in _classVariables |
module function_definition identifier parameters identifier default_parameter identifier none block expression_statement assignment identifier call identifier argument_list identifier identifier if_statement call identifier argument_list identifier identifier block expression_statement assignment identifier subscript c... | Build section trees from an h5 or swc file |
module function_definition identifier parameters identifier identifier identifier identifier block expression_statement assignment identifier list for_statement pattern_list identifier identifier identifier call identifier argument_list attribute identifier identifier attribute identifier identifier attribute identifie... | Private function used to calculate the OOB Savings of each estimator. |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call identifier argument_list identifier expression_statement assignment identifier call attribute identifier identifier argument_list tuple identifier binary_operator identifier integer for_statement... | Initialize pair-wise rhyme strenghts according to the given word distance function |
module function_definition identifier parameters identifier identifier identifier block if_statement call attribute attribute identifier identifier identifier argument_list identifier block with_statement with_clause with_item as_pattern call identifier argument_list identifier as_pattern_target identifier block expres... | Update the toolplus manifest file with updated name and version |
module function_definition identifier parameters identifier block expression_statement assignment pattern_list identifier identifier identifier call attribute identifier identifier argument_list attribute identifier identifier string string_start string_content string_end expression_statement assignment identifier call... | Catch-all renderer for the top-level exception handler |
module function_definition identifier parameters identifier block expression_statement string string_start string_content string_end expression_statement assignment attribute identifier identifier call identifier generator_expression call identifier argument_list identifier string string_start string_content string_end... | Checks all widgets for the time sensitive bit |
module function_definition identifier parameters identifier block expression_statement assignment pattern_list identifier identifier call attribute identifier identifier argument_list if_statement identifier block return_statement call attribute attribute identifier identifier identifier argument_list identifier if_sta... | Reads and returns a utf-8 encoded byte array. |
module function_definition identifier parameters identifier list_splat_pattern identifier dictionary_splat_pattern identifier block expression_statement assignment attribute identifier identifier call attribute attribute identifier identifier identifier argument_list attribute identifier identifier expression_statement... | Home robot's head and plunger motors. |
module function_definition identifier parameters identifier identifier identifier identifier block if_statement boolean_operator not_operator attribute identifier identifier comparison_operator identifier integer block expression_statement assignment identifier integer if_statement boolean_operator comparison_operator ... | Print a specific field's stats. |
module function_definition identifier parameters identifier default_parameter identifier false block expression_statement assignment identifier call attribute identifier identifier argument_list call attribute identifier identifier argument_list string string_start string_content string_end string string_start string_c... | Find an image and download it. |
module function_definition identifier parameters identifier block expression_statement call attribute identifier identifier argument_list identifier expression_statement assignment attribute identifier identifier call attribute identifier identifier argument_list keyword_argument identifier attribute identifier identif... | Start the writer thread. |
module function_definition identifier parameters identifier identifier default_parameter identifier none block expression_statement call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end expression_statement call attribute identifier identifier argument_lis... | Request doc of whatever at cursor. |
module function_definition identifier parameters identifier identifier block if_statement not_operator attribute identifier identifier block return_statement if_statement comparison_operator attribute attribute identifier identifier identifier attribute identifier identifier block expression_statement assignment identi... | update stop order if needed |
module function_definition identifier parameters identifier identifier identifier identifier block return_statement call attribute identifier identifier argument_list string string_start string_content string_end identifier identifier identifier | Request a URL using the HTTP method PATCH. |
module function_definition identifier parameters identifier block expression_statement call attribute attribute identifier identifier identifier argument_list attribute identifier identifier expression_statement assignment attribute identifier identifier true | Indicate that this message is finished processing |
module function_definition identifier parameters identifier identifier block for_statement pattern_list identifier identifier call attribute identifier identifier argument_list block if_statement call identifier argument_list identifier identifier block if_statement call identifier argument_list identifier identifier b... | staticmethod which will be used in recursive mode in order to map dict to instance |
module function_definition identifier parameters identifier identifier identifier block if_statement not_operator call identifier argument_list identifier attribute identifier identifier block raise_statement call identifier argument_list call attribute string string_start string_content string_end identifier argument_... | Add a config item to this section. |
module function_definition identifier parameters identifier block expression_statement assignment identifier list try_statement block expression_statement assignment identifier false if_statement comparison_operator subscript identifier integer string string_start string_content string_end block expression_statement as... | Common subroutine for emitting array address |
module function_definition identifier parameters identifier block return_statement dictionary_comprehension pair call attribute identifier identifier argument_list attribute attribute identifier identifier identifier dictionary pair string string_start string_content string_end call attribute identifier identifier argu... | List of registered services |
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list keyword_argument identifier attribute identifier identifier expression_statement assignment identifier subscript subscript identifier strin... | Helper method to discover the metrics defined for a training job. |
module function_definition identifier parameters identifier identifier identifier identifier identifier identifier identifier default_parameter identifier string string_start string_content string_end block with_statement with_clause with_item call attribute identifier identifier argument_list identifier block expressi... | Single conv layer with relu, optional pooling, and dropout. |
module function_definition identifier parameters identifier block if_statement comparison_operator attribute attribute attribute identifier identifier identifier identifier attribute identifier identifier block return_statement none return_statement call attribute attribute identifier identifier identifier argument_lis... | Attempt to find a Raspberry Pi revision code for this board. |
module function_definition identifier parameters identifier block expression_statement assignment identifier dictionary for_statement identifier attribute identifier identifier block for_statement identifier call attribute attribute identifier identifier identifier argument_list block if_statement comparison_operator i... | Assumes that the caller has the _index_lock ! |
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 attribute identifier identifier identifier pair string string_start string_content string_end attribute a... | Determine the docker lines for this image |
module function_definition identifier parameters identifier block expression_statement assignment identifier subscript attribute identifier identifier string string_start string_content string_end expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list string s... | Action method to handle multiple records selected from a list view |
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list call identifier argument_list identifier return_statement list_comprehension binary_operator identifier identifier for_in_clause identifier identifier | Scales each number in the sequence so that the sum of all numbers equals 1. |
module function_definition identifier parameters identifier identifier block expression_statement assignment tuple_pattern identifier identifier identifier call attribute identifier identifier argument_list identifier expression_statement call attribute attribute identifier identifier identifier argument_list call attr... | handle an incoming message |
module function_definition identifier parameters identifier block return_statement tuple binary_operator attribute subscript attribute identifier identifier integer identifier float binary_operator attribute subscript attribute identifier identifier integer identifier float binary_operator attribute subscript attribute... | Helper for matplotlib imshow |
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end string string_start string_content string_end assert_statement ... | Starts a master node, configures it, and starts services. |
module function_definition identifier parameters identifier identifier default_parameter identifier none list_splat_pattern identifier dictionary_splat_pattern identifier block if_statement identifier block expression_statement assignment identifier call attribute identifier identifier argument_list string string_start... | Update the user's email address using data from provider. |
module function_definition identifier parameters identifier identifier block expression_statement call attribute identifier identifier argument_list string string_start string_content string_end attribute identifier identifier string string_start string_content string_end attribute identifier identifier keyword_argumen... | Return a single schema |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier tuple string string_start string_content string_end string string_start string_content string_end string string_start string_content string_end string string_start string_content string_end string str... | Increase mana, xp, money, anvils and scrolls based on tile groups. |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list keyword_argument identifier false if_statement identifier block if_statement not_operator call attribute identifier identifier argument_list identifi... | Load the parameter settings from a given dict into the GUI. |
module function_definition identifier parameters block for_statement identifier call identifier argument_list integer block expression_statement assignment identifier call attribute string string_start string_content string_end identifier argument_list identifier if_statement not_operator call attribute attribute ident... | Finds the next available js device name. |
module function_definition identifier parameters identifier block expression_statement assignment identifier subscript attribute identifier identifier string string_start string_content string_end expression_statement assignment identifier attribute identifier identifier expression_statement call attribute identifier i... | Display status of OATH application. |
module function_definition identifier parameters identifier block expression_statement assignment identifier list for_statement identifier attribute identifier identifier block expression_statement call attribute identifier identifier argument_list attribute identifier identifier return_statement identifier | Returns a list of the number of times each preference is given. |
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list tuple subscript attribute attribute identifier identifier identifier integer integer expression_statement assignment subscript identifier slice slice unary_oper... | Return the surface mesh |
module function_definition identifier parameters typed_parameter identifier type identifier typed_parameter list_splat_pattern identifier type identifier type generic_type identifier type_parameter type ellipsis type identifier block return_statement call attribute identifier identifier argument_list identifier list_sp... | Rate limit a function. |
module function_definition identifier parameters identifier typed_parameter identifier type identifier type none block expression_statement assignment identifier call attribute identifier identifier argument_list identifier expression_statement call attribute attribute identifier identifier identifier argument_list ide... | Wipe out the storage, without explicitly handling the storage root update |
module function_definition identifier parameters block expression_statement assignment identifier call identifier argument_list call identifier argument_list call attribute identifier identifier argument_list expression_statement assignment identifier call identifier argument_list call identifier argument_list call att... | Print the range of archived packets. |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier if_statement comparison_operator identifier integer block return_statement expression_list subscript identifier slice identifier subscript... | Split tag into ns, name |
module function_definition identifier parameters identifier block expression_statement call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end while_statement not_operator attribute identifier identifier block if_statement attribute identifier identifier blo... | The main consumer loop |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.