sequence stringlengths 731 13.6k | docstring stringlengths 11 171 |
|---|---|
(module
(function_definition
(function_name_update_project_actions) function_name_update_project_actions
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(attribute
(identifier_self) identifier_self
(identifier_recent_projects) iden... | Update actions of the Projects menu |
(module
(function_definition
(function_name__check_consistent_units_orbitInput) function_name__check_consistent_units_orbitInput
(parameters
(identifier_self) identifier_self
(identifier_orb) identifier_orb
)parameters
(block
(if_statement
(boolean_operator
(attribu... | Internal function to check that the set of units for this object is consistent with that for an input orbit |
(module
(function_definition
(function_name_euler_options) function_name_euler_options
(parameters
(identifier_fn) identifier_fn
)parameters
(block
(expression_statement
(assignment
(identifier_euler_functions) identifier_euler_functions
(expression_list
... | Decorator to link CLI options with their appropriate functions |
(module
(function_definition
(function_name_ascent) function_name_ascent
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_total_ascent) identifier_total_ascent
(float_0.0) float_0.0
)assignmen... | Returns ascent of workout in meters |
(module
(function_definition
(function_name__zom_index) function_name__zom_index
(parameters
(identifier_lexer) identifier_lexer
)parameters
(block
(expression_statement
(assignment
(identifier_tok) identifier_tok
(call
(identifier_next) identifier_n... | Return zero or more indices. |
(module
(function_definition
(function_name_remove_outliers) function_name_remove_outliers
(parameters
(identifier_series) identifier_series
(identifier_stddev) identifier_stddev
)parameters
(block
(return_statement
(subscript
(identifier_series) identifier_series
... | Remove the outliers from a series. |
(module
(function_definition
(function_name_update_attribute) function_name_update_attribute
(parameters
(identifier_self) identifier_self
(identifier_attr) identifier_attr
(identifier_value) identifier_value
)parameters
(block
(expression_statement
(assignment
... | Set the value of a workspace attribute. |
(module
(function_definition
(function_name_list_network_ip_availabilities) function_name_list_network_ip_availabilities
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_retrieve_all) identifier_retrieve_all
(True) True
)default_parameter
(di... | Fetches IP availibility information for all networks |
(module
(function_definition
(function_name_mod) function_name_mod
(parameters
(identifier_x) identifier_x
(identifier_y) identifier_y
(default_parameter
(identifier_context) identifier_context
(None) None
)default_parameter
)parameters
(block
(return_stat... | Return the remainder of x divided by y, with sign matching that of y. |
(module
(function_definition
(function_name_process_token) function_name_process_token
(parameters
(identifier_self) identifier_self
(identifier_tok) identifier_tok
)parameters
(block
(if_statement
(parenthesized_expression
(comparison_operator
(call
... | count comments and non-empty lines that contain code |
(module
(function_definition
(function_name_link_version) function_name_link_version
(parameters
(identifier_self) identifier_self
(identifier_source) identifier_source
(identifier_target) identifier_target
)parameters
(block
(if_statement
(not_operator
(call
... | Link the current version of the target on the source |
(module
(function_definition
(function_name__ascii_tree) function_name__ascii_tree
(parameters
(identifier_self) identifier_self
(typed_parameter
(identifier_indent) identifier_indent
(type
(identifier_str) identifier_str
)type
)typed_parameter
(typed_... | Return the receiver's subtree as ASCII art. |
(module
(function_definition
(function_name_example_sync_client) function_name_example_sync_client
(parameters
(identifier_api_client) identifier_api_client
)parameters
(block
(try_statement
(block
(expression_statement
(call
(identifier_pprint) ... | Example sync client use with. |
(module
(function_definition
(function_name_log_likelihood) function_name_log_likelihood
(parameters
(identifier_C) identifier_C
(identifier_T) identifier_T
)parameters
(block
(expression_statement
(assignment
(identifier_C) identifier_C
(call
... | implementation of likelihood of C given T |
(module
(function_definition
(function_name_display) function_name_display
(parameters
(identifier_self) identifier_self
(identifier_messages) identifier_messages
(default_parameter
(identifier_sig) identifier_sig
(string_"") string_""
)default_parameter
(default_... | Prints an iterator of messages. |
(module
(function_definition
(function_name__flush_graph_val) function_name__flush_graph_val
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(not_operator
(attribute
(identifier_self) identifier_self
(identifier__grap... | Send all new and changed graph values to the database. |
(module
(function_definition
(function_name__finalize) function_name__finalize
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_container) identifier_container
(dictionary
)dictionary
... | Dump traces using cPickle. |
(module
(function_definition
(function_name__get_shipped_from) function_name__get_shipped_from
(parameters
(identifier_row) identifier_row
)parameters
(block
(try_statement
(block
(expression_statement
(assignment
(identifier_spans) identifier_sp... | Get where package was shipped from. |
(module
(function_definition
(function_name_check_has_path) function_name_check_has_path
(parameters
(identifier_self) identifier_self
(identifier_api) identifier_api
)parameters
(block
(if_statement
(not_operator
(call
(identifier_hasattr) identifier_ha... | An API class must have a `path` attribute. |
(module
(function_definition
(function_name_async_delete_all_keys) function_name_async_delete_all_keys
(parameters
(identifier_session) identifier_session
(identifier_host) identifier_host
(identifier_port) identifier_port
(identifier_api_key) identifier_api_key
(default_paramete... | Delete all API keys except for the ones provided to the method. |
(module
(function_definition
(function_name_make_random_key) function_name_make_random_key
(parameters
)parameters
(type
(identifier_Text) identifier_Text
)type
(block
(expression_statement
(assignment
(identifier_r) identifier_r
(call
(ident... | Generates a secure random string |
(module
(function_definition
(function_name_OnHelpSize) function_name_OnHelpSize
(parameters
(identifier_self) identifier_self
(identifier_event) identifier_event
)parameters
(block
(expression_statement
(assignment
(identifier_size) identifier_size
(call
... | Help window size event handler stores size in config |
(module
(function_definition
(function_name_calc_csd) function_name_calc_csd
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_CSDarray) identifier_CSDarray
(call
(attribute
(... | Sum all the CSD contributions from every layer. |
(module
(function_definition
(function_name_recommend) function_name_recommend
(parameters
(identifier_self) identifier_self
(identifier_client_data) identifier_client_data
(identifier_limit) identifier_limit
(default_parameter
(identifier_extra_data) identifier_extra_data
... | Curated recommendations are just random selections |
(module
(function_definition
(function_name_limit_roles) function_name_limit_roles
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_new_roles) identifier_new_roles
(dictionary
)dictionary
... | Limit the roles being scanned. |
(module
(function_definition
(function_name__read_conf_file) function_name__read_conf_file
(parameters
(identifier_path) identifier_path
)parameters
(block
(expression_statement
(call
(attribute
(identifier_log) identifier_log
(identifier_debug) id... | Read in a config file from a given path and process it into a dictionary |
(module
(function_definition
(function_name_send_response_message) function_name_send_response_message
(parameters
(identifier_self) identifier_self
(identifier_request_id) identifier_request_id
(identifier_meta) identifier_meta
(identifier_body) identifier_body
)parameters
(bl... | Add the response to the deque. |
(module
(function_definition
(function_name_cluster_del_slots) function_name_cluster_del_slots
(parameters
(identifier_self) identifier_self
(identifier_slot) identifier_slot
(list_splat_pattern
(identifier_slots) identifier_slots
)list_splat_pattern
)parameters
(block
... | Set hash slots as unbound in receiving node. |
(module
(function_definition
(function_name_to_json) function_name_to_json
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_skip_nulls) identifier_skip_nulls
(True) True
)default_parameter
)parameters
(block
(return_statement
... | Convert object to a json string |
(module
(function_definition
(function_name_processNodeInBox) function_name_processNodeInBox
(parameters
(identifier_self) identifier_self
)parameters
(block
(while_statement
(attribute
(identifier_self) identifier_self
(identifier_nodeInBox) identifier_nodeInBo... | Process the messages in the node inbox asynchronously. |
(module
(function_definition
(function_name_complete_hosts) function_name_complete_hosts
(parameters
(identifier_self) identifier_self
(identifier_text) identifier_text
(identifier_line) identifier_line
(identifier_begidx) identifier_begidx
(identifier_endidx) identifier_endidx
... | Tab-complete 'creds' commands. |
(module
(function_definition
(function_name__load_raster_text) function_name__load_raster_text
(parameters
(identifier_self) identifier_self
(identifier_raster_path) identifier_raster_path
)parameters
(block
(with_statement
(with_clause
(with_item
(as_pa... | Loads grass ASCII to object |
(module
(function_definition
(function_name__setuintbe) function_name__setuintbe
(parameters
(identifier_self) identifier_self
(identifier_uintbe) identifier_uintbe
(default_parameter
(identifier_length) identifier_length
(None) None
)default_parameter
)parameters
... | Set the bitstring to a big-endian unsigned int interpretation. |
(module
(function_definition
(function_name_nickmask) function_name_nickmask
(parameters
(typed_parameter
(identifier_prefix) identifier_prefix
(type
(identifier_str) identifier_str
)type
)typed_parameter
(typed_parameter
(identifier_kwargs) identifi... | store nick, user, host in kwargs if prefix is correct format |
(module
(function_definition
(function_name_shutdown) function_name_shutdown
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(string_'Close the hub connection') string_'Close the hub connection'
)expression_statement
(expression_st... | Close the hub connection |
(module
(function_definition
(function_name__get_proposed_values) function_name__get_proposed_values
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_momentum_bar) identifier_momentum_bar
(binary_oper... | Method to perform time splitting using leapfrog |
(module
(function_definition
(function_name__parse_spectra) function_name__parse_spectra
(parameters
(identifier_self) identifier_self
(identifier_line) identifier_line
)parameters
(block
(if_statement
(comparison_operator
(identifier_line) identifier_line
... | Parse and store the spectral details |
(module
(function_definition
(function_name_jpegrescan) function_name_jpegrescan
(parameters
(identifier_ext_args) identifier_ext_args
)parameters
(block
(expression_statement
(assignment
(identifier_args) identifier_args
(call
(attribute
... | Run the EXTERNAL program jpegrescan. |
(module
(function_definition
(function_name_sync_role_definitions) function_name_sync_role_definitions
(parameters
(identifier_self) identifier_self
)parameters
(block
(import_from_statement
(dotted_name
(identifier_superset) identifier_superset
)dotted_name
... | Inits the Superset application with security roles and such |
(module
(function_definition
(function_name__family_notes_path) function_name__family_notes_path
(parameters
(identifier_family) identifier_family
(identifier_data_dir) identifier_data_dir
)parameters
(block
(expression_statement
(assignment
(identifier_data_dir) id... | Form a path to the notes for a family |
(module
(function_definition
(function_name__log_error) function_name__log_error
(parameters
(identifier_self) identifier_self
(identifier_message) identifier_message
)parameters
(block
(expression_statement
(assignment
(identifier_key) identifier_key
(tup... | Log an error for the feature |
(module
(function_definition
(function_name__check_valgrind) function_name__check_valgrind
(parameters
(identifier_xml_file) identifier_xml_file
)parameters
(block
(expression_statement
(call
(identifier_log) identifier_log
(argument_list
(call
... | Log and report any errors encountered by valgrind. |
(module
(function_definition
(function_name_replication_factor) function_name_replication_factor
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_cluster) identifier_cluster
(string_'main') string_'main'
)default_parameter
)parameters
(bloc... | Return the replication factor for a cluster as an integer. |
(module
(function_definition
(function_name__get_a2) function_name__get_a2
(parameters
(identifier_bbar) identifier_bbar
(identifier_dbar) identifier_dbar
(identifier_slip_moment) identifier_slip_moment
(identifier_mmax) identifier_mmax
)parameters
(block
(return_statemen... | Returns the A2 value defined in II.4 of Table 2 |
(module
(function_definition
(function_name_train_input_fn) function_name_train_input_fn
(parameters
(identifier_params) identifier_params
)parameters
(block
(expression_statement
(assignment
(identifier_file_pattern) identifier_file_pattern
(call
(a... | Load and return dataset of batched examples for use during training. |
(module
(function_definition
(function_name_nodes_ali) function_name_nodes_ali
(parameters
(identifier_c_obj) identifier_c_obj
)parameters
(block
(expression_statement
(assignment
(identifier_ali_nodes) identifier_ali_nodes
(list
)list
)assignm... | Get node objects from AliCloud. |
(module
(function_definition
(function_name_sorts_query) function_name_sorts_query
(parameters
(identifier_sortables) identifier_sortables
)parameters
(block
(expression_statement
(assignment
(identifier_stmts) identifier_stmts
(list
)list
)ass... | Turn the Sortables into a SQL ORDER BY query |
(module
(function_definition
(function_name_step) function_name_step
(parameters
(identifier_self) identifier_self
(identifier_action) identifier_action
)parameters
(block
(expression_statement
(assignment
(identifier_total_reward) identifier_total_reward
... | Repeat action, sum reward, and max over last observations. |
(module
(function_definition
(function_name__add_fcp) function_name__add_fcp
(parameters
(identifier_self) identifier_self
(identifier_fcp) identifier_fcp
)parameters
(block
(try_statement
(block
(expression_statement
(call
(attribute
... | add fcp to db if it's not in db but in fcp list and init it |
(module
(function_definition
(function_name_load_each) function_name_load_each
(parameters
(list_splat_pattern
(identifier_loaders) identifier_loaders
)list_splat_pattern
)parameters
(block
(function_definition
(function_name__load_each) function_name__load_each
... | Loader factory that combines a series of loaders. |
(module
(function_definition
(function_name_calc_bin) function_name_calc_bin
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier__bin) identifier__bin
(None) None
)default_parameter
)parameters
(block
(if_statement
(comparison_op... | Calculate the smallest UCSC genomic bin that will contain this feature. |
(module
(function_definition
(function_name_check_output) function_name_check_output
(parameters
(identifier_args) identifier_args
(default_parameter
(identifier_env) identifier_env
(None) None
)default_parameter
(default_parameter
(identifier_sp) identifier_sp
... | Call an external binary and return its stdout. |
(module
(function_definition
(function_name_add_host) function_name_add_host
(parameters
(identifier_host) identifier_host
)parameters
(block
(expression_statement
(assignment
(identifier_p) identifier_p
(call
(identifier_new_prefix) identifier_new_p... | Put your host information in the prefix object. |
(module
(function_definition
(function_name_StreamInChunks) function_name_StreamInChunks
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_callback) identifier_callback
(None) None
)default_parameter
(default_parameter
(identifier_fini... | Stream the entire download in chunks. |
(module
(function_definition
(function_name_put) function_name_put
(parameters
(identifier_self) identifier_self
(identifier_path) identifier_path
(identifier_data) identifier_data
(dictionary_splat_pattern
(identifier_options) identifier_options
)dictionary_splat_pattern... | Parses PUT request options and dispatches a request |
(module
(function_definition
(function_name_as_dict) function_name_as_dict
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_replace_value_names) identifier_replace_value_names
(True) True
)default_parameter
)parameters
(block
(express... | Iterate, link terms and convert to a dict |
(module
(function_definition
(function_name_OnMouseMotion) function_name_OnMouseMotion
(parameters
(identifier_self) identifier_self
(identifier_event) identifier_event
)parameters
(block
(expression_statement
(assignment
(identifier_grid) identifier_grid
... | Mouse motion event handler |
(module
(function_definition
(function_name_suggest) function_name_suggest
(parameters
(identifier_self) identifier_self
(identifier_utility_function) identifier_utility_function
)parameters
(block
(if_statement
(comparison_operator
(call
(identifier_len... | Most promissing point to probe next |
(module
(function_definition
(function_name_unit_vector) function_name_unit_vector
(parameters
(identifier_x) identifier_x
)parameters
(block
(expression_statement
(assignment
(identifier_y) identifier_y
(call
(attribute
(identifier_np)... | Return a unit vector in the same direction as x. |
(module
(function_definition
(function_name_date_decoder) function_name_date_decoder
(parameters
(identifier_dic) identifier_dic
)parameters
(block
(if_statement
(comparison_operator
(string_'__date__') string_'__date__'
(identifier_dic) identifier_dic
)... | Add python types decoding. See JsonEncoder |
(module
(function_definition
(function_name_factory) function_name_factory
(parameters
(identifier_codes) identifier_codes
(default_parameter
(identifier_base) identifier_base
(identifier__Exception) identifier__Exception
)default_parameter
)parameters
(block
(i... | Creates a custom exception class with arbitrary error codes and arguments. |
(module
(function_definition
(function_name_find_root) function_name_find_root
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_node) identifier_node
(identifier_self) identifier_self
)assignm... | Finds the outermost context. |
(module
(function_definition
(function_name_check_failed_login) function_name_check_failed_login
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_last_attempt) identifier_last_attempt
(call
... | 'Private method', check failed logins, it's used for wath_login decorator |
(module
(function_definition
(function_name_expected_part_size) function_name_expected_part_size
(parameters
(identifier_self) identifier_self
(identifier_part_number) identifier_part_number
)parameters
(block
(expression_statement
(assignment
(identifier_last_part)... | Get expected part size for a particular part number. |
(module
(function_definition
(function_name_paint_pattern) function_name_paint_pattern
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_x) identifier_x
(integer_0) integer_0
)assignment
... | Paints all the cubes. |
(module
(function_definition
(function_name_rename_retract_ar_transition) function_name_rename_retract_ar_transition
(parameters
(identifier_portal) identifier_portal
)parameters
(block
(expression_statement
(call
(attribute
(identifier_logger) identifier_logg... | Renames retract_ar transition to invalidate |
(module
(function_definition
(function_name_default_select) function_name_default_select
(parameters
(identifier_identifier) identifier_identifier
(identifier_all_entry_points) identifier_all_entry_points
)parameters
(block
(if_statement
(comparison_operator
(call
... | Raise an exception when we have ambiguous entry points. |
(module
(function_definition
(function_name_run) function_name_run
(parameters
(identifier_self) identifier_self
(typed_parameter
(identifier_ket) identifier_ket
(type
(identifier_State) identifier_State
)type
)typed_parameter
)parameters
(type
... | Apply the action of this Kraus quantum operation upon a state |
(module
(function_definition
(function_name_closeLog) function_name_closeLog
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(call
(attribute
(attribute
(identifier_self) identifier_self
(ident... | Closes the log file. |
(module
(function_definition
(function_name_random_point_triangle) function_name_random_point_triangle
(parameters
(identifier_triangle) identifier_triangle
(default_parameter
(identifier_use_int_coords) identifier_use_int_coords
(True) True
)default_parameter
)parameters... | Selects a random point in interior of a triangle |
(module
(function_definition
(function_name_api_related) function_name_api_related
(parameters
(identifier_self) identifier_self
(identifier_query) identifier_query
)parameters
(block
(expression_statement
(assignment
(identifier_url) identifier_url
(call
... | Find related objects through SoltraEdge API |
(module
(function_definition
(function_name_load_settings_file) function_name_load_settings_file
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_settings_file) identifier_settings_file
(None) None
)default_parameter
)parameters
(block
... | Load our settings file. |
(module
(function_definition
(function_name__ranging_attributes) function_name__ranging_attributes
(parameters
(identifier_attributes) identifier_attributes
(identifier_param_class) identifier_param_class
)parameters
(block
(expression_statement
(assignment
(identif... | Checks if there is a continuous range |
(module
(function_definition
(function_name_dump) function_name_dump
(parameters
(identifier_self) identifier_self
)parameters
(block
(for_statement
(identifier_modpath) identifier_modpath
(call
(identifier_sorted) identifier_sorted
(argument_list
... | Prints out the contents of the usage map. |
(module
(function_definition
(function_name_use_comparative_asset_view) function_name_use_comparative_asset_view
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(subscript
(attribute
(identifier_... | Pass through to provider AssetLookupSession.use_comparative_asset_view |
(module
(function_definition
(function_name_pil_image3d) function_name_pil_image3d
(parameters
(identifier_input) identifier_input
(default_parameter
(identifier_size) identifier_size
(tuple
(integer_800) integer_800
(integer_600) integer_600
)tuple
... | same as export_image3d, but there is no output file, PIL object is returned instead |
(module
(function_definition
(function_name__perspective_warp) function_name__perspective_warp
(parameters
(identifier_c) identifier_c
(typed_default_parameter
(identifier_magnitude) identifier_magnitude
(type
(call
(identifier_partial) identifier_partial
... | Apply warp of `magnitude` to `c`. |
(module
(function_definition
(function_name_currentRepoTreeItemChanged) function_name_currentRepoTreeItemChanged
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(pattern_list
(identifier_currentItem) identifie... | Called to update the GUI when a repo tree item has changed or a new one was selected. |
(module
(function_definition
(function_name_cli) function_name_cli
(parameters
(identifier_env) identifier_env
(identifier_identifier) identifier_identifier
)parameters
(block
(expression_statement
(assignment
(identifier_mgr) identifier_mgr
(call
... | Credential limits for this IBM Cloud Object Storage account. |
(module
(function_definition
(function_name_indent_func) function_name_indent_func
(parameters
(identifier_input_) identifier_input_
)parameters
(block
(if_statement
(call
(identifier_isinstance) identifier_isinstance
(argument_list
(identifier_input... | Takes either no arguments or an alias label |
(module
(function_definition
(function_name_conns) function_name_conns
(parameters
(identifier_self) identifier_self
(typed_parameter
(identifier_value) identifier_value
(type
(generic_type
(identifier_Set) identifier_Set
(type_parameter
... | Updates the connection count of this node if not already done. |
(module
(function_definition
(function_name_transform_using_this_method) function_name_transform_using_this_method
(parameters
(identifier_original_sample) identifier_original_sample
)parameters
(block
(expression_statement
(assignment
(identifier_new_sample) identifier_n... | This function implements a log transformation on the data. |
(module
(function_definition
(function_name_view) function_name_view
(parameters
(identifier_grid) identifier_grid
)parameters
(block
(expression_statement
(string_"Show a grid human-readably.") string_"Show a grid human-readably."
)expression_statement
(expression_stat... | Show a grid human-readably. |
(module
(function_definition
(function_name_getblockhash) function_name_getblockhash
(parameters
(identifier_self) identifier_self
(typed_parameter
(identifier_index) identifier_index
(type
(identifier_int) identifier_int
)type
)typed_parameter
)paramete... | Returns the hash of the block at ; index 0 is the genesis block. |
(module
(function_definition
(function_name_node_stat_copy) function_name_node_stat_copy
(parameters
(identifier_self) identifier_self
(identifier_node_or_char) identifier_node_or_char
(default_parameter
(identifier_node) identifier_node
(None) None
)default_parameter
... | Return a node's stats, prepared for pickling, in a dictionary. |
(module
(function_definition
(function_name_del_label) function_name_del_label
(parameters
(identifier_self) identifier_self
(identifier_name) identifier_name
)parameters
(block
(expression_statement
(assignment
(identifier_labels_tag) identifier_labels_tag
... | Delete a label by name. |
(module
(function_definition
(function_name_live_scores) function_name_live_scores
(parameters
(identifier_self) identifier_self
(identifier_live_scores) identifier_live_scores
)parameters
(block
(expression_statement
(assignment
(identifier_scores) identifier_score... | Prints the live scores in a pretty format |
(module
(function_definition
(function_name_dispatch_request) function_name_dispatch_request
(parameters
(identifier_self) identifier_self
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(dictionary_splat_pattern
(identifier_kwargs) identifier_... | If validation=True perform validation |
(module
(function_definition
(function_name__extract_options) function_name__extract_options
(parameters
(identifier_orig_script) identifier_orig_script
)parameters
(block
(expression_statement
(assignment
(identifier_first) identifier_first
(subscript
... | Extract any options from the first line of the script. |
(module
(function_definition
(function_name__displaystr2num) function_name__displaystr2num
(parameters
(identifier_st) identifier_st
)parameters
(block
(expression_statement
(assignment
(identifier_num) identifier_num
(None) None
)assignment
)expre... | Return a display number from a string |
(module
(function_definition
(function_name_link_head) function_name_link_head
(parameters
(identifier_self) identifier_self
(identifier_node) identifier_node
)parameters
(block
(assert_statement
(not_operator
(attribute
(identifier_node) identifier_node... | Add a node to the head. |
(module
(function_definition
(function_name_handle_user) function_name_handle_user
(parameters
(identifier_self) identifier_self
(identifier_params) identifier_params
)parameters
(block
(expression_statement
(assignment
(identifier_params) identifier_params
... | Handle the USER command which identifies the user to the server. |
(module
(function_definition
(function_name_load_decorate) function_name_load_decorate
(parameters
(identifier_package) identifier_package
)parameters
(block
(import_from_statement
(dotted_name
(identifier_acorn) identifier_acorn
(identifier_logging) identifier_... | Imports and decorates the package with the specified name. |
(module
(function_definition
(function_name_format_datetime) function_name_format_datetime
(parameters
(identifier_time) identifier_time
)parameters
(block
(expression_statement
(assignment
(identifier_user_time_zone) identifier_user_time_zone
(call
... | Formats a date, converting the time to the user timezone if one is specified |
(module
(function_definition
(function_name_difference_update) function_name_difference_update
(parameters
(identifier_self) identifier_self
(identifier_other) identifier_other
)parameters
(block
(return_statement
(call
(attribute
(attribute
... | Remove all elements of another set from this set. |
(module
(function_definition
(function_name__concat_same_dtype) function_name__concat_same_dtype
(parameters
(identifier_self) identifier_self
(identifier_to_concat) identifier_to_concat
(identifier_name) identifier_name
)parameters
(block
(expression_statement
(assignm... | Concatenate to_concat which has the same class. |
(module
(function_definition
(function_name_parse_rss_bytes) function_name_parse_rss_bytes
(parameters
(typed_parameter
(identifier_data) identifier_data
(type
(identifier_bytes) identifier_bytes
)type
)typed_parameter
)parameters
(type
(identifier_R... | Parse an RSS feed from a byte-string containing XML data. |
(module
(function_definition
(function_name__init_kws) function_name__init_kws
(parameters
(identifier_self) identifier_self
(dictionary_splat_pattern
(identifier_kws_usr) identifier_kws_usr
)dictionary_splat_pattern
)parameters
(block
(expression_statement
(ass... | Return a dict containing user-specified plotting options. |
(module
(function_definition
(function_name_train_agent) function_name_train_agent
(parameters
(identifier_real_env) identifier_real_env
(identifier_learner) identifier_learner
(identifier_world_model_dir) identifier_world_model_dir
(identifier_hparams) identifier_hparams
(identi... | Train the PPO agent in the simulated environment. |
(module
(function_definition
(function_name__read_pyMatch) function_name__read_pyMatch
(parameters
(identifier_fn) identifier_fn
(identifier_precursors) identifier_precursors
)parameters
(block
(with_statement
(with_clause
(with_item
(as_pattern
... | read pyMatch file and perform realignment of hits |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.