sequence stringlengths 731 13.6k | docstring stringlengths 11 171 |
|---|---|
(module
(function_definition
(function_name_shorten_path) function_name_shorten_path
(parameters
(identifier_location) identifier_location
(default_parameter
(identifier_bold) identifier_bold
(False) False
)default_parameter
)parameters
(block
(expression_statem... | Returns a visually shorter representation of a given system path. |
(module
(function_definition
(function_name__get_queue) function_name__get_queue
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(comparison_operator
(attribute
(identifier_self) identifier_self
(identifier__queue) id... | Gets the actual location of the queue, or None. |
(module
(function_definition
(function_name_column) function_name_column
(parameters
(identifier_environment) identifier_environment
(identifier_book) identifier_book
(identifier_sheet_name) identifier_sheet_name
(identifier_sheet_source) identifier_sheet_source
(identifier_colum... | Returns an array of values from column from a different dataset, ordered as the key. |
(module
(function_definition
(function_name__get_centroid_time) function_name__get_centroid_time
(parameters
(identifier_self) identifier_self
(identifier_time_diff) identifier_time_diff
)parameters
(block
(expression_statement
(assignment
(identifier_source_time) i... | Calculates the time difference between the date-time classes |
(module
(function_definition
(function_name_file_downloaded) function_name_file_downloaded
(parameters
(identifier_dwn) identifier_dwn
(identifier_fName) identifier_fName
(default_parameter
(identifier_verbose) identifier_verbose
(False) False
)default_parameter
)pa... | print for downloaded file |
(module
(function_definition
(function_name_to_proto) function_name_to_proto
(parameters
(identifier_self) identifier_self
)parameters
(block
(return_statement
(call
(identifier_sorted) identifier_sorted
(argument_list
(generator_expression
... | Returns a list of SplitInfo protos that we have. |
(module
(function_definition
(function_name__delete) function_name__delete
(parameters
(identifier_self) identifier_self
(identifier_tree) identifier_tree
)parameters
(block
(expression_statement
(assignment
(identifier_tablename) identifier_tablename
(att... | Run a DELETE statement |
(module
(function_definition
(function_name_ObjectTransitionedEventHandler) function_name_ObjectTransitionedEventHandler
(parameters
(identifier_obj) identifier_obj
(identifier_event) identifier_event
)parameters
(block
(if_statement
(not_operator
(call
... | Object has been transitioned to an new state |
(module
(function_definition
(function_name_initialize) function_name_initialize
(parameters
(identifier_self) identifier_self
(identifier_request) identifier_request
)parameters
(block
(if_statement
(comparison_operator
(attribute
(identifier_request) i... | Store the data we'll need to make the postback from the request object. |
(module
(function_definition
(function_name_print_title) function_name_print_title
(parameters
(identifier_title) identifier_title
)parameters
(block
(expression_statement
(call
(identifier_sprint) identifier_sprint
(argument_list
(string_'\n') strin... | Helper function to print titles to the console more nicely |
(module
(function_definition
(function_name__radix_sort) function_name__radix_sort
(parameters
(identifier_L) identifier_L
(default_parameter
(identifier_i) identifier_i
(integer_0) integer_0
)default_parameter
)parameters
(block
(if_statement
(compariso... | Most significant char radix sort |
(module
(function_definition
(function_name_serve_private_file) function_name_serve_private_file
(parameters
(identifier_request) identifier_request
(identifier_path) identifier_path
)parameters
(block
(expression_statement
(call
(attribute
(identifier_l... | Serve private files to users with read permission. |
(module
(function_definition
(function_name_head) function_name_head
(parameters
(identifier_filename) identifier_filename
(default_parameter
(identifier_n) identifier_n
(integer_10) integer_10
)default_parameter
)parameters
(block
(with_statement
(with_... | prints the top `n` lines of a file |
(module
(function_definition
(function_name__pfp__handle_updated) function_name__pfp__handle_updated
(parameters
(identifier_self) identifier_self
(identifier_watched_field) identifier_watched_field
)parameters
(block
(expression_statement
(assignment
(attribute
... | Handle the watched field that was updated |
(module
(function_definition
(function_name_convert) function_name_convert
(parameters
(identifier_self) identifier_self
(identifier_value) identifier_value
(identifier_param) identifier_param
(identifier_ctx) identifier_ctx
)parameters
(block
(expression_statement
... | Try to find correct kernel regarding version. |
(module
(function_definition
(function_name_provision_system_vessel) function_name_provision_system_vessel
(parameters
(identifier_items) identifier_items
(identifier_database_name) identifier_database_name
(default_parameter
(identifier_overwrite) identifier_overwrite
(False... | Provisions the default system vessel |
(module
(function_definition
(function_name__orientation_ok_to_bridge_contigs) function_name__orientation_ok_to_bridge_contigs
(parameters
(identifier_self) identifier_self
(identifier_start_hit) identifier_start_hit
(identifier_end_hit) identifier_end_hit
)parameters
(block
(a... | Returns True iff the orientation of the hits means that the query contig of both hits can bridge the reference contigs of the hits |
(module
(function_definition
(function_name_queue_async_stats_job) function_name_queue_async_stats_job
(parameters
(identifier_klass) identifier_klass
(identifier_account) identifier_account
(identifier_ids) identifier_ids
(identifier_metric_groups) identifier_metric_groups
(dict... | Queues a list of metrics for a specified set of object IDs asynchronously |
(module
(function_definition
(function_name__forward) function_name__forward
(parameters
(identifier_self) identifier_self
(identifier_x_dot_parameters) identifier_x_dot_parameters
)parameters
(block
(return_statement
(call
(identifier_forward) identifier_forward
... | Helper to calculate the forward weights. |
(module
(function_definition
(function_name_validate_rid) function_name_validate_rid
(parameters
(identifier_model) identifier_model
(identifier_rid) identifier_rid
)parameters
(block
(expression_statement
(assignment
(identifier_rid_field) identifier_rid_field
... | Ensure the resource id is proper |
(module
(function_definition
(function_name_reference_index) function_name_reference_index
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(attribute
(identifier_self) identifier_self
(identifier__db_location) identifier__db_locati... | Absolute path to the BWA index for EricScript reference data. |
(module
(function_definition
(function_name__get_string) function_name__get_string
(parameters
(identifier_data) identifier_data
(identifier_position) identifier_position
(identifier_obj_end) identifier_obj_end
(identifier_dummy) identifier_dummy
)parameters
(block
(expre... | Decode a BSON string to python unicode string. |
(module
(function_definition
(function_name_prepare_shell_data) function_name_prepare_shell_data
(parameters
(identifier_self) identifier_self
(identifier_shells) identifier_shells
(identifier_key) identifier_key
(identifier_entry) identifier_entry
)parameters
(block
(if_... | Prepare one shell or docker task. |
(module
(function_definition
(function_name__init_logging) function_name__init_logging
(parameters
(identifier_anteater_log) identifier_anteater_log
)parameters
(block
(expression_statement
(call
(attribute
(identifier_LOG) identifier_LOG
(identifi... | Setup root logger for package |
(module
(function_definition
(function_name_intervalSimulate) function_name_intervalSimulate
(parameters
(identifier_interval) identifier_interval
)parameters
(block
(import_from_statement
(relative_import
(import_prefix
)import_prefix
)relative_import
... | Sequence of commands to simulate network |
(module
(function_definition
(function_name_MakeDestinationKey) function_name_MakeDestinationKey
(parameters
(identifier_directory) identifier_directory
(identifier_filename) identifier_filename
)parameters
(block
(return_statement
(call
(attribute
(call... | Creates a name that identifies a database file. |
(module
(function_definition
(function_name_send_email) function_name_send_email
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(call
(attribute
(identifier_self) identifier_self
(identifier_check_user_settings) iden... | send email notification according to user settings |
(module
(function_definition
(function_name_retry_mkstemp) function_name_retry_mkstemp
(parameters
(default_parameter
(identifier_suffix) identifier_suffix
(string_'') string_''
)default_parameter
(default_parameter
(identifier_prefix) identifier_prefix
(strin... | Make mkstemp more robust against AFS glitches. |
(module
(function_definition
(function_name__GetDiscoveryDocFromFlags) function_name__GetDiscoveryDocFromFlags
(parameters
(identifier_args) identifier_args
)parameters
(block
(if_statement
(attribute
(identifier_args) identifier_args
(identifier_discovery_url) ... | Get the discovery doc from flags. |
(module
(function_definition
(function_name_create_proxy_model) function_name_create_proxy_model
(parameters
(identifier_name) identifier_name
(identifier_model_mixins) identifier_model_mixins
(identifier_base_model) identifier_base_model
(default_parameter
(identifier_attrs) i... | Create a Django Proxy Model on the fly, to be used by any Cascade Plugin. |
(module
(function_definition
(function_name_reorder) function_name_reorder
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_single_column) identifier_single_column
(False) False
)default_parameter
)parameters
(block
(if_statement
... | Force a reorder of the displayed items |
(module
(function_definition
(function_name_generate_data_with_shared_vocab) function_name_generate_data_with_shared_vocab
(parameters
(identifier_self) identifier_self
(identifier_data_dir) identifier_data_dir
(identifier_tmp_dir) identifier_tmp_dir
(default_parameter
(identif... | Generates TF-Records for problems using a global vocabulary file. |
(module
(function_definition
(function_name_git_check) function_name_git_check
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_git_status) identifier_git_status
(call
(attribute
(identifier_subprocess) identifier_... | Check for uncomitted changes |
(module
(function_definition
(function_name_add_parameter) function_name_add_parameter
(parameters
(identifier_self) identifier_self
(identifier_parameter) identifier_parameter
)parameters
(block
(if_statement
(comparison_operator
(call
(attribute
... | Adds the specified parameter value to the list. |
(module
(function_definition
(function_name_create_project_config_path) function_name_create_project_config_path
(parameters
(identifier_path) identifier_path
(default_parameter
(identifier_mode) identifier_mode
(integer_0o777) integer_0o777
)default_parameter
(default_... | Create new project configuration folder. |
(module
(function_definition
(function_name__getText) function_name__getText
(parameters
(identifier_nodelist) identifier_nodelist
)parameters
(block
(expression_statement
(assignment
(identifier_rc) identifier_rc
(list
)list
)assignment
... | Simple function to return value from XML |
(module
(function_definition
(function_name_from_environ) function_name_from_environ
(parameters
(identifier_cls) identifier_cls
(default_parameter
(identifier_environ) identifier_environ
(attribute
(identifier_os) identifier_os
(identifier_environ) identifier_e... | Constructs a _PipelineContext from the task queue environment. |
(module
(function_definition
(function_name_range) function_name_range
(parameters
(identifier_self) identifier_self
(identifier_value) identifier_value
)parameters
(block
(expression_statement
(call
(attribute
(attribute
(identifier_self) ... | Estimates an appropriate sensitivity range. |
(module
(function_definition
(function_name_place_visual) function_name_place_visual
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_index) identifier_index
(integer_0) integer_0
)assignment
... | Places visual objects randomly until no collisions or max iterations hit. |
(module
(function_definition
(function_name_run_steps_from_string) function_name_run_steps_from_string
(parameters
(identifier_self) identifier_self
(identifier_spec) identifier_spec
(default_parameter
(identifier_language_name) identifier_language_name
(string_'en') string_'... | Called from within step definitions to run other steps. |
(module
(function_definition
(function_name_src_paths_changed) function_name_src_paths_changed
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_diff_dict) identifier_diff_dict
(call
(attri... | See base class docstring. |
(module
(function_definition
(function_name_run) function_name_run
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_arg_prospector) identifier_arg_prospector
(string_f'prospector --output-format json ... | Runs prospector in the input files and returns a json with the analysis |
(module
(function_definition
(function_name_rename_tab_uuid) function_name_rename_tab_uuid
(parameters
(identifier_self) identifier_self
(identifier_term_uuid) identifier_term_uuid
(identifier_new_text) identifier_new_text
(default_parameter
(identifier_user_set) identifier_use... | Rename an already added tab by its UUID |
(module
(function_definition
(function_name__merge) function_name__merge
(parameters
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
)parameters
(block
(return_statement
(call
(attribute
(identifier_re) identifier_re
... | Create a composite pattern and compile it. |
(module
(function_definition
(function_name_close) function_name_close
(parameters
(identifier_self) identifier_self
(typed_parameter
(identifier_nonce) identifier_nonce
(type
(identifier_Nonce) identifier_Nonce
)type
)typed_parameter
(typed_parameter
... | Closes the channel using the provided balance proof. |
(module
(function_definition
(function_name_to_timezone) function_name_to_timezone
(parameters
(identifier_dt) identifier_dt
(default_parameter
(identifier_tzinfo) identifier_tzinfo
(None) None
)default_parameter
)parameters
(block
(if_statement
(not_ope... | Convert a datetime to timezone |
(module
(function_definition
(function_name_age) function_name_age
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_aff4_type) identifier_aff4_type
(call
(attribute
(identifi... | RDFDatetime at which the object was created. |
(module
(function_definition
(function_name_startLoading) function_name_startLoading
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(call
(attribute
(call
(identifier_super) identifier_super
(argument... | Starts loading this item for the batch. |
(module
(function_definition
(function_name_check_permission) function_name_check_permission
(parameters
(identifier_cls) identifier_cls
(identifier_role) identifier_role
(identifier_permission) identifier_permission
)parameters
(block
(expression_statement
(assignment
... | Check if role contains permission |
(module
(function_definition
(function_name__fetch_partition_info) function_name__fetch_partition_info
(parameters
(identifier_self) identifier_self
(identifier_topic_id) identifier_topic_id
(identifier_partition_id) identifier_partition_id
)parameters
(block
(expression_statem... | Fetch partition info for given topic-partition. |
(module
(function_definition
(function_name_update) function_name_update
(parameters
(identifier_self) identifier_self
(identifier_dt) identifier_dt
)parameters
(block
(expression_statement
(assignment
(identifier_method) identifier_method
(string_"update"... | Advance the module with timestep dt |
(module
(function_definition
(function_name_gen_sentences) function_name_gen_sentences
(parameters
(identifier_self) identifier_self
(identifier_tokens) identifier_tokens
(default_parameter
(identifier_aliases) identifier_aliases
(None) None
)default_parameter
)para... | Generate a sequence of sentences from stream of tokens. |
(module
(function_definition
(function_name_cancel) function_name_cancel
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(call
(attribute
(attribute
(identifier_self) identifier_self
(identifie... | Stop the timer without executing the callback. |
(module
(function_definition
(function_name_getOffset) function_name_getOffset
(parameters
(identifier_self) identifier_self
(identifier_loc) identifier_loc
)parameters
(block
(return_statement
(call
(identifier_Location) identifier_Location
(argument_list... | Returns the offset between the given point and this point |
(module
(function_definition
(function_name_wait_for_running) function_name_wait_for_running
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(attribute
(identifier_self) identifier_self
(identifier... | Waits for found servers to be operational |
(module
(function_definition
(function_name__is_sort_order_unique_together_with_something) function_name__is_sort_order_unique_together_with_something
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_unique_tog... | Is the sort_order field unique_together with something |
(module
(function_definition
(function_name_count_delayed_jobs) function_name_count_delayed_jobs
(parameters
(identifier_cls) identifier_cls
(identifier_names) identifier_names
)parameters
(block
(return_statement
(call
(identifier_sum) identifier_sum
(arg... | Return the number of all delayed jobs in queues with the given names |
(module
(function_definition
(function_name_wasSolvedBy) function_name_wasSolvedBy
(parameters
(identifier_self) identifier_self
(identifier_user) identifier_user
)parameters
(block
(expression_statement
(assignment
(identifier_thisExercise) identifier_thisExercise
... | Checks if this exercise has previously been solved by the user. |
(module
(function_definition
(function_name_baremetal_models) function_name_baremetal_models
(parameters
(default_parameter
(identifier_call) identifier_call
(None) None
)default_parameter
)parameters
(block
(if_statement
(comparison_operator
(identi... | Return a dict of all available baremetal models with relevant data. |
(module
(function_definition
(function_name_warn) function_name_warn
(parameters
(identifier_self) identifier_self
(identifier_msg) identifier_msg
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(dictionary_splat_pattern
(identifier_kwarg... | Log an warning message. |
(module
(function_definition
(function_name_download) function_name_download
(parameters
(identifier_input) identifier_input
(identifier_filename) identifier_filename
(default_parameter
(identifier_format) identifier_format
(string_'sdf') string_'sdf'
)default_parameter... | Resolve and download structure as a file |
(module
(function_definition
(function_name_requires) function_name_requires
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_extras) identifier_extras
(tuple
)tuple
)default_parameter
)parameters
(block
(expression_statement
... | List of Requirements needed for this distro if `extras` are used |
(module
(function_definition
(function_name_ConvertSupportedOSToConditions) function_name_ConvertSupportedOSToConditions
(parameters
(identifier_src_object) identifier_src_object
)parameters
(block
(if_statement
(attribute
(identifier_src_object) identifier_src_object
... | Turn supported_os into a condition. |
(module
(function_definition
(function_name_select) function_name_select
(parameters
(identifier_features) identifier_features
(identifier_properties) identifier_properties
)parameters
(block
(assert_statement
(call
(identifier_is_iterable_typed) identifier_is_itera... | Selects properties which correspond to any of the given features. |
(module
(function_definition
(function_name_with_descriptor) function_name_with_descriptor
(parameters
(identifier_self) identifier_self
(identifier_descriptor) identifier_descriptor
)parameters
(block
(expression_statement
(assignment
(identifier_res) identifier_re... | Returns any entities with the specified descriptor |
(module
(function_definition
(function_name__get_s3_key) function_name__get_s3_key
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_key) identifier_key
(conditional_expression
(subscript
(identifier___opts__) ident... | Get AWS keys from pillar or config |
(module
(function_definition
(function_name_email) function_name_email
(parameters
(identifier_self) identifier_self
(identifier_email) identifier_email
)parameters
(block
(if_statement
(comparison_operator
(identifier_email) identifier_email
(attribute
... | Set email and generate confirmation |
(module
(function_definition
(function_name_max_insertion) function_name_max_insertion
(parameters
(identifier_seqs) identifier_seqs
(identifier_gene) identifier_gene
(identifier_domain) identifier_domain
)parameters
(block
(expression_statement
(assignment
(i... | length of largest insertion |
(module
(function_definition
(function_name_extract_function_metadata) function_name_extract_function_metadata
(parameters
(identifier_wrapped) identifier_wrapped
(identifier_instance) identifier_instance
(identifier_args) identifier_args
(identifier_kwargs) identifier_kwargs
(id... | Stash the `args` and `kwargs` into the metadata of the subsegment. |
(module
(function_definition
(function_name_string_to_config) function_name_string_to_config
(parameters
(identifier_s) identifier_s
)parameters
(block
(import_from_statement
(relative_import
(import_prefix
)import_prefix
(dotted_name
(iden... | s is a comma-separated list of stores. |
(module
(function_definition
(function_name_assert_valid_arguments) function_name_assert_valid_arguments
(parameters
(identifier_func) identifier_func
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(dictionary_splat_pattern
(identifier_kwargs)... | Validate provided arguments against a function's argspec. |
(module
(function_definition
(function_name_check_value) function_name_check_value
(parameters
(identifier_self) identifier_self
(identifier_value) identifier_value
)parameters
(block
(if_statement
(boolean_operator
(identifier_value) identifier_value
(att... | Check the validity of a value for the field. |
(module
(function_definition
(function_name_stem_word) function_name_stem_word
(parameters
(identifier_self) identifier_self
(identifier_word) identifier_word
)parameters
(block
(if_statement
(call
(attribute
(identifier_self) identifier_self
... | Stem a word to its common stem form. |
(module
(function_definition
(function_name_flatten_dict_vals) function_name_flatten_dict_vals
(parameters
(identifier_dict_) identifier_dict_
)parameters
(block
(if_statement
(call
(identifier_isinstance) identifier_isinstance
(argument_list
(identi... | Flattens only values in a heirarchical dictionary, keys are nested. |
(module
(function_definition
(function_name_to_snake_case) function_name_to_snake_case
(parameters
(identifier_camel_case) identifier_camel_case
)parameters
(block
(if_statement
(not_operator
(call
(attribute
(identifier_re) identifier_re
... | Returns a CamelCase string as a snake_case string. |
(module
(function_definition
(function_name_save_translations) function_name_save_translations
(parameters
(identifier_self) identifier_self
(identifier_instance) identifier_instance
(identifier_translated_data) identifier_translated_data
)parameters
(block
(for_statement
... | Save translation data into translation objects. |
(module
(function_definition
(function_name_release_scheme) function_name_release_scheme
(parameters
(identifier_self) identifier_self
(identifier_value) identifier_value
)parameters
(block
(if_statement
(comparison_operator
(identifier_value) identifier_value
... | Validate the release scheme. |
(module
(function_definition
(function_name__get_mean) function_name__get_mean
(parameters
(identifier_self) identifier_self
(identifier_vs30) identifier_vs30
(identifier_mag) identifier_mag
(identifier_rrup) identifier_rrup
(identifier_imt) identifier_imt
(identifier_scale... | Compute and return mean |
(module
(function_definition
(function_name_create_basic_app) function_name_create_basic_app
(parameters
(identifier_cls) identifier_cls
(default_parameter
(identifier_bundles) identifier_bundles
(None) None
)default_parameter
(default_parameter
(identifier__con... | Creates a "fake" app for use while developing |
(module
(function_definition
(function_name_build_eir) function_name_build_eir
(parameters
(identifier_self) identifier_self
)parameters
(block
(return_statement
(binary_operator
(attribute
(identifier_LowEnergyBeaconHelper) identifier_LowEnergyBeaconHelper
... | Builds a list of EIR messages to wrap this frame. |
(module
(function_definition
(function_name_GenomicRangeFromString) function_name_GenomicRangeFromString
(parameters
(identifier_range_string) identifier_range_string
(default_parameter
(identifier_payload) identifier_payload
(None) None
)default_parameter
(default_para... | Constructor for a GenomicRange object that takes a string |
(module
(function_definition
(function_name__clear_cache_synthesizer) function_name__clear_cache_synthesizer
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(call
(attribute
(identifier_self) identifier_self
(... | Clear the cache of the synthesizer |
(module
(function_definition
(function_name_populate_token_attributes) function_name_populate_token_attributes
(parameters
(identifier_self) identifier_self
(identifier_response) identifier_response
)parameters
(block
(if_statement
(comparison_operator
(string_'acce... | Add attributes from a token exchange response to self. |
(module
(function_definition
(function_name__get_first_last) function_name__get_first_last
(parameters
(identifier_details) identifier_details
)parameters
(block
(if_statement
(boolean_operator
(comparison_operator
(string_"first_name") string_"first_name"
... | Gets a user's first and last name from details. |
(module
(function_definition
(function_name_run_loop) function_name_run_loop
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(attribute
(attribute
(identifier_self) identifier_self
... | Main entry point for running in interactive mode. |
(module
(function_definition
(function_name__get_template) function_name__get_template
(parameters
(identifier_settings) identifier_settings
)parameters
(block
(expression_statement
(call
(identifier_puts) identifier_puts
(argument_list
(string_"\nPi... | Prompt user to pick template from a list. |
(module
(function_definition
(function_name_isMasterDegraded) function_name_isMasterDegraded
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(attribute
(identifier_self) identifier_self
(identifier_acc_monitor) identifier_acc_monit... | Return whether the master instance is slow. |
(module
(function_definition
(function_name__locked) function_name__locked
(parameters
(identifier_func) identifier_func
)parameters
(block
(function_definition
(function_name__locking) function_name__locking
(parameters
(identifier_self) identifier_self
... | ! Decorator to automatically lock an AccessPort method. |
(module
(function_definition
(function_name__target_load) function_name__target_load
(parameters
(identifier_self) identifier_self
(identifier_load) identifier_load
)parameters
(block
(expression_statement
(assignment
(identifier_mp_call) identifier_mp_call
... | Verify that the publication is valid and applies to this minion |
(module
(function_definition
(function_name_queue_call) function_name_queue_call
(parameters
(identifier_self) identifier_self
(identifier_delay) identifier_delay
(identifier_callback) identifier_callback
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_p... | Schedule a function call at a specific time in the future. |
(module
(function_definition
(function_name_run) function_name_run
(parameters
(identifier_self) identifier_self
)parameters
(block
(try_statement
(block
(expression_statement
(assignment
(identifier_transcript) identifier_transcript
... | Initialise the runner function with the passed args, kwargs |
(module
(function_definition
(function_name_np_counts) function_name_np_counts
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_counts) identifier_counts
(call
(identifier_defaultdict) ide... | Dictionary of noun phrase frequencies in this text. |
(module
(function_definition
(function_name_acquire_auth_token_ticket) function_name_acquire_auth_token_ticket
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_headers) identifier_headers
(None) None
)default_parameter
)parameters
(block
... | Acquire an auth token from the CAS server. |
(module
(function_definition
(function_name_unit_tangent) function_name_unit_tangent
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_t) identifier_t
(None) None
)default_parameter
)parameters
(block
(assert_statement
(compari... | returns the unit tangent of the segment at t. |
(module
(function_definition
(function_name_unzip_file) function_name_unzip_file
(parameters
(identifier_zip_fname) identifier_zip_fname
)parameters
(block
(expression_statement
(call
(identifier_print) identifier_print
(argument_list
(call
... | Unzip the zip_fname in the current directory. |
(module
(function_definition
(function_name_digit_to_query_time) function_name_digit_to_query_time
(parameters
(typed_parameter
(identifier_digit) identifier_digit
(type
(identifier_str) identifier_str
)type
)typed_parameter
)parameters
(type
(generi... | Given a digit in the utterance, return a list of the times that it corresponds to. |
(module
(function_definition
(function_name_as_dict) function_name_as_dict
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_d) identifier_d
(call
(attribute
(identifier_MSONa... | Returns dict representations of Xmu object |
(module
(function_definition
(function_name_truncate) function_name_truncate
(parameters
(identifier_self) identifier_self
(identifier_path) identifier_path
(identifier_length) identifier_length
(default_parameter
(identifier_fh) identifier_fh
(None) None
)default... | Download existing path, truncate and reupload |
(module
(function_definition
(function_name_create_zip) function_name_create_zip
(parameters
(identifier_archive) identifier_archive
(identifier_compression) identifier_compression
(identifier_cmd) identifier_cmd
(identifier_verbosity) identifier_verbosity
(identifier_interactive... | Create a ZIP archive with the zipfile Python module. |
(module
(function_definition
(function_name_crypto_key_path_path) function_name_crypto_key_path_path
(parameters
(identifier_cls) identifier_cls
(identifier_project) identifier_project
(identifier_location) identifier_location
(identifier_key_ring) identifier_key_ring
(identifier... | Return a fully-qualified crypto_key_path string. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.