sequence stringlengths 731 13.6k | docstring stringlengths 11 171 |
|---|---|
(module
(function_definition
(function_name_spin_sz) function_name_spin_sz
(parameters
(identifier_self) identifier_self
)parameters
(block
(return_statement
(call
(attribute
(identifier_conversions) identifier_conversions
(identifier_secondary_spi... | Returns the z-component of the spin of the secondary mass. |
(module
(function_definition
(function_name_find_model) function_name_find_model
(parameters
(identifier_sender) identifier_sender
(identifier_model_name) identifier_model_name
)parameters
(block
(expression_statement
(assignment
(identifier_MC) identifier_MC
... | Register new model to ORM |
(module
(function_definition
(function_name_phi_from_spinx_spiny) function_name_phi_from_spinx_spiny
(parameters
(identifier_spinx) identifier_spinx
(identifier_spiny) identifier_spiny
)parameters
(block
(expression_statement
(assignment
(identifier_phi) identifier_... | Returns the angle between the x-component axis and the in-plane spin. |
(module
(function_definition
(function_name_available) function_name_available
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_proc) identifier_proc
(call
(identifier_popen_multiple) identifier_popen_multiple
(argum... | Detect if the FFmpeg backend can be used on this system. |
(module
(function_definition
(function_name_makeMany2ManyRelatedManager) function_name_makeMany2ManyRelatedManager
(parameters
(identifier_formodel) identifier_formodel
(identifier_name_relmodel) identifier_name_relmodel
(identifier_name_formodel) identifier_name_formodel
)parameters
... | formodel is the model which the manager . |
(module
(function_definition
(function_name_serial_number) function_name_serial_number
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_sdata) identifier_sdata
(dictionary
)dictionary
)assignment
)expression_statemen... | Get the serial number. Requires root access |
(module
(function_definition
(function_name_biopax_process_pc_pathsbetween) function_name_biopax_process_pc_pathsbetween
(parameters
)parameters
(block
(if_statement
(comparison_operator
(attribute
(identifier_request) identifier_request
(identifier_meth... | Process PathwayCommons paths between genes, return INDRA Statements. |
(module
(function_definition
(function_name__update_nonce_explicit) function_name__update_nonce_explicit
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_ne) identifier_ne
(binary_operator
... | Increment the explicit nonce while avoiding any overflow. |
(module
(function_definition
(function_name_armed) function_name_armed
(parameters
(identifier_HEARTBEAT) identifier_HEARTBEAT
)parameters
(block
(import_from_statement
(relative_import
(import_prefix
)import_prefix
)relative_import
(dotted_name
... | return 1 if armed, 0 if not |
(module
(function_definition
(function_name_remove_property) function_name_remove_property
(parameters
(identifier_xml_root) identifier_xml_root
(identifier_partial_name) identifier_partial_name
)parameters
(block
(if_statement
(comparison_operator
(attribute
... | Removes properties if exist. |
(module
(function_definition
(function_name_trigger) function_name_trigger
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(call
(attribute
(identifier_self) identifier_self
(identifier_call_back) identifier_c... | calls the call_back function. interrupts the timer to start a new countdown |
(module
(function_definition
(function_name_find) function_name_find
(parameters
(identifier_self) identifier_self
(identifier_node) identifier_node
(identifier_interval) identifier_interval
(identifier_start) identifier_start
(identifier_end) identifier_end
)parameters
(... | recursively finds ids within a range |
(module
(function_definition
(function_name_flatten_all_but_last) function_name_flatten_all_but_last
(parameters
(identifier_a) identifier_a
)parameters
(block
(expression_statement
(assignment
(identifier_ret) identifier_ret
(call
(attribute
... | Flatten all dimensions of a except the last. |
(module
(function_definition
(function_name_calculate_descriptors) function_name_calculate_descriptors
(parameters
(identifier_self) identifier_self
(identifier_mol) identifier_mol
)parameters
(block
(expression_statement
(assignment
(attribute
(identifi... | Calculates descriptors such as logP, charges and MR and saves that in a dictionary. |
(module
(function_definition
(function_name_contains) function_name_contains
(parameters
(identifier_self) identifier_self
(identifier_other) identifier_other
)parameters
(block
(return_statement
(parenthesized_expression
(boolean_operator
(boolean_opera... | Return true if the given shape is inside this rectangle. |
(module
(function_definition
(function_name_updateNetwork) function_name_updateNetwork
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_dhcp) identifier_dhcp
(string_'dhcp') string_'dhcp'
)default_parameter
(default_parameter
(identif... | Change the current network settings. |
(module
(function_definition
(function_name_apply_defaults) function_name_apply_defaults
(parameters
(identifier_self) identifier_self
(identifier_row) identifier_row
(identifier_tables_dict) identifier_tables_dict
)parameters
(block
(expression_statement
(string_"apply... | apply defaults to missing cols for a row that's being inserted |
(module
(function_definition
(function_name_getProperty) function_name_getProperty
(parameters
(identifier_self) identifier_self
(identifier_key) identifier_key
(default_parameter
(identifier_strip) identifier_strip
(True) True
)default_parameter
)parameters
(bl... | Gets the property value for key |
(module
(function_definition
(function_name_update_group_memory) function_name_update_group_memory
(parameters
(identifier_self) identifier_self
(identifier_memory_id) identifier_memory_id
(identifier_mode) identifier_mode
(identifier_name) identifier_name
(identifier_slaves) ide... | Update existing memory? Can be used to create new ones, too? |
(module
(function_definition
(function_name_remove) function_name_remove
(parameters
(identifier_self) identifier_self
(identifier_resource) identifier_resource
)parameters
(block
(if_statement
(call
(identifier_isinstance) identifier_isinstance
(argument_... | Removes a resource from the context |
(module
(function_definition
(function_name_next_address_avoid_collision) function_name_next_address_avoid_collision
(parameters
(identifier_self) identifier_self
(identifier_start_addr) identifier_start_addr
)parameters
(block
(expression_statement
(assignment
(ide... | Finds the next address recursively which does not collide with any other address |
(module
(function_definition
(function_name_finish) function_name_finish
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(call
(attribute
(identifier_log) identifier_log
(identifier_debug) identifier_debug
... | Clean up the JLigier controlhost connection |
(module
(function_definition
(function_name_add_graph) function_name_add_graph
(parameters
(identifier_patterns) identifier_patterns
(identifier_G) identifier_G
)parameters
(block
(if_statement
(not_operator
(identifier_patterns) identifier_patterns
)not_ope... | Add a graph to a set of unique patterns. |
(module
(function_definition
(function_name_bincount) function_name_bincount
(parameters
(identifier_dig) identifier_dig
(identifier_weight) identifier_weight
(identifier_minlength) identifier_minlength
)parameters
(block
(if_statement
(call
(attribute
... | bincount supporting scalar and vector weight |
(module
(function_definition
(function_name_should_checkpoint) function_name_should_checkpoint
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_result) identifier_result
(boolean_operator
... | Whether this trial is due for checkpointing. |
(module
(function_definition
(function_name_json_dump_hook) function_name_json_dump_hook
(parameters
(identifier_cfg) identifier_cfg
(typed_default_parameter
(identifier_text) identifier_text
(type
(identifier_bool) identifier_bool
)type
(False) False
... | Dumps all the data into a JSON file. |
(module
(function_definition
(function_name__index_item) function_name__index_item
(parameters
(identifier_self) identifier_self
(identifier_uri) identifier_uri
(identifier_num) identifier_num
(identifier_batch_num) identifier_batch_num
)parameters
(block
(expression_stat... | queries the triplestore for an item sends it to elasticsearch |
(module
(function_definition
(function_name_show) function_name_show
(parameters
(identifier_self) identifier_self
(typed_default_parameter
(identifier_ax) identifier_ax
(type
(attribute
(identifier_plt) identifier_plt
(identifier_Axes) identifier_... | Show image on `ax` with `title`, using `cmap` if single-channel, overlaid with optional `y` |
(module
(function_definition
(function_name_document_root_path) function_name_document_root_path
(parameters
(identifier_cls) identifier_cls
(identifier_project) identifier_project
(identifier_database) identifier_database
)parameters
(block
(return_statement
(call
... | Return a fully-qualified document_root string. |
(module
(function_definition
(function_name__get_id2gos) function_name__get_id2gos
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_kws) identifier_kws
(dictionary
)dictionary
)assig... | Return annotations as id2gos |
(module
(function_definition
(function_name_hicexplorer_create_plot) function_name_hicexplorer_create_plot
(parameters
(identifier_self) identifier_self
(identifier_pKeyList) identifier_pKeyList
(identifier_pTitle) identifier_pTitle
(identifier_pId) identifier_pId
)parameters
(... | Create the graphics containing information about the read quality. |
(module
(function_definition
(function_name_wifi_status) function_name_wifi_status
(parameters
(identifier_self) identifier_self
)parameters
(block
(return_statement
(call
(attribute
(call
(attribute
(attribute
(... | Get the wifi status. |
(module
(function_definition
(function_name_addDocEntity) function_name_addDocEntity
(parameters
(identifier_self) identifier_self
(identifier_name) identifier_name
(identifier_type) identifier_type
(identifier_ExternalID) identifier_ExternalID
(identifier_SystemID) identifier_Sy... | Register a new entity for this document. |
(module
(function_definition
(function_name_prompt) function_name_prompt
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_name) identifier_name
(call
(attribute
(attribute
... | Open a prompt to navigate to a different subreddit or comment" |
(module
(function_definition
(function_name__call_brew) function_name__call_brew
(parameters
(identifier_cmd) identifier_cmd
(default_parameter
(identifier_failhard) identifier_failhard
(True) True
)default_parameter
)parameters
(block
(expression_statement
... | Calls the brew command with the user account of brew |
(module
(function_definition
(function_name_synchronous) function_name_synchronous
(parameters
(identifier_function) identifier_function
(identifier_event) identifier_event
)parameters
(block
(try_statement
(block
(expression_statement
(call
... | Runs the function synchronously taking care of exceptions. |
(module
(function_definition
(function_name__validate_user) function_name__validate_user
(parameters
(identifier_self) identifier_self
(identifier_user) identifier_user
)parameters
(block
(if_statement
(attribute
(identifier_self) identifier_self
(identifi... | Validate a User instance against allowed user IDs or membership in a group |
(module
(function_definition
(function_name__clearQuantity) function_name__clearQuantity
(parameters
(identifier_self) identifier_self
(identifier_offbids) identifier_offbids
(identifier_gen) identifier_gen
)parameters
(block
(expression_statement
(assignment
... | Computes the cleared bid quantity from total dispatched quantity. |
(module
(function_definition
(function_name_verts_in_common) function_name_verts_in_common
(parameters
(identifier_self) identifier_self
(identifier_segments) identifier_segments
)parameters
(block
(expression_statement
(assignment
(identifier_verts_by_segm) identif... | returns array of all vertex indices common to each segment in segments |
(module
(function_definition
(function_name_getJobIDsForResultsFile) function_name_getJobIDsForResultsFile
(parameters
(identifier_self) identifier_self
(identifier_resultsFile) identifier_resultsFile
)parameters
(block
(expression_statement
(assignment
(identifier_... | Get all queued and running jobs for a results file. |
(module
(function_definition
(function_name_centroid) function_name_centroid
(parameters
(identifier_data) identifier_data
(default_parameter
(identifier_method) identifier_method
(identifier_median) identifier_median
)default_parameter
)parameters
(block
(expre... | returns the central vector of a list of vectors |
(module
(function_definition
(function_name_funding_info) function_name_funding_info
(parameters
(identifier_self) identifier_self
(identifier_key) identifier_key
(identifier_value) identifier_value
)parameters
(block
(return_statement
(dictionary
(pair
... | Populate the ``funding_info`` key. |
(module
(function_definition
(function_name_setFigForm) function_name_setFigForm
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_fig_width_pt) identifier_fig_width_pt
(binary_operator
(float_245.26) float_245.26
(in... | set the rcparams to EmulateApJ columnwidth=245.26 pts |
(module
(function_definition
(function_name_default_config_file) function_name_default_config_file
(parameters
(identifier_self) identifier_self
)parameters
(block
(import_statement
(aliased_import
(dotted_name
(identifier_os) identifier_os
(identi... | default config file living in PyEMMA package |
(module
(function_definition
(function_name__cnn_tranch_filtering) function_name__cnn_tranch_filtering
(parameters
(identifier_in_file) identifier_in_file
(identifier_vrn_files) identifier_vrn_files
(identifier_tensor_type) identifier_tensor_type
(identifier_data) identifier_data
)... | Filter CNN scored VCFs in tranches using standard SNP and Indel truth sets. |
(module
(function_definition
(function_name__wrap_universe) function_name__wrap_universe
(parameters
(identifier_self) identifier_self
(identifier_func) identifier_func
)parameters
(block
(decorated_definition
(decorator
(call
(identifier_wraps) identifi... | Take a function that needs a universe graph as the first argument and returns a wrapped one. |
(module
(function_definition
(function_name_optional_else) function_name_optional_else
(parameters
(identifier_self) identifier_self
(identifier_node) identifier_node
(identifier_last) identifier_last
)parameters
(block
(if_statement
(attribute
(identifier_nod... | Create op_pos for optional else |
(module
(function_definition
(function_name_put_file) function_name_put_file
(parameters
(identifier_self) identifier_self
(identifier_in_path) identifier_in_path
(identifier_out_path) identifier_out_path
)parameters
(block
(expression_statement
(call
(identif... | transfer a file from local to local |
(module
(function_definition
(function_name_create_attributes) function_name_create_attributes
(parameters
(identifier_klass) identifier_klass
(identifier_attributes) identifier_attributes
(default_parameter
(identifier_previous_object) identifier_previous_object
(None) None
... | Attributes for space creation. |
(module
(function_definition
(function_name__get_xml) function_name__get_xml
(parameters
(identifier_self) identifier_self
(identifier_metric) identifier_metric
)parameters
(block
(expression_statement
(assignment
(attribute
(identifier_self) identifier_... | Returns the channel element of the RSS feed |
(module
(function_definition
(function_name_run) function_name_run
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_new_mins) identifier_new_mins
(call
(identifier_list) identifier_list
... | Gather currently connected minions and update the cache |
(module
(function_definition
(function_name_validate_pai_trial_conifg) function_name_validate_pai_trial_conifg
(parameters
(identifier_experiment_config) identifier_experiment_config
)parameters
(block
(if_statement
(comparison_operator
(call
(attribute
... | validate the trial config in pai platform |
(module
(function_definition
(function_name_list_accounts) function_name_list_accounts
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_account) identifier_account
(subscript
(attribute
... | Lists CDN accounts for the active user. |
(module
(function_definition
(function_name_parse_sitelist) function_name_parse_sitelist
(parameters
(identifier_sitelist) identifier_sitelist
)parameters
(block
(expression_statement
(assignment
(identifier_sites) identifier_sites
(list
)list
... | Return list of Site instances from retrieved sitelist data |
(module
(function_definition
(function_name_copy_to) function_name_copy_to
(parameters
(identifier_self) identifier_self
(identifier_dest) identifier_dest
(identifier_container) identifier_container
(default_parameter
(identifier_buffering) identifier_buffering
(True) T... | Coroutine method to copy content from this stream to another stream. |
(module
(function_definition
(function_name_upload_large_items) function_name_upload_large_items
(parameters
(identifier_self) identifier_self
)parameters
(block
(for_statement
(pattern_list
(identifier_local_file) identifier_local_file
(identifier_parent) ident... | Upload files that were too large. |
(module
(function_definition
(function_name_make_input_fn_from_generator) function_name_make_input_fn_from_generator
(parameters
(identifier_gen) identifier_gen
)parameters
(block
(expression_statement
(assignment
(identifier_first_ex) identifier_first_ex
(call
... | Use py_func to yield elements from the given generator. |
(module
(function_definition
(function_name_restore_descriptor) function_name_restore_descriptor
(parameters
(identifier_self) identifier_self
(identifier_dataframe) identifier_dataframe
)parameters
(block
(expression_statement
(assignment
(identifier_fields) identi... | Restore descriptor from Pandas |
(module
(function_definition
(function_name_as_urlpatterns) function_name_as_urlpatterns
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_urls) identifier_urls
(list
)list
)assignmen... | Creates the appropriate URLs for this object. |
(module
(function_definition
(function_name_entropy_difference) function_name_entropy_difference
(parameters
(identifier_d1) identifier_d1
(identifier_d2) identifier_d2
)parameters
(block
(expression_statement
(assignment
(pattern_list
(identifier_d1) id... | Return the difference in entropy between two distributions. |
(module
(function_definition
(function_name_ensure_dir_exists) function_name_ensure_dir_exists
(parameters
(identifier_path) identifier_path
)parameters
(block
(import_statement
(dotted_name
(identifier_os) identifier_os
)dotted_name
)import_statement
... | Given a file, ensure that the path to the file exists |
(module
(function_definition
(function_name_cut_blockquote) function_name_cut_blockquote
(parameters
(identifier_html_message) identifier_html_message
)parameters
(block
(expression_statement
(assignment
(identifier_quote) identifier_quote
(call
(att... | Cuts the last non-nested blockquote with wrapping elements. |
(module
(function_definition
(function_name_to_array) function_name_to_array
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_dt) identifier_dt
(call
(attribute
(identifier_n... | Convert the table to a structured NumPy array. |
(module
(function_definition
(function_name_add_extras) function_name_add_extras
(parameters
(identifier_self) identifier_self
(identifier_dict) identifier_dict
(identifier_level) identifier_level
)parameters
(block
(expression_statement
(assignment
(identifie... | Adds the log level to the dict object |
(module
(function_definition
(function_name_extract_descriptor) function_name_extract_descriptor
(parameters
(identifier_self) identifier_self
(identifier_obj) identifier_obj
)parameters
(block
(expression_statement
(assignment
(identifier_descriptor) identifier_des... | Extract data from the descriptor. |
(module
(function_definition
(function_name___skullbomb_radius) function_name___skullbomb_radius
(parameters
(identifier_self) identifier_self
(identifier_position) identifier_position
)parameters
(block
(expression_statement
(assignment
(pattern_list
(i... | Generate all valid positions in the square around position. |
(module
(function_definition
(function_name_record_schemas) function_name_record_schemas
(parameters
(identifier_fn) identifier_fn
(identifier_wrapper) identifier_wrapper
(identifier_location) identifier_location
(default_parameter
(identifier_request_schema) identifier_request... | Support extracting the schema from the decorated function. |
(module
(function_definition
(function_name__validate_angles) function_name__validate_angles
(parameters
(identifier_self) identifier_self
(identifier_angles) identifier_angles
)parameters
(block
(expression_statement
(assignment
(identifier_dataType) identifier_dat... | Ensure that the angles between the lattice_vectors are correct |
(module
(function_definition
(function_name_strip_doc_string) function_name_strip_doc_string
(parameters
(identifier_proto) identifier_proto
)parameters
(block
(assert_statement
(call
(identifier_isinstance) identifier_isinstance
(argument_list
(iden... | Empties `doc_string` field on any nested protobuf messages |
(module
(function_definition
(function_name_to_df) function_name_to_df
(parameters
(identifier_self) identifier_self
)parameters
(block
(return_statement
(call
(attribute
(identifier_pd) identifier_pd
(identifier_DataFrame) identifier_DataFrame
... | Convert dict structure into Pandas DataFrame. |
(module
(function_definition
(function_name_constant_outfile_iterator) function_name_constant_outfile_iterator
(parameters
(identifier_outfiles) identifier_outfiles
(identifier_infiles) identifier_infiles
(identifier_arggroups) identifier_arggroups
)parameters
(block
(assert_st... | Iterate over all output files. |
(module
(function_definition
(function_name_user) function_name_user
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_username) identifier_username
(None) None
)default_parameter
)parameters
(block
(if_statement
(comparison_op... | A user resource that represents a registered user in the portal. |
(module
(function_definition
(function_name_available_backends) function_name_available_backends
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_hub) identifier_hub
(None) None
)default_parameter
(default_parameter
(identifier_group)... | Get the backends available to use in the QX Platform |
(module
(function_definition
(function_name__prod) function_name__prod
(parameters
(identifier_group_idx) identifier_group_idx
(identifier_a) identifier_a
(identifier_size) identifier_size
(identifier_fill_value) identifier_fill_value
(default_parameter
(identifier_dtype)... | Same as aggregate_numpy.py |
(module
(function_definition
(function_name_serve_forever) function_name_serve_forever
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_poll_interval) identifier_poll_interval
(float_0.5) float_0.5
)default_parameter
)parameters
(block
... | Wait for incomming requests. |
(module
(function_definition
(function_name_statsd_metric) function_name_statsd_metric
(parameters
(identifier_name) identifier_name
(identifier_count) identifier_count
(identifier_elapsed) identifier_elapsed
)parameters
(block
(with_statement
(with_clause
(wi... | Metric that records to statsd & graphite |
(module
(function_definition
(function_name_draw) function_name_draw
(parameters
(identifier_self) identifier_self
(identifier_img) identifier_img
(identifier_pixmapper) identifier_pixmapper
(identifier_bounds) identifier_bounds
)parameters
(block
(if_statement
(c... | draw legend on the image |
(module
(function_definition
(function_name_any_auth) function_name_any_auth
(parameters
(identifier_self) identifier_self
(identifier_form) identifier_form
(identifier_auth_list) identifier_auth_list
(identifier_fun) identifier_fun
(identifier_arg) identifier_arg
(default_... | Read in the form and determine which auth check routine to execute |
(module
(function_definition
(function_name_add_stats_table) function_name_add_stats_table
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_totals) identifier_totals
(dictionary_comprehension
... | Adds stats to general table. |
(module
(function_definition
(function_name_getKeySequenceCounter) function_name_getKeySequenceCounter
(parameters
(identifier_self) identifier_self
)parameters
(block
(print_statement
(binary_operator
(string_'%s call getKeySequenceCounter') string_'%s call getKeySequenc... | get current Thread Network key sequence |
(module
(function_definition
(function_name_sc_pan) function_name_sc_pan
(parameters
(identifier_self) identifier_self
(identifier_viewer) identifier_viewer
(identifier_event) identifier_event
(default_parameter
(identifier_msg) identifier_msg
(True) True
)default... | Interactively pan the image by scrolling motion. |
(module
(function_definition
(function_name_harvest) function_name_harvest
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(comparison_operator
(call
(attribute
(identifier_self) identifier_self
(ident... | Start the harvesting process |
(module
(function_definition
(function_name_legal_node_coords) function_name_legal_node_coords
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_nodes) identifier_nodes
(call
(identifier_set) identifier_set
(argument_... | Return all legal node coordinates on the grid |
(module
(function_definition
(function_name_matrix_from_basis_coefficients) function_name_matrix_from_basis_coefficients
(parameters
(typed_parameter
(identifier_expansion) identifier_expansion
(type
(subscript
(attribute
(identifier_value) identifier_... | Computes linear combination of basis vectors with given coefficients. |
(module
(function_definition
(function_name_plot_multi) function_name_plot_multi
(parameters
(typed_parameter
(identifier_func) identifier_func
(type
(generic_type
(identifier_Callable) identifier_Callable
(type_parameter
(type
... | Call `func` for every combination of `r,c` on a subplot |
(module
(function_definition
(function_name_model_actions) function_name_model_actions
(parameters
(identifier_self) identifier_self
(identifier_model) identifier_model
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictionary_splat_pattern
)parameters
... | Stream of most recent actions by any particular model |
(module
(function_definition
(function_name_DFReader_is_text_log) function_name_DFReader_is_text_log
(parameters
(identifier_filename) identifier_filename
)parameters
(block
(expression_statement
(assignment
(identifier_f) identifier_f
(call
(identif... | return True if a file appears to be a valid text log |
(module
(function_definition
(function_name_load_module) function_name_load_module
(parameters
(identifier_filename) identifier_filename
)parameters
(block
(expression_statement
(assignment
(identifier_basename) identifier_basename
(call
(attribute
... | Loads a module by filename |
(module
(function_definition
(function_name_find_by_user) function_name_find_by_user
(parameters
(typed_parameter
(identifier_user) identifier_user
(type
(identifier_str) identifier_str
)type
)typed_parameter
)parameters
(type
(generic_type
(... | List API keys for a user. |
(module
(function_definition
(function_name_fullConn) function_name_fullConn
(parameters
(identifier_self) identifier_self
(identifier_preCellsTags) identifier_preCellsTags
(identifier_postCellsTags) identifier_postCellsTags
(identifier_connParam) identifier_connParam
)parameters
... | Generates connections between all pre and post-syn cells |
(module
(function_definition
(function_name_values) function_name_values
(parameters
(identifier_self) identifier_self
(typed_parameter
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(type
(identifier_str) identifier_str
... | Make QuerySet return dicts instead of objects. |
(module
(function_definition
(function_name_seek) function_name_seek
(parameters
(identifier_self) identifier_self
(identifier_rev) identifier_rev
)parameters
(block
(if_statement
(not_operator
(identifier_self) identifier_self
)not_operator
(block
... | Arrange the caches to help look up the given revision. |
(module
(function_definition
(function_name_delete) function_name_delete
(parameters
(identifier_self) identifier_self
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictionary_splat_pattern
)parameters
(block
(expression_statement
(assignment
... | Delete a specific alarm. |
(module
(function_definition
(function_name_remove) function_name_remove
(parameters
(identifier_self) identifier_self
(list_splat_pattern
(identifier_instances) identifier_instances
)list_splat_pattern
(default_parameter
(identifier_using_db) identifier_using_db
... | Removes one or more of ``instances`` from the relation. |
(module
(function_definition
(function_name__move_data_entries) function_name__move_data_entries
(parameters
(identifier_destination_eggdir) identifier_destination_eggdir
(identifier_dist_data) identifier_dist_data
)parameters
(block
(expression_statement
(assignment
... | Move data entries to their correct location. |
(module
(function_definition
(function_name_url_for_token) function_name_url_for_token
(parameters
(identifier_self) identifier_self
(identifier_token) identifier_token
)parameters
(block
(expression_statement
(assignment
(identifier_book_url) identifier_book_url
... | Find the full URL for a help token. |
(module
(function_definition
(function_name___getFilenameSuffix) function_name___getFilenameSuffix
(parameters
(identifier_self) identifier_self
(identifier_filename) identifier_filename
)parameters
(block
(if_statement
(boolean_operator
(identifier_filename) identi... | Gets the filename suffix |
(module
(function_definition
(function_name_hash_to_exponent) function_name_hash_to_exponent
(parameters
(identifier_self) identifier_self
(identifier_h) identifier_h
)parameters
(block
(expression_statement
(assignment
(identifier_ctr) identifier_ctr
(cal... | Converts a 32 byte hash to an exponent |
(module
(function_definition
(function_name_ast_from_class) function_name_ast_from_class
(parameters
(identifier_self) identifier_self
(identifier_klass) identifier_klass
(default_parameter
(identifier_modname) identifier_modname
(None) None
)default_parameter
)para... | get astroid for the given class |
(module
(function_definition
(function_name_alphabetize_attributes) function_name_alphabetize_attributes
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(call
(attribute
(attribute
(identifier_self) identifi... | Orders attributes names alphabetically, except for the class attribute, which is kept last. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.