sequence stringlengths 731 13.6k | docstring stringlengths 11 171 |
|---|---|
(module
(function_definition
(function_name_gen_source) function_name_gen_source
(parameters
(identifier_self) identifier_self
(identifier_ast) identifier_ast
(identifier_name) identifier_name
(identifier_customize) identifier_customize
(default_parameter
(identifier_is_l... | convert SyntaxTree to Python source code |
(module
(function_definition
(function_name_OnMouse) function_name_OnMouse
(parameters
(identifier_self) identifier_self
(identifier_event) identifier_event
)parameters
(block
(expression_statement
(assignment
(identifier_node) identifier_node
(call
... | Handle mouse-move event by selecting a given element |
(module
(function_definition
(function_name_check_sim_out) function_name_check_sim_out
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_now) identifier_now
(call
(attribute
(... | check if we should send new servos to flightgear |
(module
(function_definition
(function_name_pip_remove) function_name_pip_remove
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_name) identifier_name
(None) None
)default_parameter
(default_parameter
(identifier_prefix) identifier_p... | Remove a pip package in given environment by `name` or `prefix`. |
(module
(function_definition
(function_name__ir_calibrate) function_name__ir_calibrate
(parameters
(identifier_self) identifier_self
(identifier_data) identifier_data
)parameters
(block
(expression_statement
(assignment
(identifier_fk1) identifier_fk1
(cal... | Calibrate IR channels to BT. |
(module
(function_definition
(function_name_mouse_press_event) function_name_mouse_press_event
(parameters
(identifier_self) identifier_self
(identifier_x) identifier_x
(identifier_y) identifier_y
(identifier_button) identifier_button
)parameters
(block
(if_statement
... | Reports left and right mouse button presses + position |
(module
(function_definition
(function_name__file_local_list) function_name__file_local_list
(parameters
(identifier_self) identifier_self
(identifier_dest) identifier_dest
)parameters
(block
(if_statement
(call
(attribute
(attribute
(ident... | Helper util to return a list of files in a directory |
(module
(function_definition
(function_name_start) function_name_start
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(comparison_operator
(attribute
(identifier_self) identifier_self
(identifier_stream) identifier_s... | Start listening from stream |
(module
(function_definition
(function_name_str2listtuple) function_name_str2listtuple
(parameters
(identifier_self) identifier_self
(identifier_string_message) identifier_string_message
)parameters
(block
(expression_statement
(string_"Covert a string that is ready to be sen... | Covert a string that is ready to be sent to graphite into a tuple |
(module
(function_definition
(function_name_append) function_name_append
(parameters
(identifier_self) identifier_self
(identifier_item) identifier_item
)parameters
(block
(expression_statement
(assignment
(identifier_validated_value) identifier_validated_value
... | Appending elements to our list |
(module
(function_definition
(function_name_trace) function_name_trace
(parameters
(identifier_msg) identifier_msg
)parameters
(block
(if_statement
(comparison_operator
(call
(attribute
(attribute
(identifier_os) identifier_os
... | Print a trace message to stderr if environment variable is set. |
(module
(function_definition
(function_name_agents) function_name_agents
(parameters
)parameters
(block
(print_statement
(string_'The following LiveSync agents are active:') string_'The following LiveSync agents are active:'
)print_statement
(expression_statement
(ass... | Lists the currently active agents |
(module
(function_definition
(function_name_print_unfinished_line) function_name_print_unfinished_line
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(comparison_operator
(attribute
(identifier_self) identifier_self
... | The unfinished line stayed long enough in the buffer to be printed |
(module
(function_definition
(function_name_keys) function_name_keys
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_keys) identifier_keys
(list
)list
)assignment
)expression_... | List of reader's keys. |
(module
(function_definition
(function_name_match) function_name_match
(parameters
(identifier_self) identifier_self
(identifier_chars) identifier_chars
)parameters
(block
(expression_statement
(assignment
(identifier_start_index) identifier_start_index
(a... | Return all next characters that are listed in `chars` as a string |
(module
(function_definition
(function_name_async_init) function_name_async_init
(parameters
(identifier_self) identifier_self
)parameters
(type
(None) None
)type
(block
(if_statement
(not_operator
(attribute
(identifier_self) identifier_self
... | Create a Tile session. |
(module
(function_definition
(function_name__getLPA) function_name__getLPA
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(string_" Provides line, pos and absPosition line as string ") string_" Provides line, pos and absPosition line as strin... | Provides line, pos and absPosition line as string |
(module
(function_definition
(function_name_sshpull) function_name_sshpull
(parameters
(identifier_host) identifier_host
(identifier_maildir) identifier_maildir
(identifier_localmaildir) identifier_localmaildir
(default_parameter
(identifier_noop) identifier_noop
(False... | Pull a remote maildir to the local one. |
(module
(function_definition
(function_name_derive_resource_name) function_name_derive_resource_name
(parameters
(identifier_name) identifier_name
)parameters
(block
(if_statement
(call
(attribute
(identifier_name) identifier_name
(identifier_start... | A stable, human-readable name and identifier for a resource. |
(module
(function_definition
(function_name__bsecurate_cli_get_reader_formats) function_name__bsecurate_cli_get_reader_formats
(parameters
(identifier_args) identifier_args
)parameters
(block
(expression_statement
(assignment
(identifier_all_formats) identifier_all_format... | Handles the get-file-types subcommand |
(module
(function_definition
(function_name_update_topic_counter) function_name_update_topic_counter
(parameters
(identifier_sender) identifier_sender
(identifier_topic) identifier_topic
(identifier_user) identifier_user
(identifier_request) identifier_request
(identifier_respons... | Handles the update of the views counter associated with topics. |
(module
(function_definition
(function_name__onInstanceAttribute) function_name__onInstanceAttribute
(parameters
(identifier_self) identifier_self
(identifier_name) identifier_name
(identifier_line) identifier_line
(identifier_pos) identifier_pos
(identifier_absPosition) identifi... | Memorizes a class instance attribute |
(module
(function_definition
(function_name_to_dict) function_name_to_dict
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_d) identifier_d
(call
(attribute
(call
... | Save this target port into a dictionary. |
(module
(function_definition
(function_name_take_column) function_name_take_column
(parameters
(identifier_self) identifier_self
(identifier_keys) identifier_keys
(list_splat_pattern
(identifier_extra_keys) identifier_extra_keys
)list_splat_pattern
)parameters
(block
... | Takes a subset of columns |
(module
(function_definition
(function_name_restore_checkpoint) function_name_restore_checkpoint
(parameters
(identifier_filename) identifier_filename
)parameters
(block
(with_statement
(with_clause
(with_item
(as_pattern
(call
(a... | Resumes the simulation from a previous saved point. |
(module
(function_definition
(function_name_start_stress) function_name_start_stress
(parameters
(identifier_self) identifier_self
(identifier_stress_cmd) identifier_stress_cmd
)parameters
(block
(with_statement
(with_clause
(with_item
(as_pattern
... | Starts a new stress process with a given cmd |
(module
(function_definition
(function_name__build_server_url) function_name__build_server_url
(parameters
(identifier_server_host) identifier_server_host
(identifier_server_path) identifier_server_path
)parameters
(type
(identifier_str) identifier_str
)type
(block
(exp... | Build the server url making sure it ends in a trailing slash. |
(module
(function_definition
(function_name_x10_housecode) function_name_x10_housecode
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_housecode) identifier_housecode
(None) None
)assignment
... | Emit the X10 house code. |
(module
(function_definition
(function_name_add_to_path) function_name_add_to_path
(parameters
(identifier_p) identifier_p
)parameters
(block
(expression_statement
(assignment
(identifier_old_path) identifier_old_path
(attribute
(identifier_sys) iden... | Adds a path to python paths and removes it after the 'with' block ends |
(module
(function_definition
(function_name_backup) function_name_backup
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_count) identifier_count
(integer_0) integer_0
)assignment
)expre... | Backups files with the same name of the instance filename |
(module
(function_definition
(function_name_on_change) function_name_on_change
(parameters
(identifier_self) identifier_self
(identifier_value) identifier_value
)parameters
(block
(expression_statement
(call
(attribute
(identifier_self) identifier_self
... | Calles modifier on instance with passed value |
(module
(function_definition
(function_name_labels) function_name_labels
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_text) identifier_text
(None) None
)default_parameter
(default_parameter
(identifier_coordinates) identifier_coor... | Display atomic labels for the system |
(module
(function_definition
(function_name_declare) function_name_declare
(parameters
(identifier_queues) identifier_queues
)parameters
(block
(expression_statement
(call
(attribute
(identifier_current_queues) identifier_current_queues
(identifier... | Initialize the given queues. |
(module
(function_definition
(function_name__validated) function_name__validated
(parameters
(identifier_self) identifier_self
(identifier_data) identifier_data
)parameters
(block
(try_statement
(block
(return_statement
(call
(attribute
... | Convert data or die trying. |
(module
(function_definition
(function_name_gui) function_name_gui
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_sel) identifier_sel
(call
(attribute
(identifier_psidialogs) identifier_psidialogs
(... | remove libraries by GUI. |
(module
(function_definition
(function_name_merge_from) function_name_merge_from
(parameters
(identifier_self) identifier_self
(identifier_other) identifier_other
)parameters
(block
(if_statement
(comparison_operator
(attribute
(identifier_other) identif... | Merge information from another PhoneNumber object into this one. |
(module
(function_definition
(function_name_jinja_extensions_feature) function_name_jinja_extensions_feature
(parameters
(identifier_app) identifier_app
)parameters
(block
(expression_statement
(assignment
(subscript
(attribute
(attribute
... | Enables custom templating extensions |
(module
(function_definition
(function_name_folder2db) function_name_folder2db
(parameters
(identifier_folder_name) identifier_folder_name
(identifier_debug) identifier_debug
(identifier_energy_limit) identifier_energy_limit
(identifier_skip_folders) identifier_skip_folders
(iden... | Read folder and collect data in local sqlite3 database |
(module
(function_definition
(function_name_atlas_node_stop) function_name_atlas_node_stop
(parameters
(identifier_atlas_state) identifier_atlas_state
)parameters
(block
(for_statement
(identifier_component) identifier_component
(call
(attribute
(ident... | Stop the atlas node threads |
(module
(function_definition
(function_name_upsert_result) function_name_upsert_result
(parameters
(identifier_client_site_url) identifier_client_site_url
(identifier_apikey) identifier_apikey
(identifier_resource_id) identifier_resource_id
(identifier_result) identifier_result
)pa... | Post the given link check result to the client site. |
(module
(function_definition
(function_name_gen_sites) function_name_gen_sites
(parameters
(identifier_path) identifier_path
)parameters
(block
(expression_statement
(string_" Seek sites by path. ") string_" Seek sites by path. "
)expression_statement
(for_statement
... | Seek sites by path. |
(module
(function_definition
(function_name__map_query_path_to_outputs) function_name__map_query_path_to_outputs
(parameters
(identifier_construct_result) identifier_construct_result
(identifier_query_path_to_location_info) identifier_query_path_to_location_info
)parameters
(block
(e... | Assign the output fields of a ConstructResult block to their respective query_path. |
(module
(function_definition
(function_name_table_ensure) function_name_table_ensure
(parameters
(identifier_cls) identifier_cls
(identifier_rr) identifier_rr
)parameters
(block
(expression_statement
(assignment
(identifier_dbs) identifier_dbs
(call
... | Creates the table if it doesn't exist. |
(module
(function_definition
(function_name_update_admin_object_resource) function_name_update_admin_object_resource
(parameters
(identifier_name) identifier_name
(default_parameter
(identifier_server) identifier_server
(None) None
)default_parameter
(dictionary_splat_p... | Update a JMS destination |
(module
(function_definition
(function_name_init1) function_name_init1
(parameters
(identifier_self) identifier_self
(identifier_dae) identifier_dae
)parameters
(block
(expression_statement
(assignment
(attribute
(identifier_self) identifier_self
... | Set initial voltage for time domain simulation |
(module
(function_definition
(function_name__iter_over_selections) function_name__iter_over_selections
(parameters
(identifier_obj) identifier_obj
(identifier_dim) identifier_dim
(identifier_values) identifier_values
)parameters
(block
(import_from_statement
(relative_i... | Iterate over selections of an xarray object in the provided order. |
(module
(function_definition
(function_name_create_lzma) function_name_create_lzma
(parameters
(identifier_archive) identifier_archive
(identifier_compression) identifier_compression
(identifier_cmd) identifier_cmd
(identifier_verbosity) identifier_verbosity
(identifier_interacti... | Create an LZMA archive with the lzma Python module. |
(module
(function_definition
(function_name__setup) function_name__setup
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(call
(attribute
(identifier_default_settings) identifier_default_settings
(identifier_r... | Initial setup, run once. |
(module
(function_definition
(function_name_delete) function_name_delete
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_for_update) identifier_for_update
(False) False
)default_parameter
)parameters
(block
(expression_statement
... | Delete the given model instance. |
(module
(function_definition
(function_name_extract_images_generic) function_name_extract_images_generic
(parameters
(identifier_pike) identifier_pike
(identifier_root) identifier_root
(identifier_log) identifier_log
(identifier_options) identifier_options
)parameters
(block
... | Extract any >=2bpp image we think we can improve |
(module
(function_definition
(function_name_spacings) function_name_spacings
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_result_invsq) identifier_result_invsq
(call
(attribute
... | Computes the distances between neighboring crystal planes |
(module
(function_definition
(function_name_remove_class) function_name_remove_class
(parameters
(identifier_self) identifier_self
(identifier_ioclass) identifier_ioclass
)parameters
(block
(expression_statement
(assignment
(identifier_current_ioclasses) identifier_... | Remove VNXIOClass instance from policy. |
(module
(function_definition
(function_name_count_channels) function_name_count_channels
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_merge) identifier_merge
(subscript
(attribute
... | If more than one channel selected, activate merge checkbox. |
(module
(function_definition
(function_name__dict_increment) function_name__dict_increment
(parameters
(identifier_self) identifier_self
(identifier_dictionary) identifier_dictionary
(identifier_key) identifier_key
)parameters
(block
(if_statement
(comparison_operator
... | Increments the value of the dictionary at the specified key. |
(module
(function_definition
(function_name_adj_nodes_ali) function_name_adj_nodes_ali
(parameters
(identifier_ali_nodes) identifier_ali_nodes
)parameters
(block
(for_statement
(identifier_node) identifier_node
(identifier_ali_nodes) identifier_ali_nodes
(block
... | Adjust details specific to AliCloud. |
(module
(function_definition
(function_name_move) function_name_move
(parameters
(identifier_self) identifier_self
(identifier_dst) identifier_dst
)parameters
(block
(expression_statement
(string_"Closes then moves the file to dst.") string_"Closes then moves the file to dst.... | Closes then moves the file to dst. |
(module
(function_definition
(function_name_NotifyAboutEnd) function_name_NotifyAboutEnd
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_flow_ref) identifier_flow_ref
(None) None
)assignment
... | Send out a final notification about the end of this flow. |
(module
(function_definition
(function_name_use_comparative_objective_view) function_name_use_comparative_objective_view
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(subscript
(attribute
(ide... | Pass through to provider ObjectiveLookupSession.use_comparative_objective_view |
(module
(function_definition
(function_name_word_under_cursor_pos) function_name_word_under_cursor_pos
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(call
(attribute
(attribute
(identifier_self) identifier... | Return start and end positions of the cursor respectively. |
(module
(function_definition
(function_name_log_assist_request_without_audio) function_name_log_assist_request_without_audio
(parameters
(identifier_assist_request) identifier_assist_request
)parameters
(block
(if_statement
(call
(attribute
(call
... | Log AssistRequest fields without audio data. |
(module
(function_definition
(function_name_dismissWorkers) function_name_dismissWorkers
(parameters
(identifier_self) identifier_self
(identifier_num_workers) identifier_num_workers
)parameters
(block
(for_statement
(identifier_i) identifier_i
(call
(identi... | Tell num_workers worker threads to quit after their current task. |
(module
(function_definition
(function_name_start) function_name_start
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(parenthesized_expression
(comparison_operator
(attribute
(attribute
(identifier... | Start the logging for this entry |
(module
(function_definition
(function_name__connect) function_name__connect
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(attribute
(identifier_self) identifier_self
(identifier_waiting) identi... | Start asynchronous reconnect loop. |
(module
(function_definition
(function_name_rastrigin) function_name_rastrigin
(parameters
(identifier_self) identifier_self
(identifier_x) identifier_x
)parameters
(block
(if_statement
(not_operator
(call
(identifier_isscalar) identifier_isscalar
... | Rastrigin test objective function |
(module
(function_definition
(function_name__resolve) function_name__resolve
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_endpoints) identifier_endpoints
(dictionary
)dictionary
... | Query the consul DNS server for the service IP and port |
(module
(function_definition
(function_name__http_date) function_name__http_date
(parameters
(typed_parameter
(identifier__date_str) identifier__date_str
(type
(identifier_str) identifier_str
)type
)typed_parameter
)parameters
(type
(generic_type
... | Process a date string, return a datetime object |
(module
(function_definition
(function_name_makeControlModePacket) function_name_makeControlModePacket
(parameters
(identifier_ID) identifier_ID
(identifier_mode) identifier_mode
)parameters
(block
(expression_statement
(assignment
(identifier_pkt) identifier_pkt
... | Sets the xl-320 to either servo or wheel mode |
(module
(function_definition
(function_name_to_attrs) function_name_to_attrs
(parameters
(identifier_args) identifier_args
(default_parameter
(identifier_nocreate_if_none) identifier_nocreate_if_none
(list
(string_'id') string_'id'
(string_'for') string_'for'
... | Make python dict to k="v" format |
(module
(function_definition
(function_name_versions) function_name_versions
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_versions) identifier_versions
(list
)list
)assignment
... | Return all version changes. |
(module
(function_definition
(function_name_sqrt) function_name_sqrt
(parameters
(identifier_n) identifier_n
)parameters
(block
(if_statement
(call
(identifier_isinstance) identifier_isinstance
(argument_list
(identifier_n) identifier_n
(... | return the square root of n in an exact representation |
(module
(function_definition
(function_name_callback) function_name_callback
(parameters
(identifier_request) identifier_request
)parameters
(block
(expression_statement
(assignment
(identifier_message_id) identifier_message_id
(call
(attribute
... | Callback URL for Nexmo. |
(module
(function_definition
(function_name_form_valid) function_name_form_valid
(parameters
(identifier_self) identifier_self
(identifier_form) identifier_form
)parameters
(block
(expression_statement
(assignment
(identifier_response) identifier_response
... | The request from ulogin service is correct |
(module
(function_definition
(function_name_find) function_name_find
(parameters
(identifier_self) identifier_self
(identifier_entry_id) identifier_entry_id
(default_parameter
(identifier_query) identifier_query
(None) None
)default_parameter
)parameters
(block
... | Gets a single entry by ID. |
(module
(function_definition
(function_name_incrementSub) function_name_incrementSub
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_amount) identifier_amount
(integer_1) integer_1
)default_parameter
)parameters
(block
(expression_st... | Increments the sub-progress bar by amount. |
(module
(function_definition
(function_name_parse) function_name_parse
(parameters
(identifier_cls) identifier_cls
(identifier_key) identifier_key
)parameters
(block
(try_statement
(block
(if_statement
(call
(identifier_isinstance) identifi... | Parse a key represented by a string and return its character code. |
(module
(function_definition
(function_name_connect) function_name_connect
(parameters
(identifier_self) identifier_self
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictionary_splat_pattern
)parameters
(block
(try_statement
(block
... | Connect to Google Compute Engine. |
(module
(function_definition
(function_name_get) function_name_get
(parameters
(identifier_cls) identifier_cls
(identifier_name) identifier_name
(identifier_definition) identifier_definition
(identifier_output_dir) identifier_output_dir
)parameters
(block
(if_statement
... | Dispatch to the right subclass based on the definition. |
(module
(function_definition
(function_name_done) function_name_done
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(call
(attribute
(identifier_logger) identifier_logger
(identifier_info) identifier_info
... | Creates temporary file to mark the task as `done` |
(module
(function_definition
(function_name_avl_release_kids) function_name_avl_release_kids
(parameters
(identifier_node) identifier_node
)parameters
(block
(expression_statement
(assignment
(pattern_list
(identifier_left) identifier_left
(identif... | splits a node from its kids maintaining parent pointers |
(module
(function_definition
(function_name_match) function_name_match
(parameters
(identifier_self) identifier_self
(identifier_name) identifier_name
)parameters
(block
(for_statement
(identifier_pat) identifier_pat
(attribute
(identifier_self) identifier_s... | Returns True if name matches one of the patterns. |
(module
(function_definition
(function_name_find_gui_and_backend) function_name_find_gui_and_backend
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_matplotlib) identifier_matplotlib
(subscript
(attribute
(identif... | Return the gui and mpl backend. |
(module
(function_definition
(function_name_joined) function_name_joined
(parameters
(identifier_self) identifier_self
(identifier_a) identifier_a
(identifier_b) identifier_b
)parameters
(block
(expression_statement
(assignment
(identifier_mapping) identifier_... | Returns True if a and b are members of the same set. |
(module
(function_definition
(function_name__deduce_security) function_name__deduce_security
(parameters
(identifier_kwargs) identifier_kwargs
)parameters
(type
(attribute
(identifier_nmcli) identifier_nmcli
(identifier_SECURITY_TYPES) identifier_SECURITY_TYPES
)attri... | Make sure that the security_type is known, or throw. |
(module
(function_definition
(function_name_output_file_name) function_name_output_file_name
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_safe_path) identifier_safe_path
(call
(attribu... | Name of the file where plugin's output should be written to. |
(module
(function_definition
(function_name_main) function_name_main
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_p) identifier_p
(call
(attribute
(identifier_argparse) identifier_argparse
(identi... | Print checksum and file name for all files in the directory. |
(module
(function_definition
(function_name_xor) function_name_xor
(parameters
(list_splat_pattern
(identifier_variables) identifier_variables
)list_splat_pattern
)parameters
(block
(expression_statement
(assignment
(identifier_sum_) identifier_sum_
... | XOR definition for multiple variables |
(module
(function_definition
(function_name_job_file) function_name_job_file
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_job_file_name) identifier_job_file_name
(binary_operator
(stri... | The path to the submit description file representing this job. |
(module
(function_definition
(function_name_collection) function_name_collection
(parameters
(identifier_self) identifier_self
(identifier_attribute) identifier_attribute
)parameters
(block
(return_statement
(subscript
(dictionary
(pair
(st... | Returns the collection corresponding the attribute name. |
(module
(function_definition
(function_name_save_config) function_name_save_config
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(subscript
(attribute
(identifier_self) identifier_self
... | Save the config to the config file. |
(module
(function_definition
(function_name_setTopRight) function_name_setTopRight
(parameters
(identifier_self) identifier_self
(identifier_loc) identifier_loc
)parameters
(block
(expression_statement
(assignment
(identifier_offset) identifier_offset
(cal... | Move this region so its top right corner is on ``loc`` |
(module
(function_definition
(function_name_itermonthdays2) function_name_itermonthdays2
(parameters
(identifier_cls) identifier_cls
(identifier_year) identifier_year
(identifier_month) identifier_month
)parameters
(block
(for_statement
(identifier_day) identifier_day
... | Similar to itermonthdays2 but returns tuples of day and weekday. |
(module
(function_definition
(function_name_send_rgb) function_name_send_rgb
(parameters
(identifier_dev) identifier_dev
(identifier_red) identifier_red
(identifier_green) identifier_green
(identifier_blue) identifier_blue
(identifier_dimmer) identifier_dimmer
)parameters
... | Send a set of RGB values to the light |
(module
(function_definition
(function_name_update) function_name_update
(parameters
(identifier_self) identifier_self
(identifier_dist) identifier_dist
)parameters
(block
(assert_statement
(call
(identifier_isinstance) identifier_isinstance
(argument_list... | Adds the given distribution's counts to the current distribution. |
(module
(function_definition
(function_name__getSectionIds) function_name__getSectionIds
(parameters
(identifier_self) identifier_self
(identifier_server) identifier_server
(identifier_sections) identifier_sections
)parameters
(block
(if_statement
(not_operator
... | Converts a list of section objects or names to sectionIds needed for library sharing. |
(module
(function_definition
(function_name__construct_module) function_name__construct_module
(parameters
(identifier_info) identifier_info
(identifier_target) identifier_target
)parameters
(block
(for_statement
(identifier_path) identifier_path
(identifier_paths) id... | Build a module from templates and user supplied information |
(module
(function_definition
(function_name_CreateUser) function_name_CreateUser
(parameters
(identifier_username) identifier_username
(default_parameter
(identifier_password) identifier_password
(None) None
)default_parameter
(default_parameter
(identifier_is_a... | Creates a new GRR user. |
(module
(function_definition
(function_name_send_up) function_name_send_up
(parameters
(identifier_self) identifier_self
(identifier_count) identifier_count
)parameters
(block
(for_statement
(identifier_i) identifier_i
(call
(identifier_range) identifier_ran... | Sends the given number of up key presses. |
(module
(function_definition
(function_name_thumb) function_name_thumb
(parameters
(identifier_self) identifier_self
(identifier_obj) identifier_obj
)parameters
(block
(expression_statement
(assignment
(pattern_list
(identifier_format) identifier_format
... | Generates html and thumbnails for admin site. |
(module
(function_definition
(function_name_unplug) function_name_unplug
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(not_operator
(attribute
(identifier_self) identifier_self
(identifier___plugged) identifier___p... | Remove the actor's methods from the callback registry. |
(module
(function_definition
(function_name_error_retry_codes) function_name_error_retry_codes
(parameters
(identifier_self) identifier_self
(identifier_value) identifier_value
)parameters
(block
(if_statement
(call
(identifier_isinstance) identifier_isinstance
... | Set value for error_retry_codes. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.