sequence stringlengths 731 13.6k | docstring stringlengths 11 171 |
|---|---|
(module
(function_definition
(function_name_connect) function_name_connect
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(not_operator
(identifier_driver_ok) identifier_driver_ok
)not_operator
(block
(expression_s... | establish a connection to the Instrument |
(module
(function_definition
(function_name_init_with_context) function_name_init_with_context
(parameters
(identifier_self) identifier_self
(identifier_context) identifier_context
)parameters
(block
(expression_statement
(assignment
(identifier_site_name) identifie... | Initialize the menu items. |
(module
(function_definition
(function_name_write_transforms_to_file) function_name_write_transforms_to_file
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_fname) identifier_fname
(string_'ace_transforms.txt') string_'ace_transforms.txt'
)default... | Write y and x transforms used in this run to a space-delimited txt file. |
(module
(function_definition
(function_name_get) function_name_get
(parameters
(identifier_cls) identifier_cls
(identifier_id) identifier_id
)parameters
(block
(if_statement
(identifier_CACHE) identifier_CACHE
(block
(if_statement
(comparison_ope... | Get the pool with id 'id'. |
(module
(function_definition
(function_name__module_dir) function_name__module_dir
(parameters
(identifier_handle) identifier_handle
)parameters
(block
(expression_statement
(assignment
(identifier_cache_dir) identifier_cache_dir
(call
(attribute
... | Returns the directory where to cache the module. |
(module
(function_definition
(function_name_h5fmem) function_name_h5fmem
(parameters
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictionary_splat_pattern
)parameters
(block
(expression_statement
(assignment
(identifier_fn) identifier_fn
... | Create an in-memory HDF5 file. |
(module
(function_definition
(function_name_end_task) function_name_end_task
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(call
(attribute
(identifier_self) identifier_self
(identifier_progress) identifier_... | Remove the current task from the stack. |
(module
(function_definition
(function_name_modular_exp) function_name_modular_exp
(parameters
(identifier_base) identifier_base
(identifier_exponent) identifier_exponent
(identifier_modulus) identifier_modulus
)parameters
(block
(expression_statement
(string_"Raise bas... | Raise base to exponent, reducing by modulus |
(module
(function_definition
(function_name_raw_message_to) function_name_raw_message_to
(parameters
(identifier_self) identifier_self
(identifier_token) identifier_token
(identifier_message) identifier_message
)parameters
(block
(if_statement
(comparison_operator
... | Convert message to JSON and send it to the client with token |
(module
(function_definition
(function_name__select_limit_statement) function_name__select_limit_statement
(parameters
(identifier_table) identifier_table
(default_parameter
(identifier_cols) identifier_cols
(string_'*') string_'*'
)default_parameter
(default_parameter
... | Concatenate a select with offset and limit statement. |
(module
(function_definition
(function_name_on_epoch_end) function_name_on_epoch_end
(parameters
(identifier_self) identifier_self
(identifier_pbar) identifier_pbar
(identifier_epoch) identifier_epoch
(identifier_last_metrics) identifier_last_metrics
(dictionary_splat_pattern
... | Put the various losses in the recorder and show a sample image. |
(module
(function_definition
(function_name__filehandle) function_name__filehandle
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(boolean_operator
(attribute
(identifier_self) identifier_self
(identifier__fh) identi... | Return a filehandle to the file being tailed |
(module
(function_definition
(function_name__log_deprecation) function_name__log_deprecation
(parameters
(identifier_self) identifier_self
(identifier_deprecation_key) identifier_deprecation_key
)parameters
(block
(if_statement
(not_operator
(subscript
(... | Logs a deprecation notice at most once per AgentCheck instance, for the pre-defined `deprecation_key` |
(module
(function_definition
(function_name__get_ordering_field_lookup) function_name__get_ordering_field_lookup
(parameters
(identifier_self) identifier_self
(identifier_field_name) identifier_field_name
)parameters
(block
(expression_statement
(assignment
(identif... | get real model field to order by |
(module
(function_definition
(function_name_visit_BoolOp) function_name_visit_BoolOp
(parameters
(identifier_self) identifier_self
(identifier_node) identifier_node
)parameters
(block
(return_statement
(call
(identifier_sum) identifier_sum
(argument_list
... | Return type may come from any boolop operand. |
(module
(function_definition
(function_name_copy) function_name_copy
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_other) identifier_other
(call
(identifier_Version) identifier_Version
... | Returns a copy of the version. |
(module
(function_definition
(function_name_item_properties) function_name_item_properties
(parameters
(identifier_self) identifier_self
(identifier_handle) identifier_handle
)parameters
(block
(expression_statement
(call
(attribute
(identifier_logger) i... | Return properties of the item with the given handle. |
(module
(function_definition
(function_name_permute_data) function_name_permute_data
(parameters
(identifier_arrays) identifier_arrays
(default_parameter
(identifier_random_state) identifier_random_state
(None) None
)default_parameter
)parameters
(block
(if_stat... | Permute multiple numpy arrays with the same order. |
(module
(function_definition
(function_name_declassify) function_name_declassify
(parameters
(identifier_to_remove) identifier_to_remove
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(dictionary_splat_pattern
(identifier_kwargs) identifier_kw... | flatten the return values of the mite api. |
(module
(function_definition
(function_name_map_ontologies) function_name_map_ontologies
(parameters
)parameters
(block
(if_statement
(comparison_operator
(attribute
(identifier_request) identifier_request
(identifier_method) identifier_method
... | Run ontology mapping on a list of INDRA Statements. |
(module
(function_definition
(function_name_setup_logging) function_name_setup_logging
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(call
(attribute
(call
(attribute
(identifier_logging) i... | Setup logging module based on known modules in the config file |
(module
(function_definition
(function_name_name) function_name_name
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(not_operator
(call
(identifier_hasattr) identifier_hasattr
(argument_list
(identifier... | Returns the recipe name which is its class name without package. |
(module
(function_definition
(function_name_copy) function_name_copy
(parameters
(identifier_self) identifier_self
)parameters
(block
(return_statement
(call
(identifier_Poly) identifier_Poly
(argument_list
(call
(attribute
... | Return a copy of the polynomial. |
(module
(function_definition
(function_name__loaddata_template) function_name__loaddata_template
(parameters
(identifier_self) identifier_self
(identifier_stringbuffer) identifier_stringbuffer
(identifier_index) identifier_index
(identifier_name) identifier_name
(identifier_opts)... | StringIO "templates" to build a command line for 'loaddata' |
(module
(function_definition
(function_name__make_regex) function_name__make_regex
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_rxp) identifier_rxp
(call
(attribute
(stri... | Compile rxp with all keys concatenated. |
(module
(function_definition
(function_name_order_by) function_name_order_by
(parameters
(identifier_self) identifier_self
(identifier_order_attribute) identifier_order_attribute
)parameters
(block
(expression_statement
(assignment
(identifier_to_return) identifier_... | Return the list of items in a certain order |
(module
(function_definition
(function_name_load_network_from_file) function_name_load_network_from_file
(parameters
(identifier_filename) identifier_filename
)parameters
(block
(import_statement
(dotted_name
(identifier_cPickle) identifier_cPickle
)dotted_name
... | Load the complete configuration of a previously stored network. |
(module
(function_definition
(function_name_image_update_properties) function_name_image_update_properties
(parameters
(identifier_request) identifier_request
(identifier_image_id) identifier_image_id
(default_parameter
(identifier_remove_props) identifier_remove_props
(None)... | Add or update a custom property of an image. |
(module
(function_definition
(function_name_wider_pre_conv) function_name_wider_pre_conv
(parameters
(identifier_layer) identifier_layer
(identifier_n_add_filters) identifier_n_add_filters
(default_parameter
(identifier_weighted) identifier_weighted
(True) True
)default... | wider previous conv layer. |
(module
(function_definition
(function_name_symlinks) function_name_symlinks
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(not_operator
(attribute
(attribute
(attribute
(identifier_self) identifie... | Known symlinks of the block device. |
(module
(function_definition
(function_name_RenderHttpResponse) function_name_RenderHttpResponse
(parameters
(identifier_request) identifier_request
)parameters
(block
(expression_statement
(assignment
(identifier_start_time) identifier_start_time
(call
... | Renders HTTP response to a given HTTP request. |
(module
(function_definition
(function_name_deleteAnnotations) function_name_deleteAnnotations
(parameters
(identifier_self) identifier_self
(identifier_annotation_ids) identifier_annotation_ids
(default_parameter
(identifier_LIMIT) identifier_LIMIT
(integer_25) integer_25
... | data = list of ids |
(module
(function_definition
(function_name_readRGBA) function_name_readRGBA
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(call
(attribute
(identifier_self) identifier_self
(identifier_reset_bits_pending) i... | Read a RGBA color |
(module
(function_definition
(function_name_parse_xml_file) function_name_parse_xml_file
(parameters
(identifier_self) identifier_self
(identifier_fileobj) identifier_fileobj
(default_parameter
(identifier_id_generator) identifier_id_generator
(None) None
)default_param... | Parse an open XML file, returning a usage id. |
(module
(function_definition
(function_name_eat_line) function_name_eat_line
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(attribute
(identifier_self) identifier_self
(identifier_eos) identifier_eos
)attribute
(b... | Move current position forward until the next line. |
(module
(function_definition
(function_name_check_param_ranges) function_name_check_param_ranges
(parameters
(identifier_num_bins) identifier_num_bins
(identifier_num_groups) identifier_num_groups
(identifier_num_values) identifier_num_values
(identifier_trim_outliers) identifier_trim_... | Ensuring the parameters are in valid ranges. |
(module
(function_definition
(function_name_Flush) function_name_Flush
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(call
(attribute
(call
(identifier_super) identifier_super
(argument_list
... | Flush the data to the index. |
(module
(function_definition
(function_name_render_pyquery) function_name_render_pyquery
(parameters
(identifier_self) identifier_self
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictionary_splat_pattern
)parameters
(block
(import_from_statement
... | Render the graph, and return a pyquery wrapped tree |
(module
(function_definition
(function_name_transformer_wikitext103_l4k_v0) function_name_transformer_wikitext103_l4k_v0
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_hparams) identifier_hparams
(call
(identifier_transformer_... | HParams for training languagemodel_wikitext103_l4k. |
(module
(function_definition
(function_name_use_isolated_log_view) function_name_use_isolated_log_view
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(attribute
(identifier_self) identifier_self
(... | Pass through to provider LogEntryLookupSession.use_isolated_log_view |
(module
(function_definition
(function_name_watch) function_name_watch
(parameters
(identifier_args) identifier_args
)parameters
(block
(expression_statement
(string_" Watch directory for changes and auto pack sources ") string_" Watch directory for changes and auto pack sources "
... | Watch directory for changes and auto pack sources |
(module
(function_definition
(function_name_defaults) function_name_defaults
(parameters
)parameters
(block
(return_statement
(call
(identifier_dict) identifier_dict
(generator_expression
(tuple
(call
(identifier_str) identifi... | return a dictionary with default option values and description |
(module
(function_definition
(function_name_use_comparative_assessment_taken_view) function_name_use_comparative_assessment_taken_view
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(subscript
(attribute
... | Pass through to provider AssessmentTakenLookupSession.use_comparative_assessment_taken_view |
(module
(function_definition
(function_name__login_request) function_name__login_request
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_username) identifier_username
(None) None
)default_parameter
(default_parameter
(identifier_secr... | Send a login request with paramerters. |
(module
(function_definition
(function_name_next_theme) function_name_next_theme
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_theme) identifier_theme
(call
(attribute
(at... | Cycle to preview the next theme from the internal list of themes. |
(module
(function_definition
(function_name_check_imagemagick_supported_format) function_name_check_imagemagick_supported_format
(parameters
(identifier_fmt) identifier_fmt
)parameters
(block
(try_statement
(block
(expression_statement
(assignment
... | Return ``True`` if `convert` can be run and reports supporting image format `fmt`. |
(module
(function_definition
(function_name_document_type2marc) function_name_document_type2marc
(parameters
(identifier_self) identifier_self
(identifier_key) identifier_key
(identifier_value) identifier_value
)parameters
(block
(if_statement
(boolean_operator
... | Populate the ``980`` MARC field. |
(module
(function_definition
(function_name_get) function_name_get
(parameters
(identifier_self) identifier_self
(identifier_request) identifier_request
(identifier_id) identifier_id
)parameters
(block
(if_statement
(identifier_id) identifier_id
(block
... | Get one user or all users |
(module
(function_definition
(function_name__GetZeepFormattedSOAPHeaders) function_name__GetZeepFormattedSOAPHeaders
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_headers) identifier_headers
(call
... | Returns a dict with SOAP headers in the right format for zeep. |
(module
(function_definition
(function_name_extract_ipv4) function_name_extract_ipv4
(parameters
(identifier_roster_order) identifier_roster_order
(identifier_ipv4) identifier_ipv4
)parameters
(block
(for_statement
(identifier_ip_type) identifier_ip_type
(identifier_r... | Extract the preferred IP address from the ipv4 grain |
(module
(function_definition
(function_name_delete) function_name_delete
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_response) identifier_response
(call
(attribute
(attr... | Delete this email report |
(module
(function_definition
(function_name_cleanJsbConfig) function_name_cleanJsbConfig
(parameters
(identifier_self) identifier_self
(identifier_jsbconfig) identifier_jsbconfig
)parameters
(block
(expression_statement
(assignment
(identifier_config) identifier_con... | Clean up the JSB config. |
(module
(function_definition
(function_name_CreateApproval) function_name_CreateApproval
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_reason) identifier_reason
(None) None
)default_parameter
(default_parameter
(identifier_notified... | Create a new approval for the current user to access this hunt. |
(module
(function_definition
(function_name_graph_val_dump) function_name_graph_val_dump
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(call
(attribute
(identifier_self) identifier_self
(identifier__flush_gr... | Yield the entire contents of the graph_val table. |
(module
(function_definition
(function_name_remove) function_name_remove
(parameters
(default_parameter
(identifier_name) identifier_name
(None) None
)default_parameter
(default_parameter
(identifier_index) identifier_index
(None) None
)default_parameter... | remove the specified configuration |
(module
(function_definition
(function_name_concat_dim) function_name_concat_dim
(parameters
(identifier_cls) identifier_cls
(identifier_datasets) identifier_datasets
(identifier_dim) identifier_dim
(identifier_vdims) identifier_vdims
)parameters
(block
(import_statement
... | Concatenates datasets along one dimension |
(module
(function_definition
(function_name__translate_limit) function_name__translate_limit
(parameters
(identifier_self) identifier_self
(identifier_len_) identifier_len_
(identifier_start) identifier_start
(identifier_num) identifier_num
)parameters
(block
(if_statemen... | Translate limit to valid bounds. |
(module
(function_definition
(function_name__list_files) function_name__list_files
(parameters
(identifier_self) identifier_self
(identifier_path) identifier_path
)parameters
(block
(expression_statement
(assignment
(identifier_files) identifier_files
(lis... | lists files in a given directory |
(module
(function_definition
(function_name_filtered) function_name_filtered
(parameters
(identifier_self) identifier_self
(identifier_step_names) identifier_step_names
)parameters
(block
(return_statement
(call
(identifier_Graph) identifier_Graph
(argumen... | Returns a "filtered" version of this graph. |
(module
(function_definition
(function_name_to_refs) function_name_to_refs
(parameters
(identifier_value) identifier_value
)parameters
(block
(import_from_statement
(dotted_name
(identifier_mongoframes) identifier_mongoframes
(identifier_frames) identifier_frame... | Convert all Frame instances within the given value to Ids |
(module
(function_definition
(function_name__is_wrapped) function_name__is_wrapped
(parameters
(identifier_self) identifier_self
(identifier_token) identifier_token
(identifier_tokens) identifier_tokens
)parameters
(block
(for_statement
(identifier_t) identifier_t
... | check if param token is wrapped by any token in tokens |
(module
(function_definition
(function_name_y_select_cb) function_name_y_select_cb
(parameters
(identifier_self) identifier_self
(identifier_w) identifier_w
(identifier_index) identifier_index
)parameters
(block
(try_statement
(block
(expression_statement
... | Callback to set Y-axis column. |
(module
(function_definition
(function_name_on_history_size_value_changed) function_name_on_history_size_value_changed
(parameters
(identifier_self) identifier_self
(identifier_spin) identifier_spin
)parameters
(block
(expression_statement
(assignment
(identifier_va... | Changes the value of history_size in dconf |
(module
(function_definition
(function_name_decode_values) function_name_decode_values
(parameters
(identifier_fct) identifier_fct
)parameters
(block
(function_definition
(function_name_inner) function_name_inner
(parameters
(list_splat_pattern
(identi... | Decode base64 encoded responses from Consul storage |
(module
(function_definition
(function_name_watch_logfile) function_name_watch_logfile
(parameters
(identifier_self) identifier_self
(identifier_logfile_path) identifier_logfile_path
)parameters
(block
(expression_statement
(assignment
(subscript
(attrib... | Analyzes queries from the tail of a given log file |
(module
(function_definition
(function_name_id_to_root_name) function_name_id_to_root_name
(parameters
(identifier_id) identifier_id
)parameters
(block
(expression_statement
(assignment
(identifier_name) identifier_name
(call
(attribute
... | Convert a PDG ID to a string with root markup. |
(module
(function_definition
(function_name_avail) function_name_avail
(parameters
(identifier_df) identifier_df
)parameters
(block
(expression_statement
(assignment
(identifier_avail) identifier_avail
(call
(identifier_DataFrame) identifier_DataFram... | Return start & end availability for each column in a DataFrame. |
(module
(function_definition
(function_name_check) function_name_check
(parameters
(identifier_self) identifier_self
(identifier_request) identifier_request
)parameters
(block
(if_statement
(call
(identifier_callable) identifier_callable
(argument_list
... | Evaluate if we should be visible for this request |
(module
(function_definition
(function_name__get_phantom_root_catalog) function_name__get_phantom_root_catalog
(parameters
(identifier_self) identifier_self
(identifier_cat_name) identifier_cat_name
(identifier_cat_class) identifier_cat_class
)parameters
(block
(expression_stat... | Get's the catalog id corresponding to the root of all implementation catalogs. |
(module
(function_definition
(function_name_expect) function_name_expect
(parameters
(identifier_qubits) identifier_qubits
(identifier_meas) identifier_meas
)parameters
(block
(expression_statement
(string_"For the VQE simulation without sampling.") string_"For the VQE simula... | For the VQE simulation without sampling. |
(module
(function_definition
(function_name_getTypedValue) function_name_getTypedValue
(parameters
(identifier_self) identifier_self
(identifier_row) identifier_row
)parameters
(block
(expression_statement
(string_'Returns the properly-typed value for the given row at this co... | Returns the properly-typed value for the given row at this column. |
(module
(function_definition
(function_name_on_epoch_end) function_name_on_epoch_end
(parameters
(identifier_self) identifier_self
(identifier_last_metrics) identifier_last_metrics
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictionary_splat_pattern
)pa... | Put the various losses in the recorder. |
(module
(function_definition
(function_name_accepts_numpy) function_name_accepts_numpy
(parameters
(identifier_func) identifier_func
)parameters
(block
(function_definition
(function_name_wrp_accepts_numpy) function_name_wrp_accepts_numpy
(parameters
(identifier_s... | Allows the first input to be a numpy array and get result in numpy form |
(module
(function_definition
(function_name_do_operation) function_name_do_operation
(parameters
(identifier_database) identifier_database
(identifier_keys) identifier_keys
(identifier_table) identifier_table
(identifier_operation) identifier_operation
(identifier_latencies_ms) i... | Does a single operation and records latency. |
(module
(function_definition
(function_name__mine_send) function_name__mine_send
(parameters
(identifier_self) identifier_self
(identifier_tag) identifier_tag
(identifier_data) identifier_data
)parameters
(block
(expression_statement
(assignment
(identifier_ch... | Send mine data to the master |
(module
(function_definition
(function_name_query_relative) function_name_query_relative
(parameters
(identifier_self) identifier_self
(identifier_query) identifier_query
(default_parameter
(identifier_event_time) identifier_event_time
(None) None
)default_parameter
... | Perform the query and calculate the time range based on the relative values. |
(module
(function_definition
(function_name_sparql) function_name_sparql
(parameters
(identifier_self) identifier_self
(identifier_stringa) identifier_stringa
)parameters
(block
(expression_statement
(assignment
(identifier_qres) identifier_qres
(call
... | wrapper around a sparql query |
(module
(function_definition
(function_name_compress_js) function_name_compress_js
(parameters
(identifier_self) identifier_self
(identifier_paths) identifier_paths
(default_parameter
(identifier_templates) identifier_templates
(None) None
)default_parameter
(dict... | Concatenate and compress JS files |
(module
(function_definition
(function_name_adj_nodes_gcp) function_name_adj_nodes_gcp
(parameters
(identifier_gcp_nodes) identifier_gcp_nodes
)parameters
(block
(for_statement
(identifier_node) identifier_node
(identifier_gcp_nodes) identifier_gcp_nodes
(block
... | Adjust details specific to GCP. |
(module
(function_definition
(function_name__format_method_nodes) function_name__format_method_nodes
(parameters
(identifier_self) identifier_self
(identifier_task_method) identifier_task_method
(identifier_modulename) identifier_modulename
(identifier_classname) identifier_classname
... | Create a ``desc`` node summarizing a method docstring. |
(module
(function_definition
(function_name_export) function_name_export
(parameters
(identifier_datastore_key) identifier_datastore_key
(default_parameter
(identifier_calc_id) identifier_calc_id
(unary_operator
(integer_1) integer_1
)unary_operator
)default... | Export an output from the datastore. |
(module
(function_definition
(function_name_add_update_callback) function_name_add_update_callback
(parameters
(identifier_self) identifier_self
(identifier_callback) identifier_callback
(identifier_sensor) identifier_sensor
)parameters
(block
(expression_statement
(cal... | Register as callback for when a matching device sensor changes. |
(module
(function_definition
(function_name_cli) function_name_cli
(parameters
(identifier_ctx) identifier_ctx
)parameters
(block
(expression_statement
(assignment
(identifier_cmd) identifier_cmd
(call
(attribute
(identifier_click) iden... | Saves a new command |
(module
(function_definition
(function_name__parse) function_name__parse
(parameters
(identifier_partial_dt) identifier_partial_dt
)parameters
(block
(expression_statement
(assignment
(identifier_dt) identifier_dt
(None) None
)assignment
)expressio... | parse a partial datetime object to a complete datetime object |
(module
(function_definition
(function_name_request_get_user) function_name_request_get_user
(parameters
(identifier_self) identifier_self
(identifier_user_ids) identifier_user_ids
)parameters
(type
(identifier_dict) identifier_dict
)type
(block
(expression_statement
... | Method to get users by ID, do not need authorization |
(module
(function_definition
(function_name_ask_captcha) function_name_ask_captcha
(parameters
(default_parameter
(identifier_length) identifier_length
(integer_4) integer_4
)default_parameter
)parameters
(block
(expression_statement
(assignment
(ide... | Prompts the user for a random string. |
(module
(function_definition
(function_name_size_from_name) function_name_size_from_name
(parameters
(identifier_size) identifier_size
(identifier_sizes) identifier_sizes
)parameters
(block
(expression_statement
(assignment
(identifier_by_name) identifier_by_name
... | Return a size from a list of sizes. |
(module
(function_definition
(function_name_add_shell_action) function_name_add_shell_action
(parameters
(typed_parameter
(identifier_sub_parser) identifier_sub_parser
(type
(identifier_ArgumentParser) identifier_ArgumentParser
)type
)typed_parameter
)paramete... | Populates the sub parser with the shell arguments |
(module
(function_definition
(function_name_visit_FunctionBody) function_name_visit_FunctionBody
(parameters
(identifier_self) identifier_self
(identifier_node) identifier_node
)parameters
(block
(for_statement
(identifier_child) identifier_child
(attribute
... | Visitor for `FunctionBody` AST node. |
(module
(function_definition
(function_name_normalize) function_name_normalize
(parameters
(identifier_value) identifier_value
)parameters
(block
(if_statement
(boolean_operator
(identifier_value) identifier_value
(call
(identifier_isinstance) identi... | Simple method to always have the same kind of value |
(module
(function_definition
(function_name_idfn) function_name_idfn
(parameters
(typed_parameter
(identifier_fixture_params) identifier_fixture_params
(type
(generic_type
(identifier_Iterable) identifier_Iterable
(type_parameter
(type
... | Function for pytest to produce uniform names for fixtures. |
(module
(function_definition
(function_name_to_immutable) function_name_to_immutable
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(comparison_operator
(attribute
(identifier_self) identifier_self
(identifier__enume... | Get an immutable version of this collection. |
(module
(function_definition
(function_name__process_json_response) function_name__process_json_response
(parameters
(identifier_self) identifier_self
(identifier_response) identifier_response
)parameters
(block
(expression_statement
(assignment
(identifier_json_res... | Process a given response |
(module
(function_definition
(function_name_frompil) function_name_frompil
(parameters
(identifier_self) identifier_self
(identifier_pillow_image) identifier_pillow_image
)parameters
(block
(expression_statement
(assignment
(identifier_bio) identifier_bio
... | Create a copy of a PIL.Image from this Pix |
(module
(function_definition
(function_name__query_iterator) function_name__query_iterator
(parameters
(identifier_self) identifier_self
(identifier_result) identifier_result
(identifier_chunksize) identifier_chunksize
(identifier_columns) identifier_columns
(default_parameter
... | Return generator through chunked result set. |
(module
(function_definition
(function_name_do_help) function_name_do_help
(parameters
(identifier_self) identifier_self
(identifier_arg) identifier_arg
)parameters
(block
(if_statement
(boolean_operator
(not_operator
(identifier_arg) identifier_arg
... | Patched to show help for arparse commands |
(module
(function_definition
(function_name_tasks) function_name_tasks
(parameters
(identifier_self) identifier_self
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictionary_splat_pattern
)parameters
(block
(expression_statement
(assignment
... | Fetch tasks specified criteria |
(module
(function_definition
(function_name_process_details) function_name_process_details
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_results) identifier_results
(dictionary
(pair
(string_"argv") string_"argv... | Returns details about the current process |
(module
(function_definition
(function_name__run) function_name__run
(parameters
(identifier_name) identifier_name
(identifier_cmd) identifier_cmd
(default_parameter
(identifier_output) identifier_output
(None) None
)default_parameter
(default_parameter
(i... | Common logic for nspawn.run functions |
(module
(function_definition
(function_name__flush) function_name__flush
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(attribute
(attribute
(identifier_self) identifier_self
(identifier_file) identifier_file
... | Compresses and writes data in the cache to file. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.