sequence stringlengths 731 13.6k | docstring stringlengths 11 171 |
|---|---|
(module
(function_definition
(function_name_execute) function_name_execute
(parameters
(identifier_self) identifier_self
(identifier_fetchcommand) identifier_fetchcommand
(identifier_sql) identifier_sql
(default_parameter
(identifier_params) identifier_params
(None) Non... | where 'fetchcommand' is either 'fetchone' or 'fetchall' |
(module
(function_definition
(function_name_update) function_name_update
(parameters
)parameters
(block
(with_statement
(with_clause
(with_item
(call
(identifier_settings) identifier_settings
(argument_list
(keyword_argume... | Update virtual env with requirements packages. |
(module
(function_definition
(function_name_new) function_name_new
(parameters
(identifier_self) identifier_self
(identifier_request) identifier_request
)parameters
(block
(expression_statement
(assignment
(identifier_form) identifier_form
(call
... | Render a form to create a new object. |
(module
(function_definition
(function_name_fetch_url) function_name_fetch_url
(parameters
(identifier_url) identifier_url
(identifier_dest) identifier_dest
(identifier_parent_to_remove_before_fetch) identifier_parent_to_remove_before_fetch
)parameters
(block
(expression_statem... | Helper function to fetch a file from a URL. |
(module
(function_definition
(function_name_build) function_name_build
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_monomers) identifier_monomers
(list_comprehension
(call
... | Builds a model of a coiled coil protein using input parameters. |
(module
(function_definition
(function_name__optimize_providers) function_name__optimize_providers
(parameters
(identifier_self) identifier_self
(identifier_providers) identifier_providers
)parameters
(block
(expression_statement
(assignment
(identifier_new_provider... | Return an optimized mapping of available providers |
(module
(function_definition
(function_name_upload) function_name_upload
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_build) identifier_build
(attribute
(identifier_g) identifier_g
(identifier_build) identifier_b... | Uploads an artifact referenced by a run. |
(module
(function_definition
(function_name_vip_create_event) function_name_vip_create_event
(parameters
(identifier_self) identifier_self
(identifier_vip_info) identifier_vip_info
)parameters
(block
(expression_statement
(assignment
(identifier_vip_data) identifier... | Process vip create event. |
(module
(function_definition
(function_name__import_class) function_name__import_class
(parameters
(identifier_self) identifier_self
(identifier_module2cls) identifier_module2cls
)parameters
(block
(expression_statement
(assignment
(identifier_d) identifier_d
... | Import class by module dot split string |
(module
(function_definition
(function_name_createNetcon) function_name_createNetcon
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_thresh) identifier_thresh
(integer_10) integer_10
)default_parameter
)parameters
(block
(expression_... | created netcon to record spikes |
(module
(function_definition
(function_name_cart2spher) function_name_cart2spher
(parameters
(identifier_x) identifier_x
(identifier_y) identifier_y
(identifier_z) identifier_z
)parameters
(block
(expression_statement
(assignment
(identifier_hxy) identifier_hx... | Cartesian to Spherical coordinate conversion. |
(module
(function_definition
(function_name_iterkeys) function_name_iterkeys
(parameters
(identifier_obj) identifier_obj
)parameters
(block
(expression_statement
(string_"Get key iterator from dictionary for Python 2 and 3") string_"Get key iterator from dictionary for Python 2 and... | Get key iterator from dictionary for Python 2 and 3 |
(module
(function_definition
(function_name_invert_delete_row) function_name_invert_delete_row
(parameters
(identifier_self) identifier_self
(identifier_key) identifier_key
(identifier_value) identifier_value
)parameters
(block
(expression_statement
(assignment
... | Inverts delete_row and returns the rows where key = value |
(module
(function_definition
(function_name_excursion) function_name_excursion
(parameters
(identifier_directory) identifier_directory
)parameters
(block
(expression_statement
(assignment
(identifier_old_dir) identifier_old_dir
(call
(attribute
... | Context-manager that temporarily changes to a new working directory. |
(module
(function_definition
(function_name_countWordOverlapFrequencies) function_name_countWordOverlapFrequencies
(parameters
(default_parameter
(identifier_filename) identifier_filename
(string_"goodOverlapPairs.pkl") string_"goodOverlapPairs.pkl"
)default_parameter
)paramete... | Count how many high overlaps each word has, and print it out |
(module
(function_definition
(function_name_parse_iso8601_date) function_name_parse_iso8601_date
(parameters
(identifier_string) identifier_string
)parameters
(block
(expression_statement
(assignment
(identifier_match) identifier_match
(call
(attribu... | Parse an ISO 8601 date string |
(module
(function_definition
(function_name_management) function_name_management
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_endpoint) identifier_endpoint
(call
(attribute
... | Returns an management service client |
(module
(function_definition
(function_name_example_lab_to_xyz) function_name_example_lab_to_xyz
(parameters
)parameters
(block
(expression_statement
(call
(identifier_print) identifier_print
(argument_list
(string_"=== Simple Example: Lab->XYZ ===") strin... | This function shows a simple conversion of an Lab color to an XYZ color. |
(module
(function_definition
(function_name_path_to_reference) function_name_path_to_reference
(parameters
(identifier_path) identifier_path
)parameters
(block
(expression_statement
(assignment
(identifier_path) identifier_path
(call
(identifier_str)... | Convert an object path reference to a reference. |
(module
(function_definition
(function_name__check_prob_and_prob_vector) function_name__check_prob_and_prob_vector
(parameters
(identifier_predictions) identifier_predictions
)parameters
(block
(import_from_statement
(relative_import
(import_prefix
)import_prefi... | Check that the predictionsa are either probabilities of prob-vectors. |
(module
(function_definition
(function_name__get_mosaik_nn_args) function_name__get_mosaik_nn_args
(parameters
(identifier_out_file) identifier_out_file
)parameters
(block
(expression_statement
(assignment
(identifier_base_nn_url) identifier_base_nn_url
(string_... | Retrieve default neural network files from GitHub to pass to Mosaik. |
(module
(function_definition
(function_name__handle_ping) function_name__handle_ping
(parameters
(identifier_client) identifier_client
(identifier_topic) identifier_topic
(identifier_dct) identifier_dct
)parameters
(block
(if_statement
(comparison_operator
(su... | Internal method that will be called when receiving ping message. |
(module
(function_definition
(function_name_rand_pad) function_name_rand_pad
(parameters
(typed_parameter
(identifier_padding) identifier_padding
(type
(identifier_int) identifier_int
)type
)typed_parameter
(typed_parameter
(identifier_size) identifi... | Fixed `mode` `padding` and random crop of `size` |
(module
(function_definition
(function_name_upload_data) function_name_upload_data
(parameters
(identifier_job) identifier_job
(identifier_master_ip) identifier_master_ip
(identifier_inputs) identifier_inputs
(identifier_hdfs_name) identifier_hdfs_name
(identifier_upload_name) id... | Upload file hdfsName from hdfs to s3 |
(module
(function_definition
(function_name_object) function_name_object
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_proxy) identifier_proxy
(attribute
(identifier_self) identifier_se... | Get an ObjectProxy instanec for the underlying object. |
(module
(function_definition
(function_name_append) function_name_append
(parameters
(identifier_self) identifier_self
(typed_parameter
(identifier_item) identifier_item
(type
(identifier_TransItem) identifier_TransItem
)type
)typed_parameter
)parameters... | Append an item to the internal dictionary. |
(module
(function_definition
(function_name_calculate_dimensions) function_name_calculate_dimensions
(parameters
(identifier_image) identifier_image
(identifier_long_side) identifier_long_side
(identifier_short_side) identifier_short_side
)parameters
(block
(if_statement
... | Returns the thumbnail dimensions depending on the images format. |
(module
(function_definition
(function_name_createCenterPointMarker) function_name_createCenterPointMarker
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(call
(attribute
(attribute
(identifier_self) identi... | Creates the center pointer in the middle of the screen. |
(module
(function_definition
(function_name_cublasDsymm) function_name_cublasDsymm
(parameters
(identifier_handle) identifier_handle
(identifier_side) identifier_side
(identifier_uplo) identifier_uplo
(identifier_m) identifier_m
(identifier_n) identifier_n
(identifier_alpha... | Matrix-matrix product for real symmetric matrix. |
(module
(function_definition
(function_name_setup_options_button) function_name_setup_options_button
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(not_operator
(attribute
(identifier_self) identifier_self
(identifi... | Add the cog menu button to the toolbar. |
(module
(function_definition
(function_name_parseFile) function_name_parseFile
(parameters
(identifier_self) identifier_self
(identifier_filename) identifier_filename
)parameters
(block
(expression_statement
(assignment
(identifier_modname) identifier_modname
... | Parse a single file. |
(module
(function_definition
(function_name_getUmis) function_name_getUmis
(parameters
(identifier_self) identifier_self
(identifier_n) identifier_n
)parameters
(block
(if_statement
(comparison_operator
(identifier_n) identifier_n
(parenthesized_expression... | return n umis from the random_umis atr. |
(module
(function_definition
(function_name_schema_exists) function_name_schema_exists
(parameters
(identifier_cls) identifier_cls
(identifier_cur) identifier_cur
(identifier_schema_name) identifier_schema_name
)parameters
(block
(expression_statement
(call
(a... | Check if schema exists |
(module
(function_definition
(function_name_generate_nonce_timestamp) function_name_generate_nonce_timestamp
(parameters
)parameters
(block
(global_statement
(identifier_count) identifier_count
)global_statement
(expression_statement
(assignment
(identifier_... | Generate unique nonce with counter, uuid and rng. |
(module
(function_definition
(function_name__load_data) function_name__load_data
(parameters
(identifier_batch) identifier_batch
(identifier_targets) identifier_targets
(identifier_major_axis) identifier_major_axis
)parameters
(block
(if_statement
(call
(ident... | Load data into sliced arrays. |
(module
(function_definition
(function_name_create_filehandlers) function_name_create_filehandlers
(parameters
(identifier_self) identifier_self
(identifier_filenames) identifier_filenames
(default_parameter
(identifier_fh_kwargs) identifier_fh_kwargs
(None) None
)defau... | Organize the filenames into file types and create file handlers. |
(module
(function_definition
(function_name_proj_units_to_meters) function_name_proj_units_to_meters
(parameters
(identifier_proj_str) identifier_proj_str
)parameters
(block
(expression_statement
(assignment
(identifier_proj_parts) identifier_proj_parts
(call
... | Convert projection units from kilometers to meters. |
(module
(function_definition
(function_name_sphinx_class) function_name_sphinx_class
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_classdoc) identifier_classdoc
(call
(attribute
... | Redefine sphinx class to point to prop class |
(module
(function_definition
(function_name__get_first_assessment_section) function_name__get_first_assessment_section
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(parenthesized_expression
(boolean_operator
(comparison_operat... | Gets the first section for this Taken's Assessment. |
(module
(function_definition
(function_name__project_eigenvectors) function_name__project_eigenvectors
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(attribute
(identifier_self) identifier_self
(... | Eigenvectors are projected along Cartesian direction |
(module
(function_definition
(function_name__assert_git_repo) function_name__assert_git_repo
(parameters
(identifier_target) identifier_target
)parameters
(block
(expression_statement
(assignment
(identifier_hooks_dir) identifier_hooks_dir
(call
(att... | Asserts that a given target directory is a git repository |
(module
(function_definition
(function_name_register_phonon_task) function_name_register_phonon_task
(parameters
(identifier_self) identifier_self
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(dictionary_splat_pattern
(identifier_kwargs) ide... | Register a phonon task. |
(module
(function_definition
(function_name_common_options) function_name_common_options
(parameters
(identifier_func) identifier_func
)parameters
(block
(function_definition
(function_name_parse_preset) function_name_parse_preset
(parameters
(identifier_ctx) iden... | Commonly used command options. |
(module
(function_definition
(function_name_register_laser_hooks) function_name_register_laser_hooks
(parameters
(identifier_self) identifier_self
(typed_parameter
(identifier_hook_type) identifier_hook_type
(type
(identifier_str) identifier_str
)type
)typed... | registers the hook with this Laser VM |
(module
(function_definition
(function_name_extensions) function_name_extensions
(parameters
)parameters
(block
(import_statement
(dotted_name
(identifier_numpy) identifier_numpy
)dotted_name
)import_statement
(import_from_statement
(dotted_name
... | Returns list of `cython` extensions for `lazy_cythonize`. |
(module
(function_definition
(function_name_ingest_containers) function_name_ingest_containers
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_containers) identifier_containers
(None) None
)default_parameter
)parameters
(block
(expre... | Transform the YAML into a dict with normalized keys |
(module
(function_definition
(function_name_shovel_help) function_name_shovel_help
(parameters
(identifier_shovel) identifier_shovel
(list_splat_pattern
(identifier_names) identifier_names
)list_splat_pattern
)parameters
(block
(if_statement
(not_operator
... | Return a string about help with the tasks, or lists tasks available |
(module
(function_definition
(function_name_flash_errors) function_name_flash_errors
(parameters
(identifier_form) identifier_form
(default_parameter
(identifier_category) identifier_category
(string_'warning') string_'warning'
)default_parameter
)parameters
(block
... | Flash all form error messages |
(module
(function_definition
(function_name_compute_radius) function_name_compute_radius
(parameters
(identifier_wcs) identifier_wcs
)parameters
(block
(expression_statement
(assignment
(pattern_list
(identifier_ra) identifier_ra
(identifier_dec) i... | Compute the radius from the center to the furthest edge of the WCS. |
(module
(function_definition
(function_name__get_ssh_client) function_name__get_ssh_client
(parameters
(identifier_self) identifier_self
)parameters
(block
(return_statement
(call
(attribute
(identifier_ipa_utils) identifier_ipa_utils
(identifier_g... | Return a new or existing SSH client for given ip. |
(module
(function_definition
(function_name_measure_cost) function_name_measure_cost
(parameters
(identifier_repeat) identifier_repeat
(identifier_scipy_trans_lhs) identifier_scipy_trans_lhs
(identifier_scipy_dns_lhs) identifier_scipy_dns_lhs
(identifier_func_name) identifier_func_name... | Measure time cost of running a function |
(module
(function_definition
(function_name_build) function_name_build
(parameters
(identifier_mnemonic) identifier_mnemonic
(identifier_oprnd1) identifier_oprnd1
(identifier_oprnd2) identifier_oprnd2
(identifier_oprnd3) identifier_oprnd3
)parameters
(block
(expression_st... | Return the specified instruction. |
(module
(function_definition
(function_name__parse_region) function_name__parse_region
(parameters
(identifier_self) identifier_self
(identifier_rec) identifier_rec
(identifier_line_iter) identifier_line_iter
)parameters
(block
(expression_statement
(assignment
... | Parse a section of an ISA-Tab, assigning information to a supplied record. |
(module
(function_definition
(function_name__get_collection_for_user) function_name__get_collection_for_user
(parameters
(identifier_self) identifier_self
(identifier_collection_id) identifier_collection_id
(identifier_user) identifier_user
)parameters
(block
(expression_statem... | Check that collection exists and user has `add` permission. |
(module
(function_definition
(function_name_scale_edges) function_name_scale_edges
(parameters
(identifier_self) identifier_self
(identifier_multiplier) identifier_multiplier
)parameters
(block
(if_statement
(boolean_operator
(not_operator
(call
... | Multiply all edges in this ``Tree`` by ``multiplier`` |
(module
(function_definition
(function_name_lower_coerce_type_blocks) function_name_lower_coerce_type_blocks
(parameters
(identifier_ir_blocks) identifier_ir_blocks
)parameters
(block
(expression_statement
(assignment
(identifier_new_ir_blocks) identifier_new_ir_blocks
... | Lower CoerceType blocks into Filter blocks with a type-check predicate. |
(module
(function_definition
(function_name__draw_outline) function_name__draw_outline
(parameters
(typed_parameter
(identifier_o) identifier_o
(type
(identifier_Patch) identifier_Patch
)type
)typed_parameter
(typed_parameter
(identifier_lw) identifi... | Outline bounding box onto image `Patch`. |
(module
(function_definition
(function_name__construct_mongos) function_name__construct_mongos
(parameters
(identifier_self) identifier_self
(identifier_logpath) identifier_logpath
(identifier_port) identifier_port
(identifier_configdb) identifier_configdb
)parameters
(block
... | Construct command line strings for a mongos process. |
(module
(function_definition
(function_name_probes_used_extract_scores) function_name_probes_used_extract_scores
(parameters
(identifier_full_scores) identifier_full_scores
(identifier_same_probes) identifier_same_probes
)parameters
(block
(if_statement
(comparison_operator
... | Extracts a matrix of scores for a model, given a probes_used row vector of boolean |
(module
(function_definition
(function_name_count) function_name_count
(parameters
(identifier_self) identifier_self
(identifier_query) identifier_query
)parameters
(block
(if_statement
(attribute
(identifier_self) identifier_self
(identifier_manual) ident... | If query is Select object, this function will try to get count of select |
(module
(function_definition
(function_name_format_sms_payload) function_name_format_sms_payload
(parameters
(identifier_self) identifier_self
(identifier_message) identifier_message
(identifier_to) identifier_to
(default_parameter
(identifier_sender) identifier_sender
... | Helper function to create a SMS payload with little effort |
(module
(function_definition
(function_name_run_cli) function_name_run_cli
(parameters
)parameters
(block
(expression_statement
(string_"Command line interface to hiwenet.") string_"Command line interface to hiwenet."
)expression_statement
(expression_statement
(assig... | Command line interface to hiwenet. |
(module
(function_definition
(function_name__onArgument) function_name__onArgument
(parameters
(identifier_self) identifier_self
(identifier_name) identifier_name
(identifier_annotation) identifier_annotation
)parameters
(block
(expression_statement
(call
(att... | Memorizes a function argument |
(module
(function_definition
(function_name_validate_path) function_name_validate_path
(parameters
(identifier_ctx) identifier_ctx
(identifier_param) identifier_param
(identifier_value) identifier_value
)parameters
(block
(expression_statement
(assignment
(ide... | Detect a workflow path if it is not passed. |
(module
(function_definition
(function_name_community_colors) function_name_community_colors
(parameters
(identifier_n) identifier_n
)parameters
(block
(if_statement
(parenthesized_expression
(comparison_operator
(identifier_n) identifier_n
(intege... | Returns a list of visually separable colors according to total communities |
(module
(function_definition
(function_name__op_msg_uncompressed) function_name__op_msg_uncompressed
(parameters
(identifier_flags) identifier_flags
(identifier_command) identifier_command
(identifier_identifier) identifier_identifier
(identifier_docs) identifier_docs
(identifier... | Internal compressed OP_MSG message helper. |
(module
(function_definition
(function_name_distribute_javaclasses) function_name_distribute_javaclasses
(parameters
(identifier_self) identifier_self
(identifier_javaclass_dir) identifier_javaclass_dir
(default_parameter
(identifier_dest_dir) identifier_dest_dir
(string_"src... | Copy existing javaclasses from build dir to current dist dir. |
(module
(function_definition
(function_name_extract_cab) function_name_extract_cab
(parameters
(identifier_archive) identifier_archive
(identifier_compression) identifier_compression
(identifier_cmd) identifier_cmd
(identifier_verbosity) identifier_verbosity
(identifier_interacti... | Extract a CAB archive. |
(module
(function_definition
(function_name_com_google_fonts_check_name_line_breaks) function_name_com_google_fonts_check_name_line_breaks
(parameters
(identifier_ttFont) identifier_ttFont
)parameters
(block
(expression_statement
(assignment
(identifier_failed) identifier... | Name table entries should not contain line-breaks. |
(module
(function_definition
(function_name__authenticate_client) function_name__authenticate_client
(parameters
(identifier_self) identifier_self
(identifier_client) identifier_client
)parameters
(block
(if_statement
(boolean_operator
(attribute
(identi... | Authenticate the client if necessary. |
(module
(function_definition
(function_name__sig_handler) function_name__sig_handler
(parameters
(identifier_self) identifier_self
(identifier_signum) identifier_signum
(identifier_stack) identifier_stack
)parameters
(block
(expression_statement
(call
(identif... | Handle process INT signal. |
(module
(function_definition
(function_name_to_browser_mode) function_name_to_browser_mode
(parameters
(identifier_self) identifier_self
)parameters
(block
(for_statement
(identifier_message_no) identifier_message_no
(call
(identifier_range) identifier_range
... | Write all the messages to files and open them in the browser |
(module
(function_definition
(function_name_input_validate_aead) function_name_input_validate_aead
(parameters
(identifier_aead) identifier_aead
(default_parameter
(identifier_name) identifier_name
(string_'aead') string_'aead'
)default_parameter
(default_parameter
... | Input validation for YHSM_GeneratedAEAD or string. |
(module
(function_definition
(function_name_build) function_name_build
(parameters
(identifier_c) identifier_c
(default_parameter
(identifier_clean) identifier_clean
(False) False
)default_parameter
(default_parameter
(identifier_browse) identifier_browse
... | Build the project's Sphinx docs. |
(module
(function_definition
(function_name__assign_as_root) function_name__assign_as_root
(parameters
(identifier_self) identifier_self
(identifier_id_) identifier_id_
)parameters
(block
(expression_statement
(assignment
(identifier_rfc) identifier_rfc
(c... | Assign an id_ a root object in the hierarchy |
(module
(function_definition
(function_name_value_to_sql_str) function_name_value_to_sql_str
(parameters
(identifier_v) identifier_v
)parameters
(block
(if_statement
(comparison_operator
(identifier_v) identifier_v
(None) None
)comparison_operator
... | transform a python variable to the appropriate representation in SQL |
(module
(function_definition
(function_name_create_prefix_dir) function_name_create_prefix_dir
(parameters
(identifier_nb_file) identifier_nb_file
(identifier_fmt) identifier_fmt
)parameters
(block
(if_statement
(comparison_operator
(string_'prefix') string_'prefix'... | Create directory if fmt has a prefix |
(module
(function_definition
(function_name__make_walker) function_name__make_walker
(parameters
(identifier_self) identifier_self
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
... | Create a walker instance. |
(module
(function_definition
(function_name_show) function_name_show
(parameters
(identifier_self) identifier_self
(typed_default_parameter
(identifier_y) identifier_y
(type
(identifier_Image) identifier_Image
)type
(None) None
)typed_default_paramet... | Show the `ImageBBox` on `ax`. |
(module
(function_definition
(function_name_render_description_meta_tag) function_name_render_description_meta_tag
(parameters
(identifier_context) identifier_context
(default_parameter
(identifier_is_og) identifier_is_og
(False) False
)default_parameter
)parameters
(... | Returns the description as meta or open graph tag. |
(module
(function_definition
(function_name__make_graph) function_name__make_graph
(parameters
(identifier_self) identifier_self
(identifier_max_insert) identifier_max_insert
)parameters
(block
(if_statement
(comparison_operator
(call
(identifier_len) id... | helper function to construct graph from current state of object |
(module
(function_definition
(function_name_tags) function_name_tags
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_tag_list) identifier_tag_list
(call
(attribute
(attribut... | Returns a list of all the tags applied to this view |
(module
(function_definition
(function_name__sync_reminders) function_name__sync_reminders
(parameters
(identifier_self) identifier_self
(identifier_reminders_json) identifier_reminders_json
)parameters
(block
(for_statement
(identifier_reminder_json) identifier_reminder_json... | Populate the user's reminders from a JSON encoded list. |
(module
(function_definition
(function_name_build_available_time_string) function_name_build_available_time_string
(parameters
(identifier_availabilities) identifier_availabilities
)parameters
(block
(expression_statement
(assignment
(identifier_prefix) identifier_prefix
... | Build a string eliciting for a possible time slot among at least two availabilities. |
(module
(function_definition
(function_name_galprop_gasmap) function_name_galprop_gasmap
(parameters
(identifier_self) identifier_self
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictionary_splat_pattern
)parameters
(block
(expression_statement
... | return the file name for Galprop input gasmaps |
(module
(function_definition
(function_name_main) function_name_main
(parameters
)parameters
(block
(if_statement
(comparison_operator
(call
(identifier_len) identifier_len
(argument_list
(identifier_argv) identifier_argv
)argum... | Testing function for Flex Regular Expressions to FST DFA |
(module
(function_definition
(function_name_process_exception) function_name_process_exception
(parameters
(identifier_self) identifier_self
(identifier_request) identifier_request
(identifier_e) identifier_e
)parameters
(block
(if_statement
(call
(identifier_... | Still process session data when specially Exception |
(module
(function_definition
(function_name_update_time_reset_passwd) function_name_update_time_reset_passwd
(parameters
(identifier_user_name) identifier_user_name
(identifier_the_time) identifier_the_time
)parameters
(block
(expression_statement
(assignment
(ident... | Update the time when user reset passwd. |
(module
(function_definition
(function_name_save) function_name_save
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_fname) identifier_fname
(string_'') string_''
)default_parameter
)parameters
(block
(if_statement
(compariso... | Save the current case |
(module
(function_definition
(function_name_mask_roi_unique) function_name_mask_roi_unique
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_A) identifier_A
(attribute
(call
(... | Assemble a set of unique magnitude tuples for the ROI |
(module
(function_definition
(function_name_InterfaceMatcher) function_name_InterfaceMatcher
(parameters
(identifier_clazz) identifier_clazz
(identifier_subclass) identifier_subclass
(identifier_protocol) identifier_protocol
)parameters
(block
(expression_statement
(ass... | Returns a matcher that returns the setting with the given interface. |
(module
(function_definition
(function_name__get_previous_open_tag) function_name__get_previous_open_tag
(parameters
(identifier_self) identifier_self
(identifier_obj) identifier_obj
)parameters
(block
(expression_statement
(assignment
(identifier_prev_instance) ide... | Return the open tag of the previous sibling |
(module
(function_definition
(function_name_uid) function_name_uid
(parameters
(identifier_self) identifier_self
(identifier_p_todo) identifier_p_todo
)parameters
(block
(try_statement
(block
(return_statement
(subscript
(attribute
... | Returns the unique text-based ID for a todo item. |
(module
(function_definition
(function_name_erase) function_name_erase
(parameters
(identifier_ctx) identifier_ctx
)parameters
(block
(if_statement
(call
(attribute
(attribute
(identifier_os) identifier_os
(identifier_path) identifi... | Erase the existing smother report. |
(module
(function_definition
(function_name_require_content_type) function_name_require_content_type
(parameters
(identifier_self) identifier_self
(identifier_content_type) identifier_content_type
)parameters
(block
(if_statement
(comparison_operator
(call
... | Raises a 400 if request content type is not as specified. |
(module
(function_definition
(function_name_tax_for_order) function_name_tax_for_order
(parameters
(identifier_self) identifier_self
(identifier_order_deets) identifier_order_deets
)parameters
(block
(expression_statement
(assignment
(identifier_request) identifier_... | Shows the sales tax that should be collected for a given order. |
(module
(function_definition
(function_name__allow_custom_expire) function_name__allow_custom_expire
(parameters
(identifier_self) identifier_self
(identifier_load) identifier_load
)parameters
(block
(expression_statement
(assignment
(identifier_expire_override) ide... | Return bool if requesting user is allowed to set custom expire |
(module
(function_definition
(function_name_handle_pre_response) function_name_handle_pre_response
(parameters
(identifier_self) identifier_self
(typed_parameter
(identifier_item_session) identifier_item_session
(type
(identifier_ItemSession) identifier_ItemSession
... | Process a response that is starting. |
(module
(function_definition
(function_name_key) function_name_key
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_prefix) identifier_prefix
(call
(attribute
(call
... | Returns the redis key to access this object's values |
(module
(function_definition
(function_name_convert_to_annotation) function_name_convert_to_annotation
(parameters
(identifier_file) identifier_file
(identifier_output) identifier_output
)parameters
(block
(expression_statement
(assignment
(identifier_resource) iden... | Convert a namespace file to an annotation file. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.