sequence stringlengths 731 13.6k | docstring stringlengths 11 171 |
|---|---|
(module
(function_definition
(function_name_on_backward_begin) function_name_on_backward_begin
(parameters
(identifier_self) identifier_self
(typed_parameter
(identifier_last_loss) identifier_last_loss
(type
(identifier_Rank0Tensor) identifier_Rank0Tensor
)type
... | Apply AR and TAR to `last_loss`. |
(module
(function_definition
(function_name__lockstep_fcn) function_name__lockstep_fcn
(parameters
(identifier_values) identifier_values
)parameters
(block
(expression_statement
(assignment
(pattern_list
(identifier_numrequired) identifier_numrequired
... | Wrapper to ensure that all processes execute together |
(module
(function_definition
(function_name__unwatch) function_name__unwatch
(parameters
(identifier_self) identifier_self
(identifier_conn) identifier_conn
)parameters
(block
(expression_statement
(string_"Unwatches all previously specified keys") string_"Unwatches all previ... | Unwatches all previously specified keys |
(module
(function_definition
(function_name_fits) function_name_fits
(parameters
(identifier_self) identifier_self
(identifier_jobShape) identifier_jobShape
)parameters
(block
(return_statement
(boolean_operator
(boolean_operator
(boolean_operator
... | Check if a job shape's resource requirements will fit within this allocation. |
(module
(function_definition
(function_name_random) function_name_random
(parameters
(default_parameter
(identifier_magnitude) identifier_magnitude
(integer_1) integer_1
)default_parameter
)parameters
(block
(expression_statement
(assignment
(identif... | Create a unit vector pointing in a random direction. |
(module
(function_definition
(function_name_lookup_full_hashes) function_name_lookup_full_hashes
(parameters
(identifier_self) identifier_self
(identifier_hash_values) identifier_hash_values
)parameters
(block
(expression_statement
(assignment
(identifier_q) identif... | Query DB to see if hash is blacklisted |
(module
(function_definition
(function_name_state_to_wavefunction) function_name_state_to_wavefunction
(parameters
(typed_parameter
(identifier_state) identifier_state
(type
(identifier_State) identifier_State
)type
)typed_parameter
)parameters
(type
... | Convert a QuantumFlow state to a pyQuil Wavefunction |
(module
(function_definition
(function_name_copy_uri_options) function_name_copy_uri_options
(parameters
(identifier_hosts) identifier_hosts
(identifier_mongodb_uri) identifier_mongodb_uri
)parameters
(block
(if_statement
(comparison_operator
(string_"?") string_"?"... | Returns a MongoDB URI to hosts with the options from mongodb_uri. |
(module
(function_definition
(function_name__random_cycle) function_name__random_cycle
(parameters
(identifier_adj) identifier_adj
(identifier_random_state) identifier_random_state
)parameters
(block
(expression_statement
(assignment
(identifier_n) identifier_n
... | Find a cycle using a random graph walk. |
(module
(function_definition
(function_name_init_celery) function_name_init_celery
(parameters
(identifier_self) identifier_self
(identifier_celery) identifier_celery
)parameters
(block
(expression_statement
(assignment
(identifier_count) identifier_count
... | Registers the celery tasks on the hub object. |
(module
(function_definition
(function_name__list_element_starts_with) function_name__list_element_starts_with
(parameters
(identifier_items) identifier_items
(identifier_needle) identifier_needle
)parameters
(block
(for_statement
(identifier_item) identifier_item
(id... | True of any of the list elements starts with needle |
(module
(function_definition
(function_name__from_dict) function_name__from_dict
(parameters
(identifier_cls) identifier_cls
(identifier__dict) identifier__dict
)parameters
(block
(expression_statement
(assignment
(identifier_args) identifier_args
(diction... | Initialize a OutputData object from a json dictionary. |
(module
(function_definition
(function_name_post) function_name_post
(parameters
(identifier_self) identifier_self
(identifier_url) identifier_url
(identifier_data) identifier_data
(default_parameter
(identifier_params) identifier_params
(None) None
)default_param... | Initiate a POST request |
(module
(function_definition
(function_name_register_annotype_converter) function_name_register_annotype_converter
(parameters
(identifier_cls) identifier_cls
(identifier_types) identifier_types
(default_parameter
(identifier_is_array) identifier_is_array
(False) False
... | Register this class as a converter for Anno instances |
(module
(function_definition
(function_name_administration) function_name_administration
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_url) identifier_url
(attribute
(identifier_self) i... | returns the hostservice object to manage the back-end functions |
(module
(function_definition
(function_name_fixPath) function_name_fixPath
(parameters
(identifier_path) identifier_path
)parameters
(block
(expression_statement
(assignment
(identifier_path) identifier_path
(call
(attribute
(attribute
... | Ensures paths are correct for linux and windows |
(module
(function_definition
(function_name_trace) function_name_trace
(parameters
(identifier_self) identifier_self
(identifier_n) identifier_n
)parameters
(block
(expression_statement
(string_"Restore the position in the history of individual v's nodes") string_"Restore the... | Restore the position in the history of individual v's nodes |
(module
(function_definition
(function_name_add_link) function_name_add_link
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(string_"Create a new internal link") string_"Create a new internal link"
)expression_statement
(expressio... | Create a new internal link |
(module
(function_definition
(function_name_spawn_batch_jobs) function_name_spawn_batch_jobs
(parameters
(identifier_job) identifier_job
(identifier_shared_ids) identifier_shared_ids
(identifier_input_args) identifier_input_args
)parameters
(block
(expression_statement
... | Spawns an alignment job for every sample in the input configuration file |
(module
(function_definition
(function_name__list_items) function_name__list_items
(parameters
(identifier_queue) identifier_queue
)parameters
(block
(expression_statement
(assignment
(identifier_con) identifier_con
(call
(identifier__conn) identifie... | Private function to list contents of a queue |
(module
(function_definition
(function_name_dhcp_request) function_name_dhcp_request
(parameters
(default_parameter
(identifier_iface) identifier_iface
(None) None
)default_parameter
(dictionary_splat_pattern
(identifier_kargs) identifier_kargs
)dictionary_splat... | Send a DHCP discover request and return the answer |
(module
(function_definition
(function_name_disablingBuidCache) function_name_disablingBuidCache
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(attribute
(identifier_self) identifier_self
(identi... | Disable and invalidate the layer buid cache for migration |
(module
(function_definition
(function_name_view_count) function_name_view_count
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_views) identifier_views
(call
(attribute
(id... | Return the number of opened views. |
(module
(function_definition
(function_name_map_services) function_name_map_services
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(call
(attribute
(identifier_self) identifier_self
(identifier_get_simple_de... | Get full Vera device service info. |
(module
(function_definition
(function_name_to_integer) function_name_to_integer
(parameters
(identifier_value) identifier_value
(identifier_ctx) identifier_ctx
)parameters
(block
(if_statement
(call
(identifier_isinstance) identifier_isinstance
(argument_... | Tries conversion of any value to an integer |
(module
(function_definition
(function_name_loads) function_name_loads
(parameters
(identifier_s) identifier_s
(default_parameter
(identifier_cls) identifier_cls
(identifier_BinaryQuadraticModel) identifier_BinaryQuadraticModel
)default_parameter
(default_parameter
... | Load a COOrdinate formatted binary quadratic model from a string. |
(module
(function_definition
(function_name_layer_to_solr) function_name_layer_to_solr
(parameters
(identifier_self) identifier_self
(identifier_layer) identifier_layer
)parameters
(block
(expression_statement
(assignment
(identifier_success) identifier_success
... | Sync a layer in Solr. |
(module
(function_definition
(function_name_main) function_name_main
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_parser) identifier_parser
(call
(attribute
(identifier_argparse) identifier_argparse
... | Set up the server. |
(module
(function_definition
(function_name_update_cursor) function_name_update_cursor
(parameters
(identifier_self) identifier_self
(identifier_dc) identifier_dc
(identifier_grid) identifier_grid
(identifier_row) identifier_row
(identifier_col) identifier_col
)parameters
... | Whites out the old cursor and draws the new one |
(module
(function_definition
(function_name_line) function_name_line
(parameters
(identifier_self) identifier_self
(identifier_node) identifier_node
(identifier_coords) identifier_coords
(default_parameter
(identifier_close) identifier_close
(False) False
)default... | Draw a svg line |
(module
(function_definition
(function_name_load_lsa_information) function_name_load_lsa_information
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(not_operator
(parenthesized_expression
(comparison_operator
(inte... | Loads a dictionary from disk that maps permissible words to their LSA term vectors. |
(module
(function_definition
(function_name_actually_mount) function_name_actually_mount
(parameters
(identifier_self) identifier_self
(identifier_client) identifier_client
)parameters
(block
(expression_statement
(assignment
(identifier_a_obj) identifier_a_obj
... | Actually mount something in Vault |
(module
(function_definition
(function_name_project_name_changed) function_name_project_name_changed
(parameters
(identifier_self) identifier_self
(identifier_widget) identifier_widget
(default_parameter
(identifier_data) identifier_data
(None) None
)default_parameter
... | Function controls whether run button is enabled |
(module
(function_definition
(function_name_disk_check_size) function_name_disk_check_size
(parameters
(identifier_ctx) identifier_ctx
(identifier_param) identifier_param
(identifier_value) identifier_value
)parameters
(block
(if_statement
(identifier_value) identifier_... | Validation callback for disk size parameter. |
(module
(function_definition
(function_name_irreducible_causes) function_name_irreducible_causes
(parameters
(identifier_self) identifier_self
)parameters
(block
(return_statement
(call
(identifier_tuple) identifier_tuple
(generator_expression
(ident... | The set of irreducible causes in this |Account|. |
(module
(function_definition
(function_name_isHandlerPresent) function_name_isHandlerPresent
(parameters
(identifier_self) identifier_self
(identifier_event_name) identifier_event_name
)parameters
(block
(if_statement
(comparison_operator
(identifier_event_name) ide... | Check if an event has an handler. |
(module
(function_definition
(function_name_main) function_name_main
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_alarm) identifier_alarm
(call
(identifier_XBeeAlarm) identifier_XBeeAlarm
(argument_list
... | Run through simple demonstration of alarm concept |
(module
(function_definition
(function_name__get_filtered_study_ids) function_name__get_filtered_study_ids
(parameters
(identifier_shard) identifier_shard
(default_parameter
(identifier_include_aliases) identifier_include_aliases
(False) False
)default_parameter
)paramete... | Optionally filters out aliases from standard doc-id list |
(module
(function_definition
(function_name_split_pdf) function_name_split_pdf
(parameters
(identifier_pdf_path) identifier_pdf_path
)parameters
(block
(expression_statement
(assignment
(identifier_pdf) identifier_pdf
(call
(identifier_PdfFileReader)... | Splits a multi-page pdf into a list of single page pdfs |
(module
(function_definition
(function_name__get_id) function_name__get_id
(parameters
(identifier_self) identifier_self
)parameters
(block
(return_statement
(call
(attribute
(string_'') string_''
(identifier_join) identifier_join
)attrib... | Construct and return the identifier |
(module
(function_definition
(function_name___try_parse_number) function_name___try_parse_number
(parameters
(identifier_self) identifier_self
(identifier_string) identifier_string
)parameters
(block
(try_statement
(block
(return_statement
(call
... | Try to parse a string to a number, else return False. |
(module
(function_definition
(function_name___add) function_name___add
(parameters
(identifier_self) identifier_self
(identifier_token) identifier_token
)parameters
(block
(expression_statement
(call
(attribute
(attribute
(identifier_self) ... | Unconditionally adds a token to the table. |
(module
(function_definition
(function_name_getProvStack) function_name_getProvStack
(parameters
(identifier_self) identifier_self
(typed_parameter
(identifier_iden) identifier_iden
(type
(identifier_bytes) identifier_bytes
)type
)typed_parameter
)parame... | Returns the provenance stack given the iden to it |
(module
(function_definition
(function_name_bootstrap_app) function_name_bootstrap_app
(parameters
)parameters
(block
(import_from_statement
(dotted_name
(identifier_salt) identifier_salt
(identifier_netapi) identifier_netapi
(identifier_rest_cherrypy) ident... | Grab the opts dict of the master config by trying to import Salt |
(module
(function_definition
(function_name_load) function_name_load
(parameters
(identifier_provider) identifier_provider
(default_parameter
(identifier_config_location) identifier_config_location
(identifier_DEFAULT_CONFIG_DIR) identifier_DEFAULT_CONFIG_DIR
)default_paramet... | Load provider specific auth info from file |
(module
(function_definition
(function_name_validate) function_name_validate
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_valids) identifier_valids
(list_comprehension
(call
... | Apply the `is_valid` methods to self and possibly raise a ValueError. |
(module
(function_definition
(function_name_next_batch) function_name_next_batch
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_n) identifier_n
(integer_1) integer_1
)default_parameter
)parameters
(block
(if_statement
(compa... | Return the next requests that should be dispatched. |
(module
(function_definition
(function_name_form_valid) function_name_form_valid
(parameters
(identifier_self) identifier_self
(identifier_form) identifier_form
)parameters
(block
(expression_statement
(assignment
(identifier_response) identifier_response
... | If form valid return response with action |
(module
(function_definition
(function_name_assume_role_credentials) function_name_assume_role_credentials
(parameters
(identifier_self) identifier_self
(identifier_arn) identifier_arn
)parameters
(block
(expression_statement
(call
(attribute
(identifier... | Return the environment variables for an assumed role |
(module
(function_definition
(function_name_visit_UnaryOp) function_name_visit_UnaryOp
(parameters
(identifier_self) identifier_self
(typed_parameter
(identifier_node) identifier_node
(type
(identifier_AST) identifier_AST
)type
)typed_parameter
(typed_... | Return representation of `node`s operator and operand. |
(module
(function_definition
(function_name_iter_callback_properties) function_name_iter_callback_properties
(parameters
(identifier_self) identifier_self
)parameters
(block
(for_statement
(identifier_name) identifier_name
(call
(identifier_dir) identifier_dir
... | Iterator to loop over all callback properties. |
(module
(function_definition
(function_name_input_file) function_name_input_file
(parameters
(identifier_self) identifier_self
(identifier__container) identifier__container
)parameters
(block
(expression_statement
(assignment
(identifier_p) identifier_p
(c... | Find the input path of a uchroot container. |
(module
(function_definition
(function_name_extract_secs) function_name_extract_secs
(parameters
(identifier_self) identifier_self
(identifier_tx) identifier_tx
(identifier_tx_in_idx) identifier_tx_in_idx
)parameters
(block
(expression_statement
(assignment
(i... | For a given script solution, iterate yield its sec blobs |
(module
(function_definition
(function_name_modifie_many) function_name_modifie_many
(parameters
(identifier_self) identifier_self
(typed_parameter
(identifier_dic) identifier_dic
(type
(identifier_dict) identifier_dict
)type
)typed_parameter
)parameters... | Convenience function which calls modifie on each element of dic |
(module
(function_definition
(function_name__parse_datetime_value) function_name__parse_datetime_value
(parameters
(identifier_value) identifier_value
)parameters
(block
(if_statement
(call
(attribute
(identifier_value) identifier_value
(identifier... | Deserialize a DateTime object from its proper ISO-8601 representation. |
(module
(function_definition
(function_name_add_ignore) function_name_add_ignore
(parameters
(identifier_self) identifier_self
(identifier_depend) identifier_depend
)parameters
(block
(try_statement
(block
(expression_statement
(call
(attri... | Adds dependencies to ignore. |
(module
(function_definition
(function_name_call_name_is) function_name_call_name_is
(parameters
(identifier_siter) identifier_siter
(identifier_name) identifier_name
)parameters
(block
(return_statement
(parenthesized_expression
(boolean_operator
(boole... | Checks the function call name |
(module
(function_definition
(function_name_query_all) function_name_query_all
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_recs) identifier_recs
(call
(attribute
(call
(attribute
... | Query all the records from TabPost2Tag. |
(module
(function_definition
(function_name_relative_path) function_name_relative_path
(parameters
(identifier_self) identifier_self
(identifier_key) identifier_key
)parameters
(block
(expression_statement
(assignment
(identifier_key) identifier_key
(call
... | Returns the relative path for given `key` |
(module
(function_definition
(function_name_get) function_name_get
(parameters
(identifier_self) identifier_self
(identifier_uri) identifier_uri
(default_parameter
(identifier_disable_proxy) identifier_disable_proxy
(False) False
)default_parameter
(default_parame... | Return Requests response to GET request. |
(module
(function_definition
(function_name_promote_s3app) function_name_promote_s3app
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(call
(attribute
(identifier_utils) identifier_utils
(identifier_banner) i... | promotes S3 deployment to LATEST |
(module
(function_definition
(function_name_insert_after) function_name_insert_after
(parameters
(identifier_self) identifier_self
(identifier_target) identifier_target
)parameters
(block
(if_statement
(not_operator
(attribute
(identifier_target) identif... | insert this widget into the targets parent container after the target |
(module
(function_definition
(function_name_flatten_container) function_name_flatten_container
(parameters
(identifier_self) identifier_self
(identifier_container) identifier_container
)parameters
(block
(for_statement
(identifier_names) identifier_names
(call
... | Accepts a chronos container and pulls out the nested values into the top level |
(module
(function_definition
(function_name__check_gle_response) function_name__check_gle_response
(parameters
(identifier_result) identifier_result
)parameters
(block
(expression_statement
(call
(identifier__check_command_response) identifier__check_command_response
... | Return getlasterror response as a dict, or raise OperationFailure. |
(module
(function_definition
(function_name__bg_combine) function_name__bg_combine
(parameters
(identifier_self) identifier_self
(identifier_bgs) identifier_bgs
)parameters
(block
(expression_statement
(assignment
(identifier_out) identifier_out
(call
... | Combine several background amplitude images |
(module
(function_definition
(function_name_delete) function_name_delete
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(attribute
(attribute
(identifier_self) identifier_self
(identifier__sheet) identifier__sheet
... | Delete the row from the spreadsheet |
(module
(function_definition
(function_name_setAttributesJson) function_name_setAttributesJson
(parameters
(identifier_self) identifier_self
(identifier_attributesJson) identifier_attributesJson
)parameters
(block
(try_statement
(block
(expression_statement
... | Sets the attributes dictionary from a JSON string. |
(module
(function_definition
(function_name___wrap_docker_exec) function_name___wrap_docker_exec
(parameters
(identifier_func) identifier_func
)parameters
(block
(function_definition
(function_name_call) function_name_call
(parameters
(list_splat_pattern
... | Wrap a function to raise DockerExecuteError on ENOENT |
(module
(function_definition
(function_name_copy_resources) function_name_copy_resources
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(not_operator
(call
(attribute
(attribute
(identifier_os) iden... | Copies the relevant resources to a resources subdirectory |
(module
(function_definition
(function_name_add_url) function_name_add_url
(parameters
(identifier_self) identifier_self
(typed_parameter
(identifier_name) identifier_name
(type
(identifier_str) identifier_str
)type
)typed_parameter
(typed_parameter
... | add url pattern dispatching to application |
(module
(function_definition
(function_name_summary_plotting_engine) function_name_summary_plotting_engine
(parameters
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictionary_splat_pattern
)parameters
(block
(expression_statement
(call
(a... | creates plots of summary data. |
(module
(function_definition
(function_name_dragend) function_name_dragend
(parameters
(identifier_self) identifier_self
(identifier_event) identifier_event
)parameters
(block
(expression_statement
(assignment
(identifier_x_range) identifier_x_range
(list
... | Handles the end of a drag action. |
(module
(function_definition
(function_name_create_geotiff) function_name_create_geotiff
(parameters
(identifier_name) identifier_name
(identifier_Array) identifier_Array
(identifier_driver) identifier_driver
(identifier_ndv) identifier_ndv
(identifier_xsize) identifier_xsize
... | Creates new geotiff from array |
(module
(function_definition
(function_name_subcommand) function_name_subcommand
(parameters
(identifier_self) identifier_self
(identifier_name) identifier_name
(identifier_help) identifier_help
)parameters
(block
(if_statement
(comparison_operator
(attribute
... | Creates a parser for a sub-command. |
(module
(function_definition
(function_name_handle_token) function_name_handle_token
(parameters
(identifier_cls) identifier_cls
(identifier_parser) identifier_parser
(identifier_token) identifier_token
)parameters
(block
(expression_statement
(assignment
(ide... | Class method to parse and return a Node. |
(module
(function_definition
(function_name__create_default_config_file) function_name__create_default_config_file
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(call
(attribute
(identifier_logger) identifier_logger
... | If config file does not exists create and set default values. |
(module
(function_definition
(function_name_all_states) function_name_all_states
(parameters
(identifier_self) identifier_self
)parameters
(type
(generic_type
(identifier_Tuple) identifier_Tuple
(type_parameter
(type
(identifier_State) identifier_State... | Return all the possible states of this influence graph. |
(module
(function_definition
(function_name__average_called_depth) function_name__average_called_depth
(parameters
(identifier_in_file) identifier_in_file
)parameters
(block
(import_statement
(dotted_name
(identifier_cyvcf2) identifier_cyvcf2
)dotted_name
)i... | Retrieve the average depth of called reads in the provided VCF. |
(module
(function_definition
(function_name_start_subscribe) function_name_start_subscribe
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(not_operator
(attribute
(identifier_self) identifier_self
(identifier_conn) i... | Create a new Subscription context manager. |
(module
(function_definition
(function_name_check_dependencies) function_name_check_dependencies
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_deadlocks) identifier_deadlocks
(list
)list
... | Test the dependencies of the nodes for possible deadlocks. |
(module
(function_definition
(function_name_qstd) function_name_qstd
(parameters
(identifier_x) identifier_x
(default_parameter
(identifier_quant) identifier_quant
(float_0.05) float_0.05
)default_parameter
(default_parameter
(identifier_top) identifier_top
... | returns std, ignoring outer 'quant' pctiles |
(module
(function_definition
(function_name_bound_symbols) function_name_bound_symbols
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(comparison_operator
(attribute
(identifier_self) identifier_self
(identifier__bou... | Set of bound SymPy symbols in the expression |
(module
(function_definition
(function_name__decoder) function_name__decoder
(parameters
(identifier_self) identifier_self
(identifier_obj) identifier_obj
)parameters
(block
(if_statement
(comparison_operator
(string_'__class__') string_'__class__'
(identi... | Decode a toc element leaf-node |
(module
(function_definition
(function_name_load) function_name_load
(parameters
(identifier_self) identifier_self
(identifier_callback) identifier_callback
)parameters
(block
(if_statement
(comparison_operator
(identifier_callback) identifier_callback
(No... | Retrieve names of channels |
(module
(function_definition
(function_name_cleanPolyline) function_name_cleanPolyline
(parameters
(identifier_elem) identifier_elem
(identifier_options) identifier_options
)parameters
(block
(expression_statement
(assignment
(identifier_pts) identifier_pts
... | Scour the polyline points attribute |
(module
(function_definition
(function_name_send_ack) function_name_send_ack
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(comparison_operator
(attribute
(identifier_self) identifier_self
(identifier_last_ack) iden... | Send an ack message |
(module
(function_definition
(function_name_pack) function_name_pack
(parameters
(identifier_content) identifier_content
)parameters
(block
(if_statement
(call
(identifier_isinstance) identifier_isinstance
(argument_list
(identifier_content) identifi... | content should be str |
(module
(function_definition
(function_name_redirect) function_name_redirect
(parameters
(identifier_self) identifier_self
(identifier_url) identifier_url
(default_parameter
(identifier_status) identifier_status
(None) None
)default_parameter
)parameters
(block
... | Redirect to the specified url, optional status code defaults to 302. |
(module
(function_definition
(function_name__start_thread) function_name__start_thread
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(attribute
(identifier_self) identifier_self
(identifier__stop... | Start an enqueueing thread. |
(module
(function_definition
(function_name_cprint) function_name_cprint
(parameters
(identifier_msg) identifier_msg
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(dictionary_splat_pattern
(identifier_kw) identifier_kw
)dictionary_splat... | Print colored message to stdout. |
(module
(function_definition
(function_name_existing) function_name_existing
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_catalog) identifier_catalog
(call
(attribute
(at... | find existing content assigned to this layout |
(module
(function_definition
(function_name_union) function_name_union
(parameters
(typed_parameter
(identifier_a) identifier_a
(type
(generic_type
(identifier_Iterable) identifier_Iterable
(type_parameter
(type
(identifier_... | Return a list of items that are in `a` or `b` |
(module
(function_definition
(function_name_setup) function_name_setup
(parameters
(identifier_self) identifier_self
(identifier_environ) identifier_environ
)parameters
(block
(expression_statement
(assignment
(identifier_json_handler) identifier_json_handler
... | Called once to setup the list of wsgi middleware. |
(module
(function_definition
(function_name_init) function_name_init
(parameters
(identifier_lang) identifier_lang
(identifier_domain) identifier_domain
)parameters
(block
(expression_statement
(assignment
(identifier_translations_dir) identifier_translations_dir
... | Initialize translations for a language code. |
(module
(function_definition
(function_name_partition_version_classifiers) function_name_partition_version_classifiers
(parameters
(typed_parameter
(identifier_classifiers) identifier_classifiers
(type
(subscript
(attribute
(identifier_t) identifier_t
... | Find version number classifiers in given list and partition them into 2 groups. |
(module
(function_definition
(function_name_main) function_name_main
(parameters
(identifier_args) identifier_args
)parameters
(block
(expression_statement
(call
(attribute
(identifier_random) identifier_random
(identifier_seed) identifier_seed
... | Validate all submissions and copy them into place |
(module
(function_definition
(function_name_sentence_texts) function_name_sentence_texts
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(not_operator
(call
(attribute
(identifier_self) identifier_self
... | The list of texts representing ``sentences`` layer elements. |
(module
(function_definition
(function_name__wipe_www_page) function_name__wipe_www_page
(parameters
(identifier_self) identifier_self
(identifier_slug) identifier_slug
)parameters
(block
(expression_statement
(assignment
(identifier_wd) identifier_wd
(cal... | Remove all data in www about the page identified by slug. |
(module
(function_definition
(function_name_stylize) function_name_stylize
(parameters
(identifier_txt) identifier_txt
(default_parameter
(identifier_bold) identifier_bold
(False) False
)default_parameter
(default_parameter
(identifier_underline) identifier_unde... | Changes style of the text. |
(module
(function_definition
(function_name__calculate) function_name__calculate
(parameters
(identifier_self) identifier_self
(identifier_field) identifier_field
)parameters
(block
(expression_statement
(assignment
(identifier_base_offset) identifier_base_offset
... | If the offset is unknown, return 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.