sequence stringlengths 731 13.6k | docstring stringlengths 11 171 |
|---|---|
(module
(function_definition
(function_name_ReadUntil) function_name_ReadUntil
(parameters
(identifier_self) identifier_self
(identifier_expected_ids) identifier_expected_ids
(list_splat_pattern
(identifier_finish_ids) identifier_finish_ids
)list_splat_pattern
)parameters
... | Useful wrapper around Read. |
(module
(function_definition
(function_name__removeReceiver) function_name__removeReceiver
(parameters
(identifier_receiver) identifier_receiver
)parameters
(block
(if_statement
(not_operator
(identifier_sendersBack) identifier_sendersBack
)not_operator
(b... | Remove receiver from connections. |
(module
(function_definition
(function_name_format_path) function_name_format_path
(parameters
(identifier_p) identifier_p
(default_parameter
(identifier_quote_spaces) identifier_quote_spaces
(False) False
)default_parameter
)parameters
(block
(if_statement
... | Format a path in utf8, quoting it if necessary. |
(module
(function_definition
(function_name_mutate) function_name_mutate
(parameters
(identifier_self) identifier_self
(identifier_p_i) identifier_p_i
(identifier_func_set) identifier_func_set
(identifier_term_set) identifier_term_set
)parameters
(block
(expression_statem... | point mutation, addition, removal |
(module
(function_definition
(function_name_apply) function_name_apply
(parameters
(identifier_self) identifier_self
(identifier_styler) identifier_styler
)parameters
(block
(return_statement
(call
(attribute
(identifier_styler) identifier_styler
... | Apply Summary over Pandas Styler |
(module
(function_definition
(function_name_parse_def) function_name_parse_def
(parameters
(identifier_self) identifier_self
(identifier_text) identifier_text
)parameters
(block
(expression_statement
(call
(attribute
(identifier_self) identifier_self
... | Parse the function definition text. |
(module
(function_definition
(function_name_list_releases) function_name_list_releases
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_response) identifier_response
(call
(attribute
(identifier_requests) identifie... | Lists all releases published on pypi. |
(module
(function_definition
(function_name_compile_protos) function_name_compile_protos
(parameters
)parameters
(block
(if_statement
(not_operator
(call
(attribute
(attribute
(identifier_os) identifier_os
(identifier_pa... | Builds necessary assets from sources. |
(module
(function_definition
(function_name_exist) function_name_exist
(parameters
(identifier_self) identifier_self
(identifier_key) identifier_key
(default_parameter
(identifier_param) identifier_param
(None) None
)default_parameter
)parameters
(block
(e... | see if specific identity exists |
(module
(function_definition
(function_name_csp_header) function_name_csp_header
(parameters
(default_parameter
(identifier_csp) identifier_csp
(dictionary
)dictionary
)default_parameter
)parameters
(block
(expression_statement
(assignment
(i... | Decorator to include csp header on app.route wrapper |
(module
(function_definition
(function_name_switch_schema) function_name_switch_schema
(parameters
(identifier_task) identifier_task
(identifier_kwargs) identifier_kwargs
(dictionary_splat_pattern
(identifier_kw) identifier_kw
)dictionary_splat_pattern
)parameters
(bloc... | Switches schema of the task, before it has been run. |
(module
(function_definition
(function_name_sliding_window) function_name_sliding_window
(parameters
(identifier_seq) identifier_seq
(identifier_lookahead) identifier_lookahead
)parameters
(block
(expression_statement
(assignment
(identifier_it) identifier_it
... | Create a sliding window with the specified number of lookahead characters. |
(module
(function_definition
(function_name_parse_datetime) function_name_parse_datetime
(parameters
(typed_parameter
(identifier_record) identifier_record
(type
(identifier_str) identifier_str
)type
)typed_parameter
)parameters
(type
(generic_type
... | Parse a datetime string into a python datetime object |
(module
(function_definition
(function_name_combineColumns) function_name_combineColumns
(parameters
(identifier_cols) identifier_cols
)parameters
(block
(expression_statement
(string_'Return Column object formed by joining fields in given columns.') string_'Return Column object fo... | Return Column object formed by joining fields in given columns. |
(module
(function_definition
(function_name_execute) function_name_execute
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_cluster_name) identifier_cluster_name
(attribute
(attribute
... | Stops the cluster if it's running. |
(module
(function_definition
(function_name__checkpath) function_name__checkpath
(parameters
(identifier_self) identifier_self
(identifier_path) identifier_path
)parameters
(block
(if_statement
(boolean_operator
(boolean_operator
(call
(att... | Checks that a given path is valid. If it's not, raises NotFoundException |
(module
(function_definition
(function_name_overlap) function_name_overlap
(parameters
(typed_parameter
(identifier_r1) identifier_r1
(type
(string_'Rectangle') string_'Rectangle'
)type
)typed_parameter
(typed_parameter
(identifier_r2) identifier_r2
... | Overlapping rectangles overlap both horizontally & vertically |
(module
(function_definition
(function_name_remove_experiment) function_name_remove_experiment
(parameters
(identifier_self) identifier_self
(identifier_id) identifier_id
)parameters
(block
(if_statement
(comparison_operator
(identifier_id) identifier_id
(... | remove an experiment by id |
(module
(function_definition
(function_name_human_uuid) function_name_human_uuid
(parameters
)parameters
(block
(return_statement
(call
(attribute
(call
(attribute
(call
(attribute
(identifier_base6... | Returns a good UUID for using as a human readable string. |
(module
(function_definition
(function_name_pt2leaf) function_name_pt2leaf
(parameters
(identifier_self) identifier_self
(identifier_x) identifier_x
)parameters
(block
(if_statement
(attribute
(identifier_self) identifier_self
(identifier_leafnode) identif... | Get the leaf which domain contains x. |
(module
(function_definition
(function_name_save) function_name_save
(parameters
(identifier_self) identifier_self
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictionary... | Capitalize the first letter of the block name. |
(module
(function_definition
(function_name_sequence_length) function_name_sequence_length
(parameters
(identifier_fasta) identifier_fasta
)parameters
(block
(expression_statement
(assignment
(identifier_sequences) identifier_sequences
(call
(attribu... | return a dict of the lengths of sequences in a fasta file |
(module
(function_definition
(function_name__escape_jid) function_name__escape_jid
(parameters
(identifier_jid) identifier_jid
)parameters
(block
(expression_statement
(assignment
(identifier_jid) identifier_jid
(call
(attribute
(identi... | Do proper formatting of the jid |
(module
(function_definition
(function_name__populate_permissions) function_name__populate_permissions
(parameters
(identifier_resources) identifier_resources
(identifier_content_type_id) identifier_content_type_id
)parameters
(block
(import_from_statement
(dotted_name
... | Add all missing permissions to the database. |
(module
(function_definition
(function_name_timeit) function_name_timeit
(parameters
(identifier_func) identifier_func
)parameters
(block
(decorated_definition
(decorator
(call
(identifier_wraps) identifier_wraps
(argument_list
(ident... | Decorator that logs the cost time of a function. |
(module
(function_definition
(function_name_type_converter) function_name_type_converter
(parameters
(identifier_text) identifier_text
)parameters
(block
(if_statement
(call
(attribute
(identifier_text) identifier_text
(identifier_isdigit) identifi... | I convert strings into integers, floats, and strings! |
(module
(function_definition
(function_name_call) function_name_call
(parameters
(identifier_self) identifier_self
(identifier_command) identifier_command
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
)parameters
(block
(if_statement
... | Execute local OR remote command and show response |
(module
(function_definition
(function_name_on_disconnect) function_name_on_disconnect
(parameters
(identifier_self) identifier_self
(identifier_code) identifier_code
(identifier_stream_name) identifier_stream_name
(identifier_reason) identifier_reason
)parameters
(block
... | Called when a disconnect is received |
(module
(function_definition
(function_name_visit_importfrom) function_name_visit_importfrom
(parameters
(identifier_self) identifier_self
(identifier_node) identifier_node
(identifier_parent) identifier_parent
)parameters
(block
(expression_statement
(assignment
... | visit an ImportFrom node by returning a fresh instance of it |
(module
(function_definition
(function_name_append) function_name_append
(parameters
(identifier_self) identifier_self
(identifier_request) identifier_request
(identifier_response) identifier_response
)parameters
(block
(expression_statement
(assignment
(ident... | Add a request, response pair to this cassette |
(module
(function_definition
(function_name_locked) function_name_locked
(parameters
(identifier_self) identifier_self
(identifier_lock) identifier_lock
)parameters
(block
(expression_statement
(call
(attribute
(identifier__LOGGER) identifier__LOGGER
... | Locks or unlocks the thermostat. |
(module
(function_definition
(function_name_run_command_on_master) function_name_run_command_on_master
(parameters
(identifier_command) identifier_command
(default_parameter
(identifier_username) identifier_username
(None) None
)default_parameter
(default_parameter
... | Run a command on the Mesos master |
(module
(function_definition
(function_name_beginning_of_history) function_name_beginning_of_history
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(identifier_u) identifier_u
)expression_statement
(expression_statement
(a... | u'''Move to the first line in the history. |
(module
(function_definition
(function_name_getSampleTypeTitles) function_name_getSampleTypeTitles
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_sample_types) identifier_sample_types
(call
... | Returns a list of sample type titles |
(module
(function_definition
(function_name__setup_versioned_lib_variables) function_name__setup_versioned_lib_variables
(parameters
(identifier_env) identifier_env
(dictionary_splat_pattern
(identifier_kw) identifier_kw
)dictionary_splat_pattern
)parameters
(block
(exp... | Setup all variables required by the versioning machinery |
(module
(function_definition
(function_name_load_profile) function_name_load_profile
(parameters
(identifier_self) identifier_self
(identifier_profile_name) identifier_profile_name
)parameters
(block
(expression_statement
(assignment
(identifier_data) identifier_dat... | Load user profiles from file. |
(module
(function_definition
(function_name__write_ssl) function_name__write_ssl
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_pending) identifier_pending
(call
(attribute
... | Flush outgoing data which OpenSSL put in our BIO to the transport. |
(module
(function_definition
(function_name_remove_network_profile) function_name_remove_network_profile
(parameters
(identifier_self) identifier_self
(identifier_obj) identifier_obj
(identifier_params) identifier_params
)parameters
(block
(expression_statement
(call
... | Remove the specified AP profile. |
(module
(function_definition
(function_name_interm_size) function_name_interm_size
(parameters
(identifier_self) identifier_self
)parameters
(type
(generic_type
(identifier_Sequence) identifier_Sequence
(type_parameter
(type
(identifier_Shape) identifi... | Returns the MDP intermediate state size. |
(module
(function_definition
(function_name_update) function_name_update
(parameters
(identifier_self) identifier_self
(identifier_rows) identifier_rows
)parameters
(block
(if_statement
(comparison_operator
(call
(identifier_len) identifier_len
... | Updates records in the db |
(module
(function_definition
(function_name_kitchen_delete) function_name_kitchen_delete
(parameters
(identifier_backend) identifier_backend
(identifier_kitchen) identifier_kitchen
)parameters
(block
(expression_statement
(call
(attribute
(identifier_cli... | Provide the name of the kitchen to delete |
(module
(function_definition
(function_name_match_tokens) function_name_match_tokens
(parameters
(identifier_expected_tokens) identifier_expected_tokens
)parameters
(block
(if_statement
(call
(identifier_isinstance) identifier_isinstance
(argument_list
... | Generate a grammar function that will match 'expected_tokens' only. |
(module
(function_definition
(function_name_on_modified) function_name_on_modified
(parameters
(identifier_self) identifier_self
(identifier_event) identifier_event
)parameters
(block
(expression_statement
(assignment
(identifier_path) identifier_path
(att... | Handle a file modified event. |
(module
(function_definition
(function_name_summary_extra) function_name_summary_extra
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_out) identifier_out
(dictionary
(pair
... | Build the extra data for the summary logger. |
(module
(function_definition
(function_name_add_task) function_name_add_task
(parameters
(identifier_self) identifier_self
(identifier_command) identifier_command
(default_parameter
(identifier_name) identifier_name
(None) None
)default_parameter
(dictionary_splat... | Adds a new Task to the graph with no edges. |
(module
(function_definition
(function_name_list) function_name_list
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_queue) identifier_queue
(call
(attribute
(identifier_sel... | Lists the jobs on the server. |
(module
(function_definition
(function_name_ends_with_path_separator) function_name_ends_with_path_separator
(parameters
(identifier_self) identifier_self
(identifier_file_path) identifier_file_path
)parameters
(block
(if_statement
(call
(identifier_is_int_type) ide... | Return True if ``file_path`` ends with a valid path separator. |
(module
(function_definition
(function_name_ls) function_name_ls
(parameters
(identifier_self) identifier_self
(identifier_src) identifier_src
(default_parameter
(identifier_extra_args) identifier_extra_args
(list
)list
)default_parameter
)parameters
(bl... | List files in a directory |
(module
(function_definition
(function_name_find_command_class) function_name_find_command_class
(parameters
(identifier_possible_command_names) identifier_possible_command_names
)parameters
(block
(for_statement
(identifier_command_name) identifier_command_name
(identifier... | Try to find a class for one of the given command names. |
(module
(function_definition
(function_name_lambda_vpc_execution_statements) function_name_lambda_vpc_execution_statements
(parameters
)parameters
(block
(return_statement
(list
(call
(identifier_Statement) identifier_Statement
(argument_list
... | Allow Lambda to manipuate EC2 ENIs for VPC support. |
(module
(function_definition
(function_name_dump) function_name_dump
(parameters
(identifier_self) identifier_self
(identifier_f) identifier_f
(default_parameter
(identifier_indent) identifier_indent
(string_'') string_''
)default_parameter
)parameters
(block
... | Dump this keyword to a file-like object |
(module
(function_definition
(function_name_flatten) function_name_flatten
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_shallow) identifier_shallow
(None) None
)default_parameter
)parameters
(block
(return_statement
(call
... | Return a completely flattened version of an array. |
(module
(function_definition
(function_name_convert_bool) function_name_convert_bool
(parameters
(identifier_string) identifier_string
)parameters
(block
(if_statement
(comparison_operator
(identifier_string) identifier_string
(string_'True') string_'True'
... | Check whether string is boolean. |
(module
(function_definition
(function_name_output_list) function_name_output_list
(parameters
(identifier_self) identifier_self
(identifier_category) identifier_category
)parameters
(block
(expression_statement
(call
(identifier_print) identifier_print
(a... | Display the list of users in `category`. |
(module
(function_definition
(function_name_verify_signature) function_name_verify_signature
(parameters
(identifier_key) identifier_key
(identifier_qs) identifier_qs
)parameters
(block
(expression_statement
(assignment
(identifier_unsigned_qs) identifier_unsigned_q... | Verifies that the signature in the query string is correct. |
(module
(function_definition
(function_name_escape) function_name_escape
(parameters
(identifier_arg) identifier_arg
)parameters
(block
(expression_statement
(string_"escape shell special characters") string_"escape shell special characters"
)expression_statement
(expre... | escape shell special characters |
(module
(function_definition
(function_name_try_friends) function_name_try_friends
(parameters
(identifier_self) identifier_self
(identifier_others) identifier_others
)parameters
(block
(expression_statement
(assignment
(identifier_befriended) identifier_befriended
... | Look for random agents around me and try to befriend them |
(module
(function_definition
(function_name_add_ip_to_net) function_name_add_ip_to_net
(parameters
(identifier_networks) identifier_networks
(identifier_host) identifier_host
)parameters
(block
(for_statement
(identifier_network) identifier_network
(identifier_network... | Add hosts from ipplan to networks object. |
(module
(function_definition
(function_name_delete_port_precommit) function_name_delete_port_precommit
(parameters
(identifier_self) identifier_self
(identifier_context) identifier_context
)parameters
(block
(if_statement
(call
(attribute
(identifier_sel... | Delete port pre-database commit event. |
(module
(function_definition
(function_name_wet_records) function_name_wet_records
(parameters
(identifier_wet_filepath) identifier_wet_filepath
)parameters
(block
(if_statement
(call
(attribute
(identifier_wet_filepath) identifier_wet_filepath
(id... | Generate WETRecords from filepath. |
(module
(function_definition
(function_name_close) function_name_close
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(not_operator
(parenthesized_expression
(yield
(call
(attribute
... | Closes this QEMU VM. |
(module
(function_definition
(function_name_processing_blocks) function_name_processing_blocks
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_pb_list) identifier_pb_list
(call
(identifie... | Return the a JSON dict encoding the PBs known to SDP. |
(module
(function_definition
(function_name_stemming_processor) function_name_stemming_processor
(parameters
(identifier_words) identifier_words
)parameters
(block
(expression_statement
(assignment
(identifier_stem) identifier_stem
(attribute
(call
... | Porter Stemmer word processor |
(module
(function_definition
(function_name__set_worker_thread_level) function_name__set_worker_thread_level
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_bthread_logger) identifier_bthread_logger
... | Sets logging level of the background logging thread to DEBUG or INFO |
(module
(function_definition
(function_name_on_batch_end) function_name_on_batch_end
(parameters
(identifier_self) identifier_self
(identifier_last_loss) identifier_last_loss
(identifier_epoch) identifier_epoch
(identifier_num_batch) identifier_num_batch
(typed_parameter
... | Test if `last_loss` is NaN and interrupts training. |
(module
(function_definition
(function_name_lock) function_name_lock
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_component) identifier_component
(attribute
(identifier_self) identifie... | Lock card with SCardBeginTransaction. |
(module
(function_definition
(function_name_items_at) function_name_items_at
(parameters
(identifier_self) identifier_self
(identifier_depth) identifier_depth
)parameters
(block
(if_statement
(comparison_operator
(identifier_depth) identifier_depth
(intege... | Iterate items at specified depth. |
(module
(function_definition
(function_name_download_from_category) function_name_download_from_category
(parameters
(identifier_category_name) identifier_category_name
(identifier_output_path) identifier_output_path
(identifier_width) identifier_width
)parameters
(block
(expre... | Download files of a given category. |
(module
(function_definition
(function_name_rp_module_level_in_stack) function_name_rp_module_level_in_stack
(parameters
)parameters
(block
(import_from_statement
(dotted_name
(identifier_traceback) identifier_traceback
)dotted_name
(dotted_name
(ident... | Returns true if we're during a rootpy import |
(module
(function_definition
(function_name__forward_mode) function_name__forward_mode
(parameters
(identifier_self) identifier_self
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
)parameters
(block
(expression_statement
(assignment
... | Forward mode differentiation for a sum |
(module
(function_definition
(function_name_user_default_add_related_pks) function_name_user_default_add_related_pks
(parameters
(identifier_self) identifier_self
(identifier_obj) identifier_obj
)parameters
(block
(if_statement
(not_operator
(call
(ident... | Add related primary keys to a User instance. |
(module
(function_definition
(function_name_dry_run) function_name_dry_run
(parameters
(identifier_command) identifier_command
(identifier_dry_run) identifier_dry_run
)parameters
(block
(if_statement
(not_operator
(identifier_dry_run) identifier_dry_run
)not... | Executes a shell command unless the dry run option is set |
(module
(function_definition
(function_name_create_node_group) function_name_create_node_group
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(call
(attribute
(identifier_self) identifier_self
(identifier_cre... | Create on-demand node group on Amazon EKS. |
(module
(function_definition
(function_name_execute_command_by_uuid) function_name_execute_command_by_uuid
(parameters
(identifier_self) identifier_self
(identifier_tab_uuid) identifier_tab_uuid
(identifier_command) identifier_command
)parameters
(block
(if_statement
(c... | Execute the `command' in the tab whose terminal has the `tab_uuid' uuid |
(module
(function_definition
(function_name_generate_drone_plugin) function_name_generate_drone_plugin
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_example) identifier_example
(dictionary
... | Generate a sample drone plugin configuration |
(module
(function_definition
(function_name_setSample) function_name_setSample
(parameters
(identifier_self) identifier_self
(identifier_sample) identifier_sample
)parameters
(block
(if_statement
(not_operator
(call
(identifier_isinstance) identifier_isi... | Set sample points from the population. Should be a RDD |
(module
(function_definition
(function_name_render_form) function_name_render_form
(parameters
(identifier_form) identifier_form
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictionary_splat_pattern
)parameters
(block
(expression_statement
(a... | Render a form to a Bootstrap layout |
(module
(function_definition
(function_name__set_original_fields) function_name__set_original_fields
(parameters
(identifier_instance) identifier_instance
)parameters
(block
(expression_statement
(assignment
(identifier_original_fields) identifier_original_fields
... | Save fields value, only for non-m2m fields. |
(module
(function_definition
(function_name_doublec) function_name_doublec
(parameters
(identifier_self) identifier_self
(identifier_j) identifier_j
)parameters
(block
(if_statement
(boolean_operator
(comparison_operator
(identifier_j) identifier_j
... | True iff j, j-1 contains double consonant |
(module
(function_definition
(function_name__setup_container) function_name__setup_container
(parameters
(identifier_container_name) identifier_container_name
)parameters
(block
(for_statement
(identifier_meth) identifier_meth
(tuple
(attribute
(identi... | Try and find a container in a variety of methods |
(module
(function_definition
(function_name_peer_relation_id) function_name_peer_relation_id
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_md) identifier_md
(call
(identifier_metadata) identifier_metadata
(argumen... | Get the peers relation id if a peers relation has been joined, else None. |
(module
(function_definition
(function_name_solve_cast) function_name_solve_cast
(parameters
(identifier_expr) identifier_expr
(identifier_vars) identifier_vars
)parameters
(block
(expression_statement
(assignment
(identifier_lhs) identifier_lhs
(attribute... | Get cast LHS to RHS. |
(module
(function_definition
(function_name_strseq) function_name_strseq
(parameters
(identifier_object) identifier_object
(identifier_convert) identifier_convert
(default_parameter
(identifier_join) identifier_join
(identifier_joinseq) identifier_joinseq
)default_param... | Recursively walk a sequence, stringifying each element. |
(module
(function_definition
(function_name_config_profile_fwding_mode_get) function_name_config_profile_fwding_mode_get
(parameters
(identifier_self) identifier_self
(identifier_profile_name) identifier_profile_name
)parameters
(block
(expression_statement
(assignment
... | Return forwarding mode of given config profile. |
(module
(function_definition
(function_name_refreshUi) function_name_refreshUi
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_widget) identifier_widget
(call
(attribute
(at... | Refreshes the interface based on the current settings. |
(module
(function_definition
(function_name_and_next) function_name_and_next
(parameters
(identifier_e) identifier_e
)parameters
(block
(function_definition
(function_name_match_and_next) function_name_match_and_next
(parameters
(identifier_s) identifier_s
... | Create a PEG function for positive lookahead. |
(module
(function_definition
(function_name__get_conn) function_name__get_conn
(parameters
(identifier_profile) identifier_profile
)parameters
(block
(expression_statement
(assignment
(identifier_DEFAULT_BASE_URL) identifier_DEFAULT_BASE_URL
(boolean_operator
... | Get a connection to CouchDB |
(module
(function_definition
(function_name_process) function_name_process
(parameters
(identifier_self) identifier_self
(identifier_event) identifier_event
)parameters
(block
(expression_statement
(call
(attribute
(identifier_logger) identifier_logger
... | Put and process tasks in queue. |
(module
(function_definition
(function_name_sort_key) function_name_sort_key
(parameters
(identifier_val) identifier_val
)parameters
(block
(return_statement
(call
(attribute
(identifier_numpy) identifier_numpy
(identifier_sum) identifier_sum
... | Sort key for sorting keys in grevlex order. |
(module
(function_definition
(function_name_ensure_permission_set_tree_cached) function_name_ensure_permission_set_tree_cached
(parameters
(identifier_user) identifier_user
)parameters
(block
(if_statement
(call
(identifier_hasattr) identifier_hasattr
(argument_... | Helper to cache permission set tree on user instance |
(module
(function_definition
(function_name_extract_words) function_name_extract_words
(parameters
(identifier_string) identifier_string
)parameters
(block
(return_statement
(call
(attribute
(identifier_re) identifier_re
(identifier_findall) identi... | Extract all alphabetic syllabified forms from 'string'. |
(module
(function_definition
(function_name_generate) function_name_generate
(parameters
(identifier_length) identifier_length
)parameters
(block
(if_statement
(boolean_operator
(not_operator
(call
(identifier_isinstance) identifier_isinstance
... | Generates random and valid card number which is returned as a string. |
(module
(function_definition
(function_name_setdirs) function_name_setdirs
(parameters
(identifier_outfiles) identifier_outfiles
)parameters
(block
(for_statement
(identifier_k) identifier_k
(identifier_outfiles) identifier_outfiles
(block
(expression_stat... | Create the directories if need be |
(module
(function_definition
(function_name_bk_white) function_name_bk_white
(parameters
(identifier_cls) identifier_cls
)parameters
(block
(expression_statement
(string_"Make the text background color white.") string_"Make the text background color white."
)expression_statem... | Make the text background color white. |
(module
(function_definition
(function_name_position_input) function_name_position_input
(parameters
(identifier_obj) identifier_obj
(default_parameter
(identifier_visible) identifier_visible
(False) False
)default_parameter
)parameters
(block
(if_statement
... | Template tag to return an input field for the position of the object. |
(module
(function_definition
(function_name_add_new) function_name_add_new
(parameters
(identifier_self) identifier_self
(identifier_command) identifier_command
)parameters
(block
(expression_statement
(assignment
(subscript
(attribute
(ide... | Add a new entry to the queue. |
(module
(function_definition
(function_name_add_mapping) function_name_add_mapping
(parameters
(identifier_self) identifier_self
(identifier_data) identifier_data
(default_parameter
(identifier_name) identifier_name
(None) None
)default_parameter
)parameters
(bl... | Add a new mapping |
(module
(function_definition
(function_name_btc_make_p2wpkh_address) function_name_btc_make_p2wpkh_address
(parameters
(identifier_pubkey_hex) identifier_pubkey_hex
)parameters
(block
(expression_statement
(assignment
(identifier_pubkey_hex) identifier_pubkey_hex
... | Make a p2wpkh address from a hex pubkey |
(module
(function_definition
(function_name__get_inline_translations) function_name__get_inline_translations
(parameters
(identifier_self) identifier_self
(identifier_request) identifier_request
(identifier_language_code) identifier_language_code
(default_parameter
(identifier_... | Fetch the inline translations |
(module
(function_definition
(function_name__fix_path) function_name__fix_path
(parameters
)parameters
(block
(import_statement
(dotted_name
(identifier_os) identifier_os
)dotted_name
)import_statement
(import_statement
(dotted_name
(identi... | Finds the google_appengine directory and fixes Python imports to use it. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.