sequence stringlengths 731 13.6k | docstring stringlengths 11 171 |
|---|---|
(module
(function_definition
(function_name_target_heating_level) function_name_target_heating_level
(parameters
(identifier_self) identifier_self
)parameters
(block
(try_statement
(block
(if_statement
(comparison_operator
(attribute
... | Return target heating level. |
(module
(function_definition
(function_name___reverse) function_name___reverse
(parameters
(identifier_self) identifier_self
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictionary_splat_pattern
)parameters
(block
(expression_statement
(assig... | If we hit the bathymetry, set the location to where we came from. |
(module
(function_definition
(function_name_to_datetime) function_name_to_datetime
(parameters
(identifier_time) identifier_time
)parameters
(block
(if_statement
(boolean_operator
(comparison_operator
(call
(identifier_type) identifier_type
... | Convert `time` to a datetime. |
(module
(function_definition
(function_name___create_password) function_name___create_password
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_salt) identifier_salt
(call
(identifier_b64encode) identifier_b64encode
... | Create a password for the user. |
(module
(function_definition
(function_name_label) function_name_label
(parameters
(identifier_self) identifier_self
(identifier_t) identifier_t
)parameters
(block
(if_statement
(comparison_operator
(attribute
(identifier_self) identifier_self
... | Get the label of the song at a given time in seconds |
(module
(function_definition
(function_name_func_args) function_name_func_args
(parameters
(identifier_func) identifier_func
)parameters
(type
(identifier_bool) identifier_bool
)type
(block
(expression_statement
(string_"Return the arguments of `func`.") string_"Retur... | Return the arguments of `func`. |
(module
(function_definition
(function_name__find_snapshot) function_name__find_snapshot
(parameters
(identifier_self) identifier_self
(identifier_name) identifier_name
)parameters
(block
(expression_statement
(assignment
(identifier_remote_snapshots) identifier_rem... | Find snapshot on remote by name or regular expression |
(module
(function_definition
(function_name_parse_userinfo) function_name_parse_userinfo
(parameters
(identifier_cls) identifier_cls
(identifier_userinfo) identifier_userinfo
)parameters
(block
(expression_statement
(assignment
(pattern_list
(identifier_... | Parse the userinfo and return username and password. |
(module
(function_definition
(function_name_remove_rule_entry) function_name_remove_rule_entry
(parameters
(identifier_self) identifier_self
(identifier_rule_info) identifier_rule_info
)parameters
(block
(expression_statement
(assignment
(identifier_temp_list) ident... | Remove host data object from rule_info list. |
(module
(function_definition
(function_name_collect_outs) function_name_collect_outs
(parameters
(identifier_self) identifier_self
)parameters
(block
(for_statement
(identifier_outfile) identifier_outfile
(boolean_operator
(attribute
(attribute
... | Collect and store the outputs from this rule. |
(module
(function_definition
(function_name_update_local) function_name_update_local
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_stats) identifier_stats
(call
(attribute
... | Update CPU stats using psutil. |
(module
(function_definition
(function_name__get_prefixes) function_name__get_prefixes
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_prefixes) identifier_prefixes
(dictionary
(pair
... | Get the possible nick prefixes and associated modes for a client. |
(module
(function_definition
(function_name__add_gateway_responses) function_name__add_gateway_responses
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(not_operator
(attribute
(identifier_self) identifier_self
(iden... | Add Gateway Response configuration to the Swagger file, if necessary |
(module
(function_definition
(function_name_generate_admin_metadata) function_name_generate_admin_metadata
(parameters
(identifier_name) identifier_name
(default_parameter
(identifier_creator_username) identifier_creator_username
(None) None
)default_parameter
)parameters... | Return admin metadata as a dictionary. |
(module
(function_definition
(function_name__delUserFromGroup) function_name__delUserFromGroup
(parameters
(identifier_self) identifier_self
(identifier_username) identifier_username
(default_parameter
(identifier_group) identifier_group
(string_"Clients") string_"Clients"
... | Remove user from the group |
(module
(function_definition
(function_name_clear) function_name_clear
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(call
(attribute
(call
(identifier_super) identifier_super
(argument_list
... | Clears out this toolbar from the system. |
(module
(function_definition
(function_name_ydtick) function_name_ydtick
(parameters
(identifier_self) identifier_self
(identifier_dtick) identifier_dtick
(default_parameter
(identifier_index) identifier_index
(integer_1) integer_1
)default_parameter
)parameters
... | Set the tick distance. |
(module
(function_definition
(function_name_parse_http_scheme) function_name_parse_http_scheme
(parameters
(identifier_uri) identifier_uri
)parameters
(block
(expression_statement
(assignment
(identifier_regex) identifier_regex
(call
(attribute
... | match on http scheme if no match is found will assume http |
(module
(function_definition
(function_name_headTail_breaks) function_name_headTail_breaks
(parameters
(identifier_values) identifier_values
(identifier_cuts) identifier_cuts
)parameters
(block
(expression_statement
(assignment
(identifier_values) identifier_values
... | head tail breaks helper function |
(module
(function_definition
(function_name_create_bitcoind_service_proxy) function_name_create_bitcoind_service_proxy
(parameters
(identifier_rpc_username) identifier_rpc_username
(identifier_rpc_password) identifier_rpc_password
(default_parameter
(identifier_server) identifier_ser... | create a bitcoind service proxy |
(module
(function_definition
(function_name_HH) function_name_HH
(parameters
(identifier_n) identifier_n
)parameters
(block
(if_statement
(parenthesized_expression
(comparison_operator
(identifier_n) identifier_n
(integer_0) integer_0
)co... | constructs the HH context |
(module
(function_definition
(function_name_migrate) function_name_migrate
(parameters
(default_parameter
(identifier_app_name) identifier_app_name
(None) None
)default_parameter
(default_parameter
(identifier_revision) identifier_revision
(None) None
)d... | Syncs and migrates the database using South. |
(module
(function_definition
(function_name___check_field) function_name___check_field
(parameters
(identifier_self) identifier_self
(identifier_key) identifier_key
)parameters
(block
(if_statement
(not_operator
(call
(attribute
(attribute
... | Raises a KeyError if the field doesn't exist. |
(module
(function_definition
(function_name_describe) function_name_describe
(parameters
(identifier_cls) identifier_cls
(identifier_sha1) identifier_sha1
)parameters
(block
(expression_statement
(assignment
(identifier_cmd) identifier_cmd
(list
... | Returns a human-readable representation of the given SHA1. |
(module
(function_definition
(function_name_asynchronous) function_name_asynchronous
(parameters
(identifier_function) identifier_function
(identifier_event) identifier_event
)parameters
(block
(expression_statement
(assignment
(identifier_thread) identifier_thread
... | Runs the function asynchronously taking care of exceptions. |
(module
(function_definition
(function_name__get_ordering) function_name__get_ordering
(parameters
(identifier_son) identifier_son
)parameters
(block
(function_definition
(function_name_fmt) function_name_fmt
(parameters
(identifier_field) identifier_field
... | Helper function to extract formatted ordering from dict. |
(module
(function_definition
(function_name_render_it) function_name_render_it
(parameters
(identifier_self) identifier_self
(identifier_kind) identifier_kind
(identifier_num) identifier_num
(default_parameter
(identifier_with_tag) identifier_with_tag
(False) False
... | render, no user logged in |
(module
(function_definition
(function_name_ini2value) function_name_ini2value
(parameters
(identifier_ini_content) identifier_ini_content
)parameters
(block
(import_from_statement
(dotted_name
(identifier_mo_future) identifier_mo_future
)dotted_name
(dott... | INI FILE CONTENT TO Data |
(module
(function_definition
(function_name_inFocus) function_name_inFocus
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_previous_flags) identifier_previous_flags
(call
(attribute
... | Set GUI on-top flag |
(module
(function_definition
(function_name_GetAttributeNs) function_name_GetAttributeNs
(parameters
(identifier_self) identifier_self
(identifier_localName) identifier_localName
(identifier_namespaceURI) identifier_namespaceURI
)parameters
(block
(expression_statement
... | Provides the value of the specified attribute |
(module
(function_definition
(function_name_credit_card_number) function_name_credit_card_number
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_card_type) identifier_card_type
(None) None
)default_parameter
)parameters
(block
(expre... | Returns a valid credit card number. |
(module
(function_definition
(function_name_encode_date_optional_time) function_name_encode_date_optional_time
(parameters
(identifier_obj) identifier_obj
)parameters
(block
(if_statement
(call
(identifier_isinstance) identifier_isinstance
(argument_list
... | ISO encode timezone-aware datetimes |
(module
(function_definition
(function_name_build_command_parser) function_name_build_command_parser
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_parser) identifier_parser
(call
(attribute
(identifier_argparse)... | Build command parser using ``argparse`` module. |
(module
(function_definition
(function_name_deleted) function_name_deleted
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(string_'Return datetime.datetime or None if the file isnt deleted') string_'Return datetime.datetime or None if the fil... | Return datetime.datetime or None if the file isnt deleted |
(module
(function_definition
(function_name_hash_fasta) function_name_hash_fasta
(parameters
(identifier_seq) identifier_seq
(default_parameter
(identifier_ignore_case) identifier_ignore_case
(False) False
)default_parameter
(default_parameter
(identifier_ignore... | Generates checksum of input sequence element |
(module
(function_definition
(function_name_store_db_obj) function_name_store_db_obj
(parameters
(identifier_cls) identifier_cls
(identifier_in_obj) identifier_in_obj
(identifier_out_obj) identifier_out_obj
)parameters
(block
(expression_statement
(assignment
... | Store the IP DB object. |
(module
(function_definition
(function_name_machine) function_name_machine
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_machine_id) identifier_machine_id
(subscript
(attribute
... | Get the machine object for this unit. |
(module
(function_definition
(function_name__get_recursive_difference) function_name__get_recursive_difference
(parameters
(identifier_self) identifier_self
(identifier_type) identifier_type
)parameters
(block
(if_statement
(comparison_operator
(identifier_type) ide... | Returns the recursive diff between dict values |
(module
(function_definition
(function_name_to_unix) function_name_to_unix
(parameters
(identifier_cls) identifier_cls
(identifier_timestamp) identifier_timestamp
)parameters
(block
(if_statement
(not_operator
(call
(identifier_isinstance) identifier_isi... | Wrapper over time module to produce Unix epoch time as a float |
(module
(function_definition
(function_name_split_stock_str) function_name_split_stock_str
(parameters
(identifier_stock_str_param) identifier_stock_str_param
)parameters
(block
(expression_statement
(assignment
(identifier_stock_str) identifier_stock_str
(call
... | split the stock string |
(module
(function_definition
(function_name_on_batch_begin) function_name_on_batch_begin
(parameters
(identifier_self) identifier_self
(typed_parameter
(identifier_batch_info) identifier_batch_info
(type
(identifier_BatchInfo) identifier_BatchInfo
)type
)typ... | Set proper learning rate |
(module
(function_definition
(function_name_vtmlrender) function_name_vtmlrender
(parameters
(identifier_vtmarkup) identifier_vtmarkup
(default_parameter
(identifier_plain) identifier_plain
(None) None
)default_parameter
(default_parameter
(identifier_strict) id... | Look for vt100 markup and render vt opcodes into a VTMLBuffer. |
(module
(function_definition
(function_name__head_length) function_name__head_length
(parameters
(identifier_self) identifier_self
(identifier_port) identifier_port
)parameters
(block
(if_statement
(not_operator
(identifier_port) identifier_port
)not_operato... | Distance from the center of the port to the perpendicular waypoint |
(module
(function_definition
(function_name_do_gen) function_name_do_gen
(parameters
(identifier_argdict) identifier_argdict
)parameters
(block
(expression_statement
(assignment
(identifier_site) identifier_site
(call
(identifier_make_site_obj) ident... | Generate the whole site. |
(module
(function_definition
(function_name__parse_statistic) function_name__parse_statistic
(parameters
(identifier_data) identifier_data
(identifier_scale) identifier_scale
)parameters
(block
(expression_statement
(assignment
(identifier_i) identifier_i
... | Parse binary statistics returned from the history API |
(module
(function_definition
(function_name_actions) function_name_actions
(parameters
(identifier_self) identifier_self
(identifier_state) identifier_state
)parameters
(block
(expression_statement
(assignment
(identifier_rows) identifier_rows
(call
... | Returns a list of the pieces we can move to the empty space. |
(module
(function_definition
(function_name__serialize) function_name__serialize
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_include_run_logs) identifier_include_run_logs
(False) False
)default_parameter
(default_parameter
(ident... | Serialize a representation of this Dagobah object to JSON. |
(module
(function_definition
(function_name__describe_tree) function_name__describe_tree
(parameters
(identifier_self) identifier_self
(identifier_prefix) identifier_prefix
(identifier_with_transform) identifier_with_transform
)parameters
(block
(expression_statement
(a... | Helper function to actuall construct the tree |
(module
(function_definition
(function_name__make_c_string_check) function_name__make_c_string_check
(parameters
(identifier_string) identifier_string
)parameters
(block
(if_statement
(call
(identifier_isinstance) identifier_isinstance
(argument_list
... | Make a 'C' string, checking for embedded NUL characters. |
(module
(function_definition
(function_name_build_from_issues) function_name_build_from_issues
(parameters
(identifier_gh_token) identifier_gh_token
(identifier_body) identifier_body
)parameters
(block
(if_statement
(comparison_operator
(subscript
(ident... | Create a WebhookMetadata from an opening issue text. |
(module
(function_definition
(function_name_setVisible) function_name_setVisible
(parameters
(identifier_self) identifier_self
(identifier_value) identifier_value
)parameters
(block
(if_statement
(comparison_operator
(attribute
(identifier_self) identifi... | Override Qt method to stops timers if widget is not visible. |
(module
(function_definition
(function_name_create_logger) function_name_create_logger
(parameters
(identifier_name) identifier_name
(default_parameter
(identifier_formatter) identifier_formatter
(None) None
)default_parameter
(default_parameter
(identifier_hand... | Returns a new logger for the specified name. |
(module
(function_definition
(function_name__threeDdot_simple) function_name__threeDdot_simple
(parameters
(identifier_M) identifier_M
(identifier_a) identifier_a
)parameters
(block
(expression_statement
(string_"Return Ma, where M is a 3x3 transformation matrix, for each pix... | Return Ma, where M is a 3x3 transformation matrix, for each pixel |
(module
(function_definition
(function_name_comments) function_name_comments
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_update) identifier_update
(True) True
)default_parameter
)parameters
(block
(if_statement
(not_opera... | Fetch and return the comments for a single MoreComments object. |
(module
(function_definition
(function_name__shape_list) function_name__shape_list
(parameters
(identifier_tensor) identifier_tensor
)parameters
(block
(expression_statement
(assignment
(identifier_shape) identifier_shape
(call
(attribute
... | Return a list of the tensor's shape, and ensure no None values in list. |
(module
(function_definition
(function_name__submit_metrics) function_name__submit_metrics
(parameters
(identifier_self) identifier_self
(identifier_metrics) identifier_metrics
(identifier_metric_name_and_type_by_property) identifier_metric_name_and_type_by_property
)parameters
(bloc... | Resolve metric names and types and submit it. |
(module
(function_definition
(function_name_getLeaves) function_name_getLeaves
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_result) identifier_result
(call
(identifier_list) identifier... | Return the downstream leaf stages of this stage. |
(module
(function_definition
(function_name_download_script) function_name_download_script
(parameters
(identifier_script_file_name) identifier_script_file_name
)parameters
(block
(return_statement
(string_"Sorry! Temporarily disabled.") string_"Sorry! Temporarily disabled."
... | Send a script directly from the scripts directory |
(module
(function_definition
(function_name_compare_trees) function_name_compare_trees
(parameters
(identifier_dir1) identifier_dir1
(identifier_dir2) identifier_dir2
)parameters
(block
(expression_statement
(assignment
(identifier_paths1) identifier_paths1
... | Parse two directories and return lists of unique files |
(module
(function_definition
(function_name_flat_model) function_name_flat_model
(parameters
(identifier_tree) identifier_tree
)parameters
(block
(expression_statement
(assignment
(identifier_names) identifier_names
(list
)list
)assignment
... | Flatten the tree into a list of properties adding parents as prefixes. |
(module
(function_definition
(function_name_getAttrs) function_name_getAttrs
(parameters
(identifier_self) identifier_self
(identifier_node) identifier_node
)parameters
(block
(expression_statement
(assignment
(identifier_attrs) identifier_attrs
(dictionar... | Return a Collection of all attributes |
(module
(function_definition
(function_name_winapi_result) function_name_winapi_result
(parameters
(identifier_result) identifier_result
)parameters
(block
(if_statement
(not_operator
(identifier_result) identifier_result
)not_operator
(block
(ra... | Validate WINAPI BOOL result, raise exception if failed |
(module
(function_definition
(function_name_clear) function_name_clear
(parameters
(identifier_self) identifier_self
)parameters
(block
(while_statement
(True) True
(block
(try_statement
(block
(expression_statement
(assig... | Delete all sessions in the pool. |
(module
(function_definition
(function_name__get_metadata) function_name__get_metadata
(parameters
(identifier_self) identifier_self
(identifier_file_id) identifier_file_id
(default_parameter
(identifier_metadata_fields) identifier_metadata_fields
(string_'') string_''
... | a helper method for retrieving the metadata of a file |
(module
(function_definition
(function_name_command_update) function_name_command_update
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(boolean_operator
(comparison_operator
(call
(identifier_len) identifier_len
... | Update package lists repositories |
(module
(function_definition
(function_name_round_rectangle) function_name_round_rectangle
(parameters
(identifier_size) identifier_size
(identifier_radius) identifier_radius
(identifier_fill) identifier_fill
)parameters
(block
(expression_statement
(assignment
... | Draw a rounded rectangle |
(module
(function_definition
(function_name_raise_error) function_name_raise_error
(parameters
(identifier_self) identifier_self
(identifier_e) identifier_e
(default_parameter
(identifier_exc_info) identifier_exc_info
(None) None
)default_parameter
)parameters
(... | this is just a wrapper to make the passed in exception an InterfaceError |
(module
(function_definition
(function_name_sqlvm_list) function_name_sqlvm_list
(parameters
(identifier_client) identifier_client
(default_parameter
(identifier_resource_group_name) identifier_resource_group_name
(None) None
)default_parameter
)parameters
(block
... | Lists all SQL virtual machines in a resource group or subscription. |
(module
(function_definition
(function_name_nb_to_q_nums) function_name_nb_to_q_nums
(parameters
(identifier_nb) identifier_nb
)parameters
(type
(identifier_list) identifier_list
)type
(block
(function_definition
(function_name_q_num) function_name_q_num
(para... | Gets question numbers from each cell in the notebook |
(module
(function_definition
(function_name__init_threads) function_name__init_threads
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(comparison_operator
(attribute
(identifier_self) identifier_self
(identifier__io_... | Initializes the IO and Writer threads |
(module
(function_definition
(function_name_partLon) function_name_partLon
(parameters
(identifier_ID) identifier_ID
(identifier_chart) identifier_chart
)parameters
(block
(expression_statement
(assignment
(identifier_abc) identifier_abc
(conditional_expre... | Returns the longitude of an arabic part. |
(module
(function_definition
(function_name_write_chunk) function_name_write_chunk
(parameters
(identifier_cls) identifier_cls
(identifier_sock) identifier_sock
(identifier_chunk_type) identifier_chunk_type
(default_parameter
(identifier_payload) identifier_payload
(str... | Write a single chunk to the connected client. |
(module
(function_definition
(function_name_hide_all) function_name_hide_all
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(attribute
(identifier_self) identifier_self
(identifier_current) identi... | Hide all properties from property editor. |
(module
(function_definition
(function_name_unfederate) function_name_unfederate
(parameters
(identifier_self) identifier_self
(identifier_serverId) identifier_serverId
)parameters
(block
(expression_statement
(assignment
(identifier_url) identifier_url
(b... | This operation unfederates an ArcGIS Server from Portal for ArcGIS |
(module
(function_definition
(function_name_lower_folded_outputs) function_name_lower_folded_outputs
(parameters
(identifier_ir_blocks) identifier_ir_blocks
)parameters
(block
(expression_statement
(assignment
(pattern_list
(identifier_folds) identifier_folds
... | Lower standard folded output fields into GremlinFoldedContextField objects. |
(module
(function_definition
(function_name_registry) function_name_registry
(parameters
(identifier_attr) identifier_attr
(default_parameter
(identifier_base) identifier_base
(identifier_type) identifier_type
)default_parameter
)parameters
(block
(class_definit... | Generates a meta class to index sub classes by their keys. |
(module
(function_definition
(function_name_songname) function_name_songname
(parameters
(identifier_song_name) identifier_song_name
)parameters
(block
(try_statement
(block
(expression_statement
(assignment
(identifier_song_name) identifier_song... | Improves file name by removing crap words |
(module
(function_definition
(function_name__handle_exception) function_name__handle_exception
(parameters
)parameters
(block
(if_statement
(attribute
(identifier_sys) identifier_sys
(identifier_stderr) identifier_stderr
)attribute
(block
(ex... | Print exceptions raised by subscribers to stderr. |
(module
(function_definition
(function_name__get_acceptable_response_type) function_name__get_acceptable_response_type
(parameters
)parameters
(block
(if_statement
(parenthesized_expression
(boolean_operator
(comparison_operator
(string_'Accept') strin... | Return the mimetype for this request. |
(module
(function_definition
(function_name__read_next) function_name__read_next
(parameters
(identifier_cls) identifier_cls
(typed_parameter
(identifier_lines) identifier_lines
(type
(generic_type
(identifier_List) identifier_List
(type_parameter
... | Destructively extracts the next file patch from the line buffer. |
(module
(function_definition
(function_name_sign) function_name_sign
(parameters
(identifier_self) identifier_self
(identifier_consumer_secret) identifier_consumer_secret
(identifier_method) identifier_method
(identifier_url) identifier_url
(default_parameter
(identifier_... | Create a signature using PLAINTEXT. |
(module
(function_definition
(function_name_show_refund) function_name_show_refund
(parameters
(identifier_self) identifier_self
(identifier_refund_id) identifier_refund_id
)parameters
(block
(expression_statement
(assignment
(identifier_request) identifier_request
... | Shows an existing refund transaction. |
(module
(function_definition
(function_name__get_document) function_name__get_document
(parameters
(identifier_self) identifier_self
(identifier_source) identifier_source
)parameters
(block
(expression_statement
(assignment
(identifier_scheme_url) identifier_scheme_... | helper, open a file or url and return the content and identifier |
(module
(function_definition
(function_name_start_listener) function_name_start_listener
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(comparison_operator
(attribute
(identifier_self) identifier_self
(identifier_so... | start listening for packets |
(module
(function_definition
(function_name_update_tags) function_name_update_tags
(parameters
(identifier_self) identifier_self
(identifier_idlist) identifier_idlist
(default_parameter
(identifier_tags_add) identifier_tags_add
(None) None
)default_parameter
(defa... | Updates the 'tags' field for a bug. |
(module
(function_definition
(function_name__GetDenseDimensions) function_name__GetDenseDimensions
(parameters
(identifier_list_of_lists) identifier_list_of_lists
)parameters
(block
(if_statement
(not_operator
(call
(identifier_isinstance) identifier_isinstanc... | Returns the inferred dense dimensions of a list of lists. |
(module
(function_definition
(function_name_merge_dicts) function_name_merge_dicts
(parameters
(identifier_dict1) identifier_dict1
(identifier_dict2) identifier_dict2
)parameters
(block
(expression_statement
(assignment
(identifier_tmp) identifier_tmp
(cal... | Merge two dictionaries and return the result |
(module
(function_definition
(function_name_relative_script) function_name_relative_script
(parameters
(identifier_lines) identifier_lines
)parameters
(block
(expression_statement
(string_"Return a script that'll work in a relocatable environment.") string_"Return a script that'll ... | Return a script that'll work in a relocatable environment. |
(module
(function_definition
(function_name_writes) function_name_writes
(parameters
(identifier_notebook) identifier_notebook
(identifier_fmt) identifier_fmt
(default_parameter
(identifier_version) identifier_version
(attribute
(identifier_nbformat) identifier_nbfo... | Write a notebook to a string |
(module
(function_definition
(function_name_rmmod) function_name_rmmod
(parameters
(identifier_module) identifier_module
(default_parameter
(identifier_force) identifier_force
(False) False
)default_parameter
)parameters
(block
(expression_statement
(ass... | Remove a module from the linux kernel |
(module
(function_definition
(function_name__unzip_file) function_name__unzip_file
(parameters
(identifier_self) identifier_self
(identifier_zip_file) identifier_zip_file
(identifier_out_folder) identifier_out_folder
)parameters
(block
(try_statement
(block
(e... | unzips a file to a given folder |
(module
(function_definition
(function_name_needs) function_name_needs
(parameters
(identifier_cls) identifier_cls
(list_splat_pattern
(identifier_service_names) identifier_service_names
)list_splat_pattern
)parameters
(block
(function_definition
(function_name_... | A class decorator to indicate that an XBlock class needs particular services. |
(module
(function_definition
(function_name_render_code) function_name_render_code
(parameters
(identifier_code) identifier_code
(identifier_filetype) identifier_filetype
(identifier_pygments_style) identifier_pygments_style
)parameters
(block
(if_statement
(identifier_... | Renders a piece of code into HTML. Highlights syntax if filetype is specfied |
(module
(function_definition
(function_name_uniquify) function_name_uniquify
(parameters
(identifier_value) identifier_value
(identifier_seen_values) identifier_seen_values
)parameters
(block
(expression_statement
(assignment
(identifier_id) identifier_id
... | Adds value to seen_values set and ensures it is unique |
(module
(function_definition
(function_name__call) function_name__call
(parameters
(identifier_self) identifier_self
(identifier_x) identifier_x
(default_parameter
(identifier_out) identifier_out
(None) None
)default_parameter
)parameters
(block
(if_statem... | Return the zero vector or assign it to ``out``. |
(module
(function_definition
(function_name_add_attribute_model) function_name_add_attribute_model
(parameters
(identifier_self) identifier_self
(identifier_name) identifier_name
(identifier_attr) identifier_attr
(default_parameter
(identifier_writeable_func) identifier_writeab... | Register a pre-existing AttributeModel to be added to the Block |
(module
(function_definition
(function_name__init_glyph) function_name__init_glyph
(parameters
(identifier_self) identifier_self
(identifier_plot) identifier_plot
(identifier_mapping) identifier_mapping
(identifier_properties) identifier_properties
)parameters
(block
(exp... | Returns a Bokeh glyph object and optionally creates a colorbar. |
(module
(function_definition
(function_name_submit_job) function_name_submit_job
(parameters
(identifier_self) identifier_self
(identifier_job_definition) identifier_job_definition
(identifier_parameters) identifier_parameters
(default_parameter
(identifier_job_name) identifier... | Wrap submit_job with useful defaults |
(module
(function_definition
(function_name_decode) function_name_decode
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_report_dict) identifier_report_dict
(call
(attribute
... | Decode this report from a msgpack encoded binary blob. |
(module
(function_definition
(function_name_choice_default_invalidator) function_name_choice_default_invalidator
(parameters
(identifier_self) identifier_self
(identifier_obj) identifier_obj
)parameters
(block
(expression_statement
(assignment
(identifier_invalid) i... | Invalidated cached items when the Choice changes. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.