sequence stringlengths 731 13.6k | docstring stringlengths 11 171 |
|---|---|
(module
(function_definition
(function_name_update_details) function_name_update_details
(parameters
(identifier_profile_tree) identifier_profile_tree
(identifier_details) identifier_details
)parameters
(block
(expression_statement
(assignment
(identifier_div) ident... | Update details attribute of a Profile. |
(module
(function_definition
(function_name_serialize) function_name_serialize
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_data) identifier_data
(dictionary
(pair
(strin... | Convert Table element to python dictionary. |
(module
(function_definition
(function_name_a) function_name_a
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_a) identifier_a
(call
(identifier_Point) identifier_Point
(argum... | Positive antipodal point on the major axis, Point class. |
(module
(function_definition
(function_name_completenames) function_name_completenames
(parameters
(identifier_self) identifier_self
(identifier_text) identifier_text
(list_splat_pattern
(identifier_ignored) identifier_ignored
)list_splat_pattern
)parameters
(block
... | Patched to also return argparse commands |
(module
(function_definition
(function_name__precedence_parens) function_name__precedence_parens
(parameters
(identifier_self) identifier_self
(identifier_node) identifier_node
(identifier_child) identifier_child
(default_parameter
(identifier_is_left) identifier_is_left
... | Wrap child in parens only if required to keep same semantics |
(module
(function_definition
(function_name_play) function_name_play
(parameters
(identifier_quiet) identifier_quiet
(identifier_session_file) identifier_session_file
(identifier_shell) identifier_shell
(identifier_speed) identifier_speed
(identifier_prompt) identifier_prompt
... | Play a session file. |
(module
(function_definition
(function_name_lnlike) function_name_lnlike
(parameters
(identifier_self) identifier_self
(identifier_theta) identifier_theta
)parameters
(block
(expression_statement
(assignment
(pattern_list
(identifier_params) identifier_p... | Logarithm of the likelihood |
(module
(function_definition
(function_name_load_fits) function_name_load_fits
(parameters
(identifier_self) identifier_self
(identifier_filepath) identifier_filepath
)parameters
(block
(expression_statement
(assignment
(identifier_image) identifier_image
... | Load a FITS file into the viewer. |
(module
(function_definition
(function_name_slugify) function_name_slugify
(parameters
(identifier_text) identifier_text
(default_parameter
(identifier_sep) identifier_sep
(string_'-') string_'-'
)default_parameter
)parameters
(block
(expression_statement
... | A simple slug generator. |
(module
(function_definition
(function_name_other) function_name_other
(parameters
(typed_parameter
(identifier_wxcodes) identifier_wxcodes
(type
(subscript
(attribute
(identifier_typing) identifier_typing
(identifier_List) identifier_Lis... | Format wx codes into a spoken word string |
(module
(function_definition
(function_name_visit_assign) function_name_visit_assign
(parameters
(identifier_self) identifier_self
(identifier_node) identifier_node
(identifier_parent) identifier_parent
)parameters
(block
(expression_statement
(assignment
(ide... | visit a Assign node by returning a fresh instance of it |
(module
(function_definition
(function_name_subscribe) function_name_subscribe
(parameters
(identifier_self) identifier_self
(identifier_topic) identifier_topic
(identifier_callback) identifier_callback
(identifier_qos) identifier_qos
)parameters
(block
(if_statement
... | Subscribe to an MQTT topic. |
(module
(function_definition
(function_name_delegate) function_name_delegate
(parameters
(identifier_self) identifier_self
(identifier_fn) identifier_fn
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(dictionary_splat_pattern
(identifier... | Return the given operation as an asyncio future. |
(module
(function_definition
(function_name_visitTerminal) function_name_visitTerminal
(parameters
(identifier_self) identifier_self
(identifier_ctx) identifier_ctx
)parameters
(block
(expression_statement
(assignment
(identifier_text) identifier_text
(cal... | Converts case insensitive keywords and identifiers to lowercase |
(module
(function_definition
(function_name__time_reduce) function_name__time_reduce
(parameters
(identifier_self) identifier_self
(identifier_arr) identifier_arr
(identifier_reduction) identifier_reduction
)parameters
(block
(if_statement
(boolean_operator
(c... | Perform the specified time reduction on a local time-series. |
(module
(function_definition
(function_name_reset) function_name_reset
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(attribute
(identifier_self) identifier_self
(identifier_domain) identifier_do... | Reset all resolver configuration to the defaults. |
(module
(function_definition
(function_name_update_last_sm_origin_meta_data) function_name_update_last_sm_origin_meta_data
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(subscript
(subscript
(a... | Update the auto backup meta data with information of the state machine origin |
(module
(function_definition
(function_name_list_alarms) function_name_list_alarms
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_limit) identifier_limit
(None) None
)default_parameter
(default_parameter
(identifier_marker) identifi... | Returns a list of all the alarms created on this entity. |
(module
(function_definition
(function_name_update) function_name_update
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_params) identifier_params
(None) None
)default_parameter
(default_parameter
(identifier_client) identifier_clien... | Push params to OnShape and synchronize the local copy |
(module
(function_definition
(function_name_wants) function_name_wants
(parameters
(identifier_cls) identifier_cls
(list_splat_pattern
(identifier_service_names) identifier_service_names
)list_splat_pattern
)parameters
(block
(function_definition
(function_name_... | A class decorator to indicate that an XBlock class wants particular services. |
(module
(function_definition
(function_name_coerce_to_decimal) function_name_coerce_to_decimal
(parameters
(identifier_value) identifier_value
)parameters
(block
(if_statement
(call
(identifier_isinstance) identifier_isinstance
(argument_list
(identi... | Attempt to coerce the value to a Decimal, or raise an error if unable to do so. |
(module
(function_definition
(function_name_execute) function_name_execute
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_r) identifier_r
(call
(attribute
(attribute
... | Execute the search and return the response. |
(module
(function_definition
(function_name_limit_gen) function_name_limit_gen
(parameters
(identifier_limit) identifier_limit
(identifier_iterable) identifier_iterable
)parameters
(block
(expression_statement
(assignment
(identifier_limit) identifier_limit
... | A generator that applies a count `limit`. |
(module
(function_definition
(function_name___install_eggs) function_name___install_eggs
(parameters
(identifier_self) identifier_self
(identifier_config) identifier_config
)parameters
(block
(expression_statement
(assignment
(identifier_egg_carton) identifier_egg_c... | Install eggs for a particular configuration |
(module
(function_definition
(function_name_shuffle) function_name_shuffle
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_random) identifier_random
(None) None
)default_parameter
)parameters
(block
(expression_statement
(cal... | Shuffle all of the elements in self randomly. |
(module
(function_definition
(function_name_prepare_data) function_name_prepare_data
(parameters
)parameters
(block
(expression_statement
(assignment
(tuple_pattern
(tuple_pattern
(identifier_x_train) identifier_x_train
(identifier_y_trai... | Load and normalize data. |
(module
(function_definition
(function_name_dump_model_data) function_name_dump_model_data
(parameters
(identifier_request) identifier_request
(identifier_app_label) identifier_app_label
(identifier_model_label) identifier_model_label
)parameters
(block
(return_statement
... | Exports data from a model. |
(module
(function_definition
(function_name_from_dict) function_name_from_dict
(parameters
(identifier_cls) identifier_cls
(identifier_d) identifier_d
)parameters
(block
(expression_statement
(assignment
(identifier_o) identifier_o
(call
(attri... | Override default, adding the capture of content and contenttype. |
(module
(function_definition
(function_name_visit_ExtSlice) function_name_visit_ExtSlice
(parameters
(identifier_self) identifier_self
(typed_parameter
(identifier_node) identifier_node
(type
(attribute
(identifier_ast) identifier_ast
(identifier_E... | Visit each dimension of the advanced slicing and assemble the dimensions in a tuple. |
(module
(function_definition
(function_name_append) function_name_append
(parameters
(identifier_self) identifier_self
(identifier_row_dict) identifier_row_dict
)parameters
(block
(expression_statement
(assignment
(identifier_entry) identifier_entry
(call
... | Add a row to the spreadsheet, returns the new row |
(module
(function_definition
(function_name_check_signature) function_name_check_signature
(parameters
(identifier_signature) identifier_signature
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(dictionary_splat_pattern
(identifier_kwargs) ide... | Check for the signature is correct. |
(module
(function_definition
(function_name_output) function_name_output
(parameters
(identifier_self) identifier_self
(identifier_stream) identifier_stream
(default_parameter
(identifier_disabletransferencoding) identifier_disabletransferencoding
(None) None
)default_p... | Set output stream and send response immediately |
(module
(function_definition
(function_name_reorder_indices) function_name_reorder_indices
(parameters
(identifier_self) identifier_self
(identifier_indices_order) identifier_indices_order
)parameters
(block
(expression_statement
(string_'reorder all the indices') string_'reo... | reorder all the indices |
(module
(function_definition
(function_name_inject) function_name_inject
(parameters
(list_splat_pattern
(identifier_injections) identifier_injections
)list_splat_pattern
)parameters
(block
(function_definition
(function_name__decorate) function_name__decorate
... | Resolves dependencies using global container and passed it with optional parameters |
(module
(function_definition
(function_name_Y) function_name_Y
(parameters
(identifier_self) identifier_self
(identifier_value) identifier_value
)parameters
(block
(if_statement
(call
(identifier_isinstance) identifier_isinstance
(argument_list
... | sets the Y coordinate |
(module
(function_definition
(function_name___Finish) function_name___Finish
(parameters
(identifier_self) identifier_self
(identifier_rootTable) identifier_rootTable
(identifier_sizePrefix) identifier_sizePrefix
)parameters
(block
(expression_statement
(call
... | Finish finalizes a buffer, pointing to the given `rootTable`. |
(module
(function_definition
(function_name_consume_keys_asynchronous_processes) function_name_consume_keys_asynchronous_processes
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(call
(identifier_print) identifier_print
(a... | Work through the keys to look up asynchronously using multiple processes |
(module
(function_definition
(function_name_build_attrs) function_name_build_attrs
(parameters
(identifier_self) identifier_self
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
... | Set select2's AJAX attributes. |
(module
(function_definition
(function_name_compress) function_name_compress
(parameters
(identifier_func) identifier_func
)parameters
(block
(function_definition
(function_name_wrapper) function_name_wrapper
(parameters
(list_splat_pattern
(identifier... | Compress result with deflate algorithm if the client ask for it. |
(module
(function_definition
(function_name_suppress) function_name_suppress
(parameters
(identifier_self) identifier_self
(identifier_email) identifier_email
)parameters
(block
(expression_statement
(assignment
(identifier_body) identifier_body
(dictionar... | Adds email addresses to a client's suppression list |
(module
(function_definition
(function_name_maxCtxContextualRule) function_name_maxCtxContextualRule
(parameters
(identifier_maxCtx) identifier_maxCtx
(identifier_st) identifier_st
(identifier_chain) identifier_chain
)parameters
(block
(if_statement
(not_operator
... | Calculate usMaxContext based on a contextual feature rule. |
(module
(function_definition
(function_name__from_string) function_name__from_string
(parameters
(identifier_cls) identifier_cls
(identifier_serialized) identifier_serialized
)parameters
(block
(expression_statement
(assignment
(identifier_library_key) identifier_li... | Requests LibraryLocator to deserialize its part and then adds the local deserialization of block |
(module
(function_definition
(function_name_exclusions) function_name_exclusions
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_exclusion_rules) identifier_exclusion_rules
(list_comprehension
... | Return list of browser exclusion rules defined in the Configuration. |
(module
(function_definition
(function_name_verify) function_name_verify
(parameters
(identifier_self) identifier_self
(identifier_base_path) identifier_base_path
(default_parameter
(identifier_update) identifier_update
(False) False
)default_parameter
)parameters
... | Verify the submission and return testables that can be executed. |
(module
(function_definition
(function_name_updateRouterStatus) function_name_updateRouterStatus
(parameters
(identifier_self) identifier_self
)parameters
(block
(print_statement
(binary_operator
(string_'%s call updateRouterStatus') string_'%s call updateRouterStatus'
... | force update to router as if there is child id request |
(module
(function_definition
(function_name__run_spellcheck_linter) function_name__run_spellcheck_linter
(parameters
(identifier_matched_filenames) identifier_matched_filenames
(identifier_cache_dir) identifier_cache_dir
(identifier_show_lint_files) identifier_show_lint_files
)parameters... | Run spellcheck-linter on matched_filenames. |
(module
(function_definition
(function_name_update_view_state) function_name_update_view_state
(parameters
(identifier_self) identifier_self
(identifier_view) identifier_view
(identifier_state) identifier_state
)parameters
(block
(if_statement
(comparison_operator
... | Update the state of a view. |
(module
(function_definition
(function_name__create_multi_buffer_action) function_name__create_multi_buffer_action
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_icon) identifier_icon
(call
... | Create action for multi buffer dialog. |
(module
(function_definition
(function_name_delete_intf_router) function_name_delete_intf_router
(parameters
(identifier_self) identifier_self
(identifier_name) identifier_name
(identifier_tenant_id) identifier_tenant_id
(identifier_rout_id) identifier_rout_id
(identifier_subnet_... | Delete the openstack router and remove the interfaces attached. |
(module
(function_definition
(function_name_debug_callback) function_name_debug_callback
(parameters
(identifier_event) identifier_event
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(dictionary_splat_pattern
(identifier_kwds) identifier_kwds... | Example callback, useful for debugging. |
(module
(function_definition
(function_name_increase_and_check_counter) function_name_increase_and_check_counter
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(augmented_assignment
(attribute
(identifier_self) identifie... | increase counter by one and check whether a period is end |
(module
(function_definition
(function_name_add_epoch_number) function_name_add_epoch_number
(parameters
(typed_parameter
(identifier_batch) identifier_batch
(type
(identifier_Batch) identifier_Batch
)type
)typed_parameter
(typed_parameter
(identifie... | Add the epoch number to the batch instances as a MetadataField. |
(module
(function_definition
(function_name__unicode_decode_extracted_tb) function_name__unicode_decode_extracted_tb
(parameters
(identifier_extracted_tb) identifier_extracted_tb
)parameters
(block
(return_statement
(list_comprehension
(tuple
(call
... | Return a traceback with the string elements translated into Unicode. |
(module
(function_definition
(function_name_invert_node_predicate) function_name_invert_node_predicate
(parameters
(typed_parameter
(identifier_node_predicate) identifier_node_predicate
(type
(identifier_NodePredicate) identifier_NodePredicate
)type
)typed_paramet... | Build a node predicate that is the inverse of the given node predicate. |
(module
(function_definition
(function_name_taxon_info) function_name_taxon_info
(parameters
(identifier_taxid) identifier_taxid
(identifier_ncbi) identifier_ncbi
(identifier_outFH) identifier_outFH
)parameters
(block
(expression_statement
(assignment
(identif... | Write info on taxid |
(module
(function_definition
(function_name_pause_resume) function_name_pause_resume
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(call
(attribute
(identifier_self) identifier_self
(identifier_is_paused) identifier... | Toggle between pausing or resuming downloading. |
(module
(function_definition
(function_name__DecodeUnrecognizedFields) function_name__DecodeUnrecognizedFields
(parameters
(identifier_message) identifier_message
(identifier_pair_type) identifier_pair_type
)parameters
(block
(expression_statement
(assignment
(ident... | Process unrecognized fields in message. |
(module
(function_definition
(function_name_update) function_name_update
(parameters
(identifier_self) identifier_self
(identifier_cont) identifier_cont
)parameters
(block
(expression_statement
(assignment
(attribute
(identifier_self) identifier_self
... | Update this instance with the contextualize passed. |
(module
(function_definition
(function_name_repo) function_name_repo
(parameters
(typed_parameter
(identifier_name) identifier_name
(type
(identifier_str) identifier_str
)type
)typed_parameter
(typed_parameter
(identifier_owner) identifier_owner
... | a repository lookup by owner and name |
(module
(function_definition
(function_name_initStats) function_name_initStats
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_url) identifier_url
(binary_operator
(string_"%s://%s:%d/%s"... | Query and parse Nginx Web Server Status Page. |
(module
(function_definition
(function_name_compare_config) function_name_compare_config
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(comparison_operator
(attribute
(identifier_self) identifier_self
(identifier_co... | Implementation of NAPALM method compare_config. |
(module
(function_definition
(function_name_rows) function_name_rows
(parameters
(identifier_self) identifier_self
)parameters
(block
(for_statement
(identifier_t) identifier_t
(attribute
(identifier_self) identifier_self
(identifier_terms) identifier_te... | Yield rows for the section |
(module
(function_definition
(function_name_rollback) function_name_rollback
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_commands) identifier_commands
(list
)list
)assignment
... | Implementation of NAPALM method rollback. |
(module
(function_definition
(function_name_ssh) function_name_ssh
(parameters
(identifier_cls) identifier_cls
(identifier_vm_id) identifier_vm_id
(identifier_login) identifier_login
(identifier_identity) identifier_identity
(default_parameter
(identifier_args) identifier... | Spawn an ssh session to virtual machine. |
(module
(function_definition
(function_name_create_signaling) function_name_create_signaling
(parameters
(identifier_args) identifier_args
)parameters
(block
(if_statement
(comparison_operator
(attribute
(identifier_args) identifier_args
(identifie... | Create a signaling method based on command-line arguments. |
(module
(function_definition
(function_name_delete_port_postcommit) function_name_delete_port_postcommit
(parameters
(identifier_self) identifier_self
(identifier_context) identifier_context
)parameters
(block
(expression_statement
(assignment
(identifier_port) iden... | Delete the port from CVX |
(module
(function_definition
(function_name_exit_if_path_not_found) function_name_exit_if_path_not_found
(parameters
(identifier_path) identifier_path
)parameters
(block
(if_statement
(not_operator
(call
(attribute
(attribute
(ide... | Exit if the path is not found. |
(module
(function_definition
(function_name___update) function_name___update
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(pattern_list
(identifier_width) identifier_width
(identifier_height) id... | This is called each time an attribute is asked, to be sure every params are updated, beceause of callbacks. |
(module
(function_definition
(function_name_conv1d_block) function_name_conv1d_block
(parameters
(identifier_inputs) identifier_inputs
(identifier_filters) identifier_filters
(identifier_dilation_rates_and_kernel_sizes) identifier_dilation_rates_and_kernel_sizes
(dictionary_splat_patte... | A block of standard 1d convolutions. |
(module
(function_definition
(function_name_load_registered_fixtures) function_name_load_registered_fixtures
(parameters
(identifier_context) identifier_context
)parameters
(block
(expression_statement
(assignment
(identifier_runner) identifier_runner
(attribute... | Apply fixtures that are registered with the @fixtures decorator. |
(module
(function_definition
(function_name_citation_director) function_name_citation_director
(parameters
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictionary_splat_pattern
)parameters
(block
(expression_statement
(assignment
(identif... | Direct the citation elements based on their qualifier. |
(module
(function_definition
(function_name_filter_input) function_name_filter_input
(parameters
(identifier_keys) identifier_keys
(identifier_raw) identifier_raw
)parameters
(block
(if_statement
(comparison_operator
(call
(identifier_len) identifier_len... | Adds fancy mouse wheel functionality and VI navigation to ListBox |
(module
(function_definition
(function_name_get) function_name_get
(parameters
(identifier_cls) identifier_cls
(identifier_object_version) identifier_object_version
(identifier_key) identifier_key
)parameters
(block
(return_statement
(call
(attribute
... | Get the tag object. |
(module
(function_definition
(function_name_resume) function_name_resume
(parameters
(identifier_self) identifier_self
)parameters
(block
(with_statement
(with_clause
(with_item
(attribute
(identifier_self) identifier_self
(identifi... | Resumes the response stream. |
(module
(function_definition
(function_name_to_gpu) function_name_to_gpu
(parameters
(identifier_x) identifier_x
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictionary_s... | puts pytorch variable to gpu, if cuda is available and USE_GPU is set to true. |
(module
(function_definition
(function_name_add_text) function_name_add_text
(parameters
(identifier_self) identifier_self
(identifier_setting) identifier_setting
(default_parameter
(identifier_width) identifier_width
(integer_300) integer_300
)default_parameter
(... | add a text input line |
(module
(function_definition
(function_name_read_ical) function_name_read_ical
(parameters
(identifier_self) identifier_self
(identifier_ical_file_location) identifier_ical_file_location
)parameters
(block
(with_statement
(with_clause
(with_item
(as_patt... | Read the ical file |
(module
(function_definition
(function_name_asinh) function_name_asinh
(parameters
(identifier_x) identifier_x
(default_parameter
(identifier_context) identifier_context
(None) None
)default_parameter
)parameters
(block
(return_statement
(call
... | Return the inverse hyperbolic sine of x. |
(module
(function_definition
(function_name_visit_import) function_name_visit_import
(parameters
(identifier_self) identifier_self
(identifier_node) identifier_node
(identifier_parent) identifier_parent
)parameters
(block
(expression_statement
(assignment
(ide... | visit a Import node by returning a fresh instance of it |
(module
(function_definition
(function_name__parse_complex_list) function_name__parse_complex_list
(parameters
(identifier_self) identifier_self
(identifier_prop) identifier_prop
)parameters
(block
(expression_statement
(assignment
(identifier_xpath_root) identifier... | Default parsing operation for lists of complex structs |
(module
(function_definition
(function_name_fetchone) function_name_fetchone
(parameters
(identifier_self) identifier_self
(typed_parameter
(identifier_sql) identifier_sql
(type
(identifier_str) identifier_str
)type
)typed_parameter
(list_splat_pattern... | Executes SQL; returns the first row, or None. |
(module
(function_definition
(function_name_dependencies) function_name_dependencies
(parameters
(identifier_source) identifier_source
)parameters
(block
(expression_statement
(assignment
(identifier_loader) identifier_loader
(call
(identifier_ClassL... | Output a list of all classes referenced by the given source. |
(module
(function_definition
(function_name_move) function_name_move
(parameters
(identifier_self) identifier_self
(identifier_dst) identifier_dst
)parameters
(block
(if_statement
(comparison_operator
(attribute
(identifier_self) identifier_self
... | Move artifact from this path to destinaiton. |
(module
(function_definition
(function_name_copy) function_name_copy
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_params) identifier_params
(dictionary
)dictionary
)assignment
... | Returns a copy of the projection matrix |
(module
(function_definition
(function_name_render) function_name_render
(parameters
(identifier_self) identifier_self
(identifier_name) identifier_name
(identifier_value) identifier_value
(default_parameter
(identifier_attrs) identifier_attrs
(None) None
)default... | For django 1.10 compatibility |
(module
(function_definition
(function_name_app_stop) function_name_app_stop
(parameters
(identifier_device_id) identifier_device_id
(identifier_app_id) identifier_app_id
)parameters
(block
(if_statement
(not_operator
(call
(identifier_is_valid_app_id) i... | stops an app with corresponding package name |
(module
(function_definition
(function_name_read_frame) function_name_read_frame
(parameters
(identifier_self) identifier_self
(typed_parameter
(identifier_max_size) identifier_max_size
(type
(identifier_int) identifier_int
)type
)typed_parameter
)parame... | Read a single frame from the connection. |
(module
(function_definition
(function_name_submit) function_name_submit
(parameters
(identifier_self) identifier_self
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(default_parameter
(identifier_func) identifier_func
(None) None
... | Submit the given arguments to the underlying task |
(module
(function_definition
(function_name_visit_UnaryOperation) function_name_visit_UnaryOperation
(parameters
(identifier_self) identifier_self
(identifier_node) identifier_node
)parameters
(block
(if_statement
(comparison_operator
(attribute
(attribu... | Visitor for `UnaryOperation` AST node. |
(module
(function_definition
(function_name__chunk) function_name__chunk
(parameters
(identifier_self) identifier_self
(identifier_response) identifier_response
(default_parameter
(identifier_size) identifier_size
(integer_4096) integer_4096
)default_parameter
)para... | downloads a web response in pieces |
(module
(function_definition
(function_name__get_metadata_model) function_name__get_metadata_model
(parameters
(default_parameter
(identifier_name) identifier_name
(None) None
)default_parameter
)parameters
(block
(if_statement
(comparison_operator
(... | Find registered Metadata object. |
(module
(function_definition
(function_name_linebreaks_safe) function_name_linebreaks_safe
(parameters
(identifier_value) identifier_value
(default_parameter
(identifier_autoescape) identifier_autoescape
(True) True
)default_parameter
)parameters
(block
(if_stat... | Adds linebreaks only for text that has a newline character. |
(module
(function_definition
(function_name__handle_tag_defineshape4) function_name__handle_tag_defineshape4
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_obj) identifier_obj
(call
(ide... | Handle the DefineShape4 tag. |
(module
(function_definition
(function_name_clear) function_name_clear
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(attribute
(identifier_self) identifier_self
(identifier__config) identifier__... | Restart with a clean config |
(module
(function_definition
(function_name_error_state) function_name_error_state
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(attribute
(attribute
(attribute
(identifier_sel... | Set the error condition |
(module
(function_definition
(function_name__parse_desc) function_name__parse_desc
(parameters
(identifier_node) identifier_node
)parameters
(block
(expression_statement
(assignment
(identifier_desc) identifier_desc
(string_'') string_''
)assignment
... | A quick'n'dirty description parser |
(module
(function_definition
(function_name_parseFeed) function_name_parseFeed
(parameters
(identifier_filename) identifier_filename
(identifier_yesterday) identifier_yesterday
)parameters
(block
(expression_statement
(assignment
(identifier_dom) identifier_dom
... | Parse an RSS feed and filter only entries that are newer than yesterday. |
(module
(function_definition
(function_name__set_allowed_services_and_actions) function_name__set_allowed_services_and_actions
(parameters
(identifier_self) identifier_self
(identifier_services) identifier_services
)parameters
(block
(for_statement
(identifier_service) identi... | Expect services to be a list of service dictionaries, each with `name` and `actions` keys. |
(module
(function_definition
(function_name_update_trend_data) function_name_update_trend_data
(parameters
(identifier_self) identifier_self
(identifier_startdate) identifier_startdate
(identifier_enddate) identifier_enddate
)parameters
(block
(expression_statement
(ass... | Update trends data json for specified time period. |
(module
(function_definition
(function_name_extract_hosted_zip) function_name_extract_hosted_zip
(parameters
(identifier_data_url) identifier_data_url
(identifier_save_dir) identifier_save_dir
(default_parameter
(identifier_exclude_term) identifier_exclude_term
(None) None
... | Downloads, then extracts a zip file. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.