sequence stringlengths 186 3.94k | docstring stringlengths 11 171 |
|---|---|
module function_definition identifier parameters identifier identifier block expression_statement assignment pattern_list identifier identifier identifier identifier if_statement identifier block expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement call attr... | Handles a single execution of a workflow |
module function_definition identifier parameters identifier default_parameter identifier none block if_statement comparison_operator attribute attribute identifier identifier identifier binary_operator attribute identifier identifier integer block raise_statement call identifier argument_list attribute identifier ident... | copy next frame into timestep |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list attribute identifier identifier identifier if_statement comparison_operator identifier integer block return_statement false elif_clause comparison_op... | Tell whether a kernel driver is active on given interface number. |
module function_definition identifier parameters identifier block expression_statement call identifier argument_list string string_start string_content string_end expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list identifier identifier if_statement call at... | Removes all built files |
module function_definition identifier parameters identifier identifier default_parameter identifier none block expression_statement assignment identifier call identifier argument_list identifier identifier return_statement call identifier argument_list identifier keyword_argument identifier identifier dictionary_splat ... | Add an int32 parameter to be passed when instantiating this YAML file |
module function_definition identifier parameters identifier identifier identifier identifier block assert_statement boolean_operator attribute identifier identifier attribute identifier identifier assert_statement comparison_operator attribute identifier identifier attribute identifier identifier expression_statement a... | Return a formula representation of a STM instruction. |
module function_definition identifier parameters typed_parameter identifier type generic_type identifier type_parameter type identifier type identifier block expression_statement assignment identifier call identifier argument_list identifier return_statement conditional_expression call attribute identifier identifier a... | Determine the overall analysis type. |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call identifier argument_list expression_statement assignment attribute identifier identifier identifier for_statement pattern_list identifier identifier call attribute identifier identifier argument_... | Fill this objects attributes from a dict for known properties. |
module function_definition identifier parameters identifier block if_statement identifier block expression_statement call attribute attribute identifier identifier identifier argument_list dictionary pair string string_start string_content string_end identifier expression_statement call attribute attribute identifier i... | Assemble any dynamic or configurable URLs |
module function_definition identifier parameters block if_statement call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end block expression_statement assignment identifier string string_start string_content string_end else_clause block expression_statement ... | Get data about the graphics card. |
module function_definition identifier parameters identifier default_parameter identifier identifier block expression_statement assignment identifier call identifier argument_list identifier try_statement block while_statement call attribute identifier identifier argument_list block expression_statement yield call attri... | Scan a YAML stream and produce scanning tokens. |
module function_definition identifier parameters identifier block return_statement call attribute string string_start string_end identifier generator_expression identifier for_in_clause identifier call attribute identifier identifier argument_list string string_start string_content string_end identifier if_clause not_o... | Replace accentuated chars in string by their non accentuated equivalent. |
module function_definition identifier parameters identifier list_splat_pattern identifier dictionary_splat_pattern identifier block expression_statement assignment identifier list if_statement comparison_operator call identifier argument_list identifier integer block expression_statement call attribute identifier ident... | Atomically increment ``qfield`` by ``value`` |
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement call attribute attribute identifier identifier identifier argument_list identifier expression_statement call attribute identifier identifie... | Compute, record, and display iteration statistics. |
module function_definition identifier parameters identifier default_parameter identifier none block if_statement comparison_operator identifier none block expression_statement assignment identifier attribute identifier identifier expression_statement call attribute attribute identifier identifier identifier argument_li... | How many rows in a table. |
module function_definition identifier parameters identifier default_parameter identifier integer default_parameter identifier integer block for_statement pattern_list identifier identifier call attribute identifier identifier argument_list identifier block print_statement call attribute string string_start string_conte... | print the most common elements of a counter |
module function_definition identifier parameters identifier default_parameter identifier false block expression_statement assignment identifier binary_operator attribute identifier identifier string string_start string_content string_end expression_statement assignment identifier call attribute attribute identifier ide... | Writes the report to a file. |
module function_definition identifier parameters identifier block if_statement comparison_operator call identifier argument_list attribute identifier identifier identifier block expression_statement assignment identifier attribute attribute identifier identifier identifier expression_statement assignment attribute iden... | Compute the node sizes. |
module function_definition identifier parameters typed_parameter identifier type identifier identifier block expression_statement assignment identifier subscript identifier identifier expression_statement assignment identifier dictionary pair string string_start string_content string_end string string_start string_cont... | Create AST for top-level functions |
module function_definition identifier parameters identifier identifier block decorated_definition decorator attribute identifier identifier function_definition identifier parameters identifier block for_statement pattern_list identifier identifier call attribute attribute identifier identifier identifier argument_list ... | Inject headers after request |
module function_definition identifier parameters identifier block return_statement dictionary pair string string_start string_content string_end call identifier argument_list identifier string string_start string_content string_end pair string string_start string_content string_end call identifier argument_list identif... | Method to build zone dict. |
module function_definition identifier parameters identifier identifier block function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list for_statement identifier call attribute identifier identifier argument_list string string_start string_content ... | Returns a dict with priorities as keys and color numbers as value. |
module function_definition identifier parameters typed_parameter identifier type identifier type string string_start string_content string_end block expression_statement assignment identifier subscript identifier string string_start string_content string_end expression_statement assignment identifier call attribute ide... | Loads a SimpleCompiler from its dictionary-based description. |
module function_definition identifier parameters identifier block if_statement not_operator identifier block expression_statement assignment identifier string string_start string_content string_end return_statement call attribute identifier identifier argument_list call attribute identifier identifier argument_list att... | Map log levels to strings |
module function_definition identifier parameters identifier identifier block if_statement not_operator comparison_operator call identifier argument_list identifier integer block raise_statement call identifier argument_list string string_start string_content string_end expression_statement assignment pattern_list attri... | Replace rectangle with its transformation by matrix m. |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier binary_operator parenthesized_expression binary_operator call identifier argument_list subscript identifier integer integer integer if_statement comparison_operator identifier integer block return_sta... | ISOTP encodes the frame type in the first nibble of a frame. |
module function_definition identifier parameters identifier block expression_statement assignment attribute identifier identifier call attribute identifier identifier argument_list with_statement with_clause with_item as_pattern call identifier argument_list call attribute identifier identifier argument_list attribute ... | Create a dynamically-linked library implementing the simulation logic. |
module function_definition identifier parameters identifier block return_statement binary_operator call identifier argument_list attribute attribute identifier identifier identifier call identifier argument_list attribute attribute identifier identifier identifier | Return the difference between build and build_done states |
module function_definition identifier parameters identifier identifier block expression_statement call attribute attribute identifier identifier identifier argument_list keyword_argument identifier list attribute identifier identifier keyword_argument identifier list dictionary pair string string_start string_content s... | Set the name of the machine. |
module function_definition identifier parameters identifier identifier identifier block for_statement identifier identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list identifier identifier if_statement call attribute attribute identifier iden... | Find the first directory containing a given candidate file. |
module function_definition identifier parameters identifier identifier identifier block if_statement comparison_operator identifier string string_start string_content string_end block expression_statement assignment identifier none expression_statement assignment identifier call identifier argument_list identifier if_s... | Add a KDE proxy setting value to data dictionary. |
module function_definition identifier parameters identifier identifier identifier dictionary_splat_pattern identifier block return_statement call identifier argument_list identifier identifier identifier identifier dictionary_splat identifier | A block of standard 2d convolutions. |
module function_definition identifier parameters identifier identifier identifier default_parameter identifier true block expression_statement assignment identifier list call attribute attribute identifier identifier identifier argument_list binary_operator call attribute attribute identifier identifier identifier argu... | Optimize the model for the given period & template |
module function_definition identifier parameters identifier identifier dictionary_splat_pattern identifier block expression_statement assignment identifier subscript parenthesized_expression await call attribute identifier identifier argument_list keyword_argument identifier call identifier argument_list call attribute... | This function handles the registration of the given user credentials in the database |
module function_definition identifier parameters identifier identifier block expression_statement call attribute identifier identifier argument_list expression_statement call attribute identifier identifier argument_list string string_start string_content string_end call attribute attribute identifier identifier identi... | Check for existence of provided topics in Kafka. |
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier list binary_operator string string_start string_content string_end tuple identifier attribute identifier identifier binary_operator string string_start string_content string_end attribute i... | Start the right viewer based on file format and platform. |
module function_definition identifier parameters identifier identifier identifier block if_statement not_operator attribute identifier identifier block return_statement call attribute call identifier argument_list identifier identifier identifier argument_list identifier identifier if_statement not_operator attribute i... | Use custom validation for when using a multiple countries field. |
module function_definition identifier parameters identifier identifier default_parameter identifier none default_parameter identifier true block if_statement comparison_operator identifier none block if_statement not_operator attribute identifier identifier block raise_statement call identifier argument_list string str... | Cast value to schema type |
module function_definition identifier parameters identifier block expression_statement assignment identifier await call attribute identifier identifier argument_list string string_start string_content string_end expression_statement assignment identifier await call attribute identifier identifier argument_list string s... | Fetch area and zone info from SPC to initialize. |
module function_definition identifier parameters identifier block try_statement block return_statement call attribute identifier identifier argument_list call attribute identifier identifier argument_list identifier except_clause as_pattern attribute identifier identifier as_pattern_target identifier block raise_statem... | Decompress and deserialize string into Python object via pickle. |
module function_definition identifier parameters identifier identifier block for_statement pattern_list identifier identifier call attribute identifier identifier argument_list block if_statement not_operator call identifier argument_list identifier identifier block continue_statement if_statement comparison_operator i... | some contexts only retrieves strings, giving back right type |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list attribute identifier identifier keyword_argument identifier attribute identifier identifier return_statement subscript call attribute attribute ident... | Eval the ast, replacing symbols by their last value in the model. |
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier dictionary pair string string_start string_content string_end string string_start string_content string_end pair string string_start string_content string_end string string_start string_con... | Send a HTTP POST request to a URL and return the result. |
module function_definition identifier parameters identifier block return_statement not_operator parenthesized_expression boolean_operator attribute identifier identifier parenthesized_expression comparison_operator call attribute attribute identifier identifier identifier argument_list call attribute attribute identifi... | Prevent middlewares and orders to work outside live mode |
module function_definition identifier parameters identifier default_parameter identifier none block function_definition identifier parameters identifier block expression_statement assignment identifier list if_statement call identifier argument_list identifier string string_start string_content string_end block express... | Extract the dependencies from the bundle and its sub-bundles. |
module function_definition identifier parameters identifier identifier block expression_statement string string_start string_content string_end if_statement comparison_operator identifier none block return_statement list try_statement block expression_statement assignment identifier call identifier argument_list call a... | Returns the format fields otherwise raise exception |
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list string string_start string_content string_end none expression_statement assignment identifier call identifier argument_list expression_statement call attribute ... | convert volume metadata from archivant to es format |
module function_definition identifier parameters identifier identifier default_parameter identifier string string_start string_content string_end block return_statement call attribute identifier identifier argument_list call attribute string string_start string_content string_end identifier argument_list call identifie... | Get the number distinct of rows in a particular table. |
module function_definition identifier parameters identifier identifier block if_statement parenthesized_expression comparison_operator identifier string string_start string_content string_end block return_statement call attribute attribute identifier identifier identifier argument_list elif_clause parenthesized_express... | Return tasks or task_runs Panda describe. |
module function_definition identifier parameters block expression_statement assignment attribute identifier identifier true expression_statement assignment identifier call identifier argument_list string string_start string_content string_end expression_statement assignment identifier attribute call attribute identifie... | Initializes the global NST instance with the current NST and begins tracking |
module function_definition identifier parameters identifier identifier default_parameter identifier true block expression_statement string string_start string_content string_end if_statement identifier block expression_statement assignment identifier call identifier argument_list identifier expression_statement assignm... | take diff of a to b, apply to a, return the applied diff so external code can check it against b |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier set_comprehension attribute identifier identifier for_in_clause identifier identifier expression_statement assignment identifier set_comprehension attribute identifier identifier for_in_clause identif... | Given a list of events and mediums, load the context model data into the contexts of the events. |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier binary_operator parenthesized_expression binary_operator identifier call attribute identifier identifier argument_list call attribute identifier identifier argument_list return_statement call attribut... | Return true if all values in sequence are within n SDs |
module function_definition identifier parameters identifier identifier block if_statement not_operator call identifier argument_list identifier tuple identifier identifier block raise_statement call identifier argument_list binary_operator string string_start string_content string_end call identifier argument_list iden... | Note that int values are accepted. |
module function_definition identifier parameters identifier identifier default_parameter identifier none default_parameter identifier none default_parameter identifier none default_parameter identifier none block expression_statement assignment identifier call attribute identifier identifier argument_list keyword_argum... | Save file in the file system. |
module function_definition identifier parameters block expression_statement assignment identifier dictionary pair string string_start string_content string_end list_comprehension identifier for_in_clause identifier call identifier argument_list integer integer pair string string_start string_content string_end list int... | Returns the dictionary with the part as key and the contained book as indices. |
module function_definition identifier parameters identifier block if_statement call identifier argument_list identifier attribute identifier identifier block expression_statement assignment identifier call identifier argument_list identifier return_statement identifier | Coerce 'value' to a JSON-compatible representation. |
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list expression_statement call attribute identifier identifier argument_list expression_statement assignment identifier call identifier argument_list identifier expression_statement call... | Display group info in raw format. |
module function_definition identifier parameters identifier block if_statement comparison_operator attribute identifier identifier none block return_statement tuple attribute attribute identifier identifier identifier else_clause block return_statement tuple attribute attribute identifier identifier identifier attribut... | Get the names of the primary key attributes as a tuple |
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list call attribute identifier identifier argument_list identifier if_statement parenthesized_expression call attribute identifier identifier argument_list block exp... | Prompts the user to select a color for this button. |
module function_definition identifier parameters block expression_statement assignment identifier call identifier argument_list expression_statement call identifier argument_list identifier expression_statement assignment attribute identifier identifier integer expression_statement assignment attribute identifier ident... | Hparams for training imagetransformer on tpu. |
module function_definition identifier parameters identifier block return_statement parenthesized_expression binary_operator binary_operator binary_operator binary_operator binary_operator binary_operator binary_operator binary_operator binary_operator integer integer integer call identifier argument_list call attribute... | Return the number of bytes needed to store this parameter. |
module function_definition identifier parameters identifier identifier identifier default_parameter identifier string string_start string_content string_end default_parameter identifier none block expression_statement string string_start string_content string_end expression_statement assignment pattern_list identifier ... | Prints the response info in color |
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call identifier argument_list generator_expression call attribute identifier identifier argument_list identifier identifier for_in_clause identifier identifier expression_statement assignme... | Convert plain list to MutationList |
module function_definition identifier parameters default_parameter identifier identifier block expression_statement assignment identifier call identifier argument_list identifier identifier expression_statement call attribute identifier identifier argument_list identifier identifier integer if_statement call identifier... | Non-object interface for sending multicast messages. |
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list binary_operator identifier call identifier argument_list identifier keyword_argument identifier identifier expression_statement assignment identifier call attri... | Get an author based on an ORCID identifier. |
module function_definition identifier parameters block expression_statement call attribute identifier identifier argument_list string string_start string_content string_end expression_statement assignment identifier call identifier argument_list expression_statement assignment identifier call identifier argument_list k... | Return list of Scheduling Blocks Instances known to SDP . |
module function_definition identifier parameters identifier identifier identifier identifier default_parameter identifier list default_parameter identifier list block expression_statement assignment identifier call identifier argument_list identifier expression_statement assignment identifier binary_operator identifier... | Used mainly to measure scatter for the BCES best-fit |
module function_definition identifier parameters identifier block expression_statement augmented_assignment attribute identifier identifier attribute identifier identifier expression_statement call attribute identifier identifier argument_list attribute identifier identifier | This is for text that flows Left to Right |
module function_definition identifier parameters identifier identifier block if_statement not_operator identifier block raise_statement call identifier argument_list string string_start string_content string_end expression_statement assignment identifier call identifier generator_expression tuple attribute identifier i... | Call the form is_valid to ensure every value supplied is valid |
module function_definition identifier parameters identifier block try_statement block expression_statement assignment identifier call attribute identifier identifier argument_list binary_operator binary_operator string string_start string_content string_end identifier string string_start string_content string_end excep... | Validate the description for validity |
module function_definition identifier parameters identifier type identifier block expression_statement assignment identifier binary_operator binary_operator binary_operator binary_operator string string_start string_content string_end binary_operator integer string string_start string_content string_end string string_s... | Output the registry as reStructuredText, for documentation. |
module function_definition identifier parameters identifier identifier identifier identifier default_parameter identifier false block expression_statement assignment identifier call attribute identifier identifier argument_list attribute identifier identifier call attribute string string_start string_content string_end... | Create strain GEMPRO, set functional genes |
module function_definition identifier parameters identifier block try_statement block return_statement call attribute call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end identifier argument_list string string_start string_content string_end except_clause... | Return the location of the printer. |
module function_definition identifier parameters identifier default_parameter identifier none default_parameter identifier none default_parameter identifier none block if_statement identifier block for_statement identifier identifier block if_statement boolean_operator parenthesized_expression comparison_operator ident... | Extends a given object for API Production. |
module function_definition identifier parameters identifier default_parameter identifier string string_start string_content string_end default_parameter identifier string string_start string_content string_end default_parameter identifier dictionary block expression_statement assignment identifier call identifier argum... | Draw an RDF graph as an image |
module function_definition identifier parameters identifier block expression_statement assignment identifier dictionary if_statement attribute identifier identifier block expression_statement assignment subscript identifier string string_start string_content string_end dictionary for_statement identifier attribute iden... | Build the props dictionary. |
module function_definition identifier parameters identifier identifier identifier block if_statement call identifier argument_list identifier block return_statement identifier expression_statement assignment identifier call identifier argument_list string string_start string_content string_end expression_statement assi... | create a draft rmarkdown file from an installed template |
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 attribute... | Map of standard playbook variable types to create method. |
module function_definition identifier parameters identifier block expression_statement assignment identifier attribute identifier identifier if_statement comparison_operator identifier none block expression_statement assignment identifier integer expression_statement assignment identifier attribute identifier identifie... | The current number of iterations. |
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute call attribute identifier identifier argument_list dictionary pair string string_start string_content string_end string string_start string_content string_end identifier argument_list expression_s... | Refresh data from Vera device. |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call identifier argument_list identifier expression_statement assignment identifier list expression_statement assignment identifier call identifier argument_list identifier for_statement identifier ca... | Match a case-insensitive keyword consisting of multiple tokens. |
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier list for_statement identifier identifier block expression_statement call attribute identifier identifier argument_list call attribute identifier identifier argument_list identifier identifi... | Returns an HTML table containing data on each corpus' n-grams. |
module function_definition identifier parameters identifier block expression_statement string string_start string_content string_end expression_statement call attribute identifier identifier argument_list attribute identifier identifier if_statement comparison_operator attribute identifier identifier none block express... | tells libdbus you no longer care about the pending incoming message. |
module function_definition identifier parameters identifier identifier identifier identifier block if_statement comparison_operator identifier none block expression_statement assignment identifier string string_start string_content string_end expression_statement assignment identifier identifier else_clause block expre... | Default validation for updated properties |
module function_definition identifier parameters identifier identifier identifier identifier identifier default_parameter identifier none default_parameter identifier none block if_statement attribute identifier identifier block return_statement call attribute attribute identifier identifier identifier argument_list id... | Returns derivative of matrix exponential. |
module function_definition identifier parameters identifier identifier block if_statement boolean_operator comparison_operator string string_start string_content string_end identifier call identifier argument_list subscript identifier string string_start string_content string_end string string_start string_content stri... | Process incoming logging messages from the service. |
module function_definition identifier parameters identifier identifier identifier list_splat_pattern identifier block return_statement call attribute identifier identifier argument_list string string_start string_content string_end identifier identifier list_splat identifier | Add one or more members to a set. |
module function_definition identifier parameters identifier block for_statement identifier attribute identifier identifier block expression_statement assignment identifier call identifier argument_list expression_statement assignment identifier call identifier argument_list for_statement pattern_list identifier identif... | Parse the lengths of all contigs for each sample, as well as the total GC% |
module function_definition identifier parameters identifier block expression_statement assignment identifier attribute identifier identifier expression_statement assignment subscript subscript identifier string string_start string_content string_end string string_start string_content string_end dictionary pair string s... | Adds points and converts to topojson string. |
module function_definition identifier parameters identifier identifier identifier default_parameter identifier attribute identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier identifier expression_statement call attribute identifier identifi... | Print stats data in markdown style. |
module function_definition identifier parameters identifier block if_statement attribute identifier identifier block return_statement call attribute identifier identifier argument_list call attribute string string_start string_content string_end identifier argument_list list attribute identifier identifier attribute id... | The logger of this organizer |
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier list for_statement identifier attribute identifier identifier block expression_statement assignment identifier subscript subscript attribute identifier identifier identifier string string_start string... | Closes all tabs of the states editor for a specific sm_id |
module function_definition identifier parameters identifier block if_statement comparison_operator attribute identifier identifier true block expression_statement yield else_clause block try_statement block expression_statement assignment attribute identifier identifier true expression_statement yield finally_clause bl... | Hold syncing any state until the outermost context manager exits |
module function_definition identifier parameters identifier block expression_statement assignment identifier string string_start string_end for_statement identifier identifier block if_statement comparison_operator subscript identifier string string_start string_content string_end integer block expression_statement aug... | Build the name of the unit from its dimensions. |
module function_definition identifier parameters identifier identifier block expression_statement call attribute identifier identifier argument_list identifier expression_statement assignment attribute identifier identifier binary_operator integer attribute identifier identifier | Evaluate cost function and compute intensity at this position |
module function_definition identifier parameters identifier identifier identifier block try_statement block expression_statement call attribute identifier identifier argument_list string string_start string_content string_end identifier attribute identifier identifier expression_statement assignment identifier await ca... | Update WebSub hub to know about this feed |
module function_definition identifier parameters identifier identifier block if_statement call identifier argument_list identifier identifier block return_statement call attribute attribute identifier identifier identifier argument_list identifier return_statement identifier | Takes a Werkzeug FileStorage, returns the relative path. |
module function_definition identifier parameters identifier identifier list_splat_pattern identifier block if_statement comparison_operator call identifier argument_list identifier integer block raise_statement call identifier argument_list string string_start string_content string_end expression_statement assignment i... | Remove a callback from this object |
module function_definition identifier parameters identifier block if_statement attribute identifier identifier block return_statement binary_operator binary_operator integer call identifier argument_list attribute identifier identifier call identifier argument_list attribute identifier identifier else_clause block retu... | Returns total number of symmetry operations. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.