sequence stringlengths 731 13.6k | docstring stringlengths 11 171 |
|---|---|
(module
(function_definition
(function_name_round_to_int) function_name_round_to_int
(parameters
(identifier_number) identifier_number
(identifier_precision) identifier_precision
)parameters
(block
(expression_statement
(assignment
(identifier_precision) identifier_... | Round a number to a precision |
(module
(function_definition
(function_name__create_id) function_name__create_id
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_cursor) identifier_cursor
(call
(attribute
(... | Returns a freshly created DB-wide unique ID. |
(module
(function_definition
(function_name_hasFeature) function_name_hasFeature
(parameters
(identifier_self) identifier_self
(identifier_prop) identifier_prop
(default_parameter
(identifier_check_softs) identifier_check_softs
(False) False
)default_parameter
)para... | Return if there is a property with that name. |
(module
(function_definition
(function_name_namedb_update_must_equal) function_name_namedb_update_must_equal
(parameters
(identifier_rec) identifier_rec
(identifier_change_fields) identifier_change_fields
)parameters
(block
(expression_statement
(assignment
(identif... | Generate the set of fields that must stay the same across an update. |
(module
(function_definition
(function_name_unholdAction) function_name_unholdAction
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(attribute
(identifier_self) identifier_self
(identifier__action... | Unholds the action from being blocked on the leave event. |
(module
(function_definition
(function_name_during) function_name_during
(parameters
(identifier_self) identifier_self
(identifier_year) identifier_year
(identifier_month) identifier_month
)parameters
(block
(return_statement
(call
(attribute
(iden... | Return Transfers between a certain time range. |
(module
(function_definition
(function_name_push) function_name_push
(parameters
(identifier_self) identifier_self
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictionary... | Push commits to remote |
(module
(function_definition
(function_name_save_email) function_name_save_email
(parameters
(identifier_self) identifier_self
(identifier_list_name) identifier_list_name
(identifier_email_msg) identifier_email_msg
(identifier_index) identifier_index
)parameters
(block
(e... | Save email message into the database. |
(module
(function_definition
(function_name_via_clb_upi) function_name_via_clb_upi
(parameters
(identifier_self) identifier_self
(identifier_clb_upi) identifier_clb_upi
(identifier_det_id) identifier_det_id
)parameters
(block
(try_statement
(block
(return_stat... | return DOM for given CLB UPI |
(module
(function_definition
(function_name_tile_sprite) function_name_tile_sprite
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_out_format) identifier_out_format
(string_"sprite.json") string_"sprite.json"
)default_parameter
(default_para... | This resource returns sprite image and metadata |
(module
(function_definition
(function_name_device_status) function_name_device_status
(parameters
(identifier_self) identifier_self
)parameters
(block
(try_statement
(block
(return_statement
(call
(attribute
(identifier_self) ide... | Return the status of the device as string. |
(module
(function_definition
(function_name_unpack_attribute) function_name_unpack_attribute
(parameters
(identifier_att) identifier_att
)parameters
(block
(if_statement
(attribute
(identifier_att) identifier_att
(identifier_unsigned) identifier_unsigned
... | Unpack an embedded attribute into a python or numpy object. |
(module
(function_definition
(function_name__get_view_result) function_name__get_view_result
(parameters
(identifier_view) identifier_view
(identifier_raw_result) identifier_raw_result
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictionary_splat_pattern
... | Get view results helper. |
(module
(function_definition
(function_name_runGetCallSet) function_name_runGetCallSet
(parameters
(identifier_self) identifier_self
(identifier_id_) identifier_id_
)parameters
(block
(expression_statement
(assignment
(identifier_compoundId) identifier_compoundId
... | Returns a callset with the given id |
(module
(function_definition
(function_name_create_bcm_socket) function_name_create_bcm_socket
(parameters
(identifier_channel) identifier_channel
)parameters
(block
(expression_statement
(assignment
(identifier_s) identifier_s
(call
(attribute
... | create a broadcast manager socket and connect to the given interface |
(module
(function_definition
(function_name_copy) function_name_copy
(parameters
(identifier_self) identifier_self
(identifier__) identifier__
)parameters
(block
(expression_statement
(assignment
(identifier_c) identifier_c
(call
(identifier_Si... | Return a copy of the SimMemory. |
(module
(function_definition
(function_name__wrap_result) function_name__wrap_result
(parameters
(identifier_self) identifier_self
(identifier_result) identifier_result
(default_parameter
(identifier_block) identifier_block
(None) None
)default_parameter
(default_... | Wrap a single result. |
(module
(function_definition
(function_name__validate_incident_date_range) function_name__validate_incident_date_range
(parameters
(identifier_incident) identifier_incident
(identifier_numdays) identifier_numdays
)parameters
(block
(try_statement
(block
(expression_... | Returns true if incident is within date range |
(module
(function_definition
(function_name_save_json_metadata) function_name_save_json_metadata
(parameters
(identifier_self) identifier_self
(typed_parameter
(identifier_package_info) identifier_package_info
(type
(identifier_Dict) identifier_Dict
)type
)t... | Take the JSON metadata we just fetched and save to disk |
(module
(function_definition
(function_name_css_files) function_name_css_files
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_bokehjsdir) identifier_bokehjsdir
(call
(attribute
... | The CSS files in the BokehJS directory. |
(module
(function_definition
(function_name__connect_signals) function_name__connect_signals
(parameters
)parameters
(block
(for_statement
(identifier_index) identifier_index
(call
(attribute
(identifier_settings) identifier_settings
(identifier_... | Connect up post_save, post_delete signals for models. |
(module
(function_definition
(function_name_ensure_context) function_name_ensure_context
(parameters
(dictionary_splat_pattern
(identifier_vars) identifier_vars
)dictionary_splat_pattern
)parameters
(block
(expression_statement
(assignment
(identifier_ctx) i... | Ensures that a context is in the stack, creates one otherwise. |
(module
(function_definition
(function_name_bump) function_name_bump
(parameters
(identifier_db) identifier_db
(identifier_aid) identifier_aid
)parameters
(block
(expression_statement
(assignment
(identifier_anime) identifier_anime
(call
(ident... | Bump anime regular episode count. |
(module
(function_definition
(function_name_valid_host_with_port) function_name_valid_host_with_port
(parameters
(identifier_hostport) identifier_hostport
)parameters
(block
(expression_statement
(assignment
(pattern_list
(identifier_host) identifier_host
... | matches hostname or an IP, optionally with a port |
(module
(function_definition
(function_name_render_items) function_name_render_items
(parameters
(identifier_self) identifier_self
(identifier_placeholder) identifier_placeholder
(identifier_items) identifier_items
(default_parameter
(identifier_parent_object) identifier_parent... | The main rendering sequence. |
(module
(function_definition
(function_name_glob_files_locally) function_name_glob_files_locally
(parameters
(identifier_folder_path) identifier_folder_path
(identifier_pattern) identifier_pattern
)parameters
(block
(expression_statement
(assignment
(identifier_patt... | glob files in local folder based on the given pattern |
(module
(function_definition
(function_name_generate_heightmap) function_name_generate_heightmap
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_buffer) identifier_buffer
(False) False
)default_parameter
(default_parameter
(identifie... | Return a heightmap, representing the highest solid blocks in this chunk. |
(module
(function_definition
(function_name__getf) function_name__getf
(parameters
(identifier_self) identifier_self
(identifier_id) identifier_id
)parameters
(block
(try_statement
(block
(expression_statement
(assignment
(identifier_filena... | Open a cached file with the given id for reading. |
(module
(function_definition
(function_name__GenerateClientInfo) function_name__GenerateClientInfo
(parameters
(identifier_self) identifier_self
(identifier_client_id) identifier_client_id
(identifier_client_fd) identifier_client_fd
)parameters
(block
(expression_statement
... | Yields chucks of archive information for given client. |
(module
(function_definition
(function_name_download) function_name_download
(parameters
(identifier_self) identifier_self
(identifier_project) identifier_project
(identifier_filename) identifier_filename
(identifier_targetfilename) identifier_targetfilename
(default_parameter
... | Download an output file |
(module
(function_definition
(function_name__get_query) function_name__get_query
(parameters
(identifier_self) identifier_self
(dictionary_splat_pattern
(identifier_query_dict) identifier_query_dict
)dictionary_splat_pattern
)parameters
(block
(expression_statement
... | Perform a GET query against Solr and return the response as a Python dict. |
(module
(function_definition
(function_name_validate_required_attributes) function_name_validate_required_attributes
(parameters
(identifier_self) identifier_self
(typed_parameter
(list_splat_pattern
(identifier_attributes) identifier_attributes
)list_splat_pattern
... | Validates that the schema contains a series of required attributes |
(module
(function_definition
(function_name__make_headers) function_name__make_headers
(parameters
(identifier_config) identifier_config
(identifier_kwargs) identifier_kwargs
)parameters
(block
(expression_statement
(assignment
(identifier_headers) identifier_header... | Replace the kwargs with one where the headers include our user-agent |
(module
(function_definition
(function_name__init_rgb) function_name__init_rgb
(parameters
(identifier_self) identifier_self
(typed_parameter
(identifier_r) identifier_r
(type
(identifier_int) identifier_int
)type
)typed_parameter
(typed_parameter
... | Initialize from red, green, blue args. |
(module
(function_definition
(function_name_ln) function_name_ln
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_h) identifier_h
(string_'') string_''
)default_parameter
)parameters
(block
(expression_statement
(string_"Line ... | Line Feed; default value is last cell height |
(module
(function_definition
(function_name_authentication_required) function_name_authentication_required
(parameters
(identifier_function) identifier_function
)parameters
(block
(function_definition
(function_name_wrapped) function_name_wrapped
(parameters
(iden... | Annotation for methods that require auth. |
(module
(function_definition
(function_name_prepare_storage_dir) function_name_prepare_storage_dir
(parameters
(identifier_storage_directory) identifier_storage_directory
)parameters
(block
(expression_statement
(assignment
(identifier_storage_directory) identifier_storag... | Prepare the storage directory. |
(module
(function_definition
(function_name__edit1) function_name__edit1
(parameters
(identifier_self) identifier_self
(identifier_w) identifier_w
)parameters
(block
(expression_statement
(assignment
(identifier_split) identifier_split
(list_comprehension
... | Returns a set of words with edit distance 1 from the given word. |
(module
(function_definition
(function_name__show_organisation_logo) function_name__show_organisation_logo
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_dock_width) identifier_dock_width
(call
... | Show the organisation logo in the dock if possible. |
(module
(function_definition
(function_name_main) function_name_main
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_args) identifier_args
(call
(identifier_parse_args) identifier_parse_args
(argument_list
... | Return 0 on success. |
(module
(function_definition
(function_name__connect) function_name__connect
(parameters
(identifier_self) identifier_self
)parameters
(type
(string_"Connection") string_"Connection"
)type
(block
(if_statement
(comparison_operator
(attribute
(ide... | Connect to the actual sqlite database. |
(module
(function_definition
(function_name_functions) function_name_functions
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_names) identifier_names
(list
)list
)assignment
... | Return a sorted list of the function names available on the object. |
(module
(function_definition
(function_name_best_genomes) function_name_best_genomes
(parameters
(identifier_self) identifier_self
(identifier_n) identifier_n
)parameters
(block
(function_definition
(function_name_key) function_name_key
(parameters
(identifi... | Returns the n most fit genomes ever seen. |
(module
(function_definition
(function_name__optlist) function_name__optlist
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_res) identifier_res
(string_"") string_""
)assignment
)expre... | Get a string representation of the options in short format. |
(module
(function_definition
(function_name__get_conn) function_name__get_conn
(parameters
(default_parameter
(identifier_ret) identifier_ret
(None) None
)default_parameter
)parameters
(block
(expression_statement
(assignment
(identifier__options) id... | Return a sqlite3 database connection |
(module
(function_definition
(function_name_from_label) function_name_from_label
(parameters
(identifier_cls) identifier_cls
(identifier_label) identifier_label
(default_parameter
(identifier_datacenter) identifier_datacenter
(None) None
)default_parameter
)paramete... | Retrieve disk image id associated to a label. |
(module
(function_definition
(function_name_register_job) function_name_register_job
(parameters
(identifier_self) identifier_self
(identifier_job_details) identifier_job_details
)parameters
(block
(try_statement
(block
(expression_statement
(assignment
... | Register a job in this `JobArchive` |
(module
(function_definition
(function_name_ready) function_name_ready
(parameters
(identifier_self) identifier_self
)parameters
(block
(import_from_statement
(dotted_name
(identifier_django) identifier_django
(identifier_contrib) identifier_contrib
(i... | update Django Rest Framework serializer mappings |
(module
(function_definition
(function_name_in_pathing_grid) function_name_in_pathing_grid
(parameters
(identifier_self) identifier_self
(typed_parameter
(identifier_pos) identifier_pos
(type
(generic_type
(identifier_Union) identifier_Union
(type_... | Returns True if a unit can pass through a grid point. |
(module
(function_definition
(function_name_heirarchical_help) function_name_heirarchical_help
(parameters
(identifier_shovel) identifier_shovel
(identifier_prefix) identifier_prefix
)parameters
(block
(expression_statement
(assignment
(identifier_result) identifier... | Given a shovel of tasks, display a heirarchical list of the tasks |
(module
(function_definition
(function_name_serve_once) function_name_serve_once
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_request_adu) identifier_request_adu
(call
(attribute
... | Listen and handle 1 request. |
(module
(function_definition
(function_name_from_dict) function_name_from_dict
(parameters
(identifier_cls) identifier_cls
(identifier_d) identifier_d
)parameters
(block
(return_statement
(call
(identifier_Dos) identifier_Dos
(argument_list
(su... | Returns Dos object from dict representation of Dos. |
(module
(function_definition
(function_name_all_query) function_name_all_query
(parameters
(identifier_expression) identifier_expression
)parameters
(block
(function_definition
(function_name__all) function_name__all
(parameters
(identifier_index) identifier_index... | Match arrays that contain all elements in the query. |
(module
(function_definition
(function_name_parse) function_name_parse
(parameters
(identifier_class_) identifier_class_
(identifier_f) identifier_f
(default_parameter
(identifier_include_transactions) identifier_include_transactions
(True) True
)default_parameter
... | Parse the Block from the file-like object |
(module
(function_definition
(function_name_api_request) function_name_api_request
(parameters
(identifier_self) identifier_self
(identifier_method) identifier_method
(identifier_path) identifier_path
)parameters
(block
(if_statement
(not_operator
(call
... | Query Sensu api for information. |
(module
(function_definition
(function_name_run_queue) function_name_run_queue
(parameters
(identifier_self) identifier_self
(identifier_pool) identifier_pool
)parameters
(block
(function_definition
(function_name_callback) function_name_callback
(parameters
... | Given a pool, submit jobs from the queue to the pool. |
(module
(function_definition
(function_name_cut_distant_injections) function_name_cut_distant_injections
(parameters
(identifier_workflow) identifier_workflow
(identifier_inj_file) identifier_inj_file
(identifier_out_dir) identifier_out_dir
(default_parameter
(identifier_tags) ... | Set up a job for removing injections that are too distant to be seen |
(module
(function_definition
(function_name_debug_sleep) function_name_debug_sleep
(parameters
(identifier_self) identifier_self
(identifier_timeout) identifier_timeout
)parameters
(block
(expression_statement
(assignment
(identifier_fut) identifier_fut
(c... | Suspend connection for timeout seconds. |
(module
(function_definition
(function_name_delete_network_precommit) function_name_delete_network_precommit
(parameters
(identifier_self) identifier_self
(identifier_context) identifier_context
)parameters
(block
(expression_statement
(assignment
(identifier_segmen... | Delete entry corresponding to Network's VLAN in the DB. |
(module
(function_definition
(function_name_atlasdb_reset_zonefile_tried_storage) function_name_atlasdb_reset_zonefile_tried_storage
(parameters
(default_parameter
(identifier_con) identifier_con
(None) None
)default_parameter
(default_parameter
(identifier_path) iden... | For zonefiles that we don't have, re-attempt to fetch them from storage. |
(module
(function_definition
(function_name_convert_from_sliced_object) function_name_convert_from_sliced_object
(parameters
(identifier_data) identifier_data
)parameters
(block
(if_statement
(boolean_operator
(boolean_operator
(comparison_operator
... | Fix the memory of multi-dimensional sliced object. |
(module
(function_definition
(function_name_put) function_name_put
(parameters
(identifier_properties) identifier_properties
(default_parameter
(identifier_ttl) identifier_ttl
(None) None
)default_parameter
(default_parameter
(identifier_ctx) identifier_ctx
... | Decorator dedicated to put properties on an element. |
(module
(function_definition
(function_name_consistent) function_name_consistent
(parameters
(identifier_self) identifier_self
(identifier_lab) identifier_lab
)parameters
(block
(for_statement
(identifier_const) identifier_const
(attribute
(identifier_self) ... | Check whether the labeling is consistent with all constraints |
(module
(function_definition
(function_name__clean_salt_variables) function_name__clean_salt_variables
(parameters
(identifier_params) identifier_params
(default_parameter
(identifier_variable_prefix) identifier_variable_prefix
(string_"__") string_"__"
)default_parameter
... | Pops out variables from params which starts with `variable_prefix`. |
(module
(function_definition
(function_name_download_and_expand) function_name_download_and_expand
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_top_dir_name) identifier_top_dir_name
(None) None
... | Download and expand RPM Python binding. |
(module
(function_definition
(function_name_run) function_name_run
(parameters
(identifier_X_train) identifier_X_train
(identifier_X_test) identifier_X_test
(identifier_y_train) identifier_y_train
(identifier_y_test) identifier_y_test
(identifier_PARAMS) identifier_PARAMS
)pa... | Train model and predict result |
(module
(function_definition
(function_name__draw_linenumber) function_name__draw_linenumber
(parameters
(identifier_self) identifier_self
(identifier_posno) identifier_posno
(identifier_lineno) identifier_lineno
)parameters
(block
(expression_statement
(call
... | Remember a line number drawable to paint later. |
(module
(function_definition
(function_name_paste) function_name_paste
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_html) identifier_html
(call
(attribute
(call
... | Pastes text from the clipboard into this edit. |
(module
(function_definition
(function_name_update_reserved_switch_binding) function_name_update_reserved_switch_binding
(parameters
(identifier_switch_ip) identifier_switch_ip
(identifier_state) identifier_state
)parameters
(block
(expression_statement
(call
(ident... | Update a reserved switch binding. |
(module
(function_definition
(function_name_sub) function_name_sub
(parameters
(identifier_self) identifier_self
(identifier_num) identifier_num
)parameters
(block
(try_statement
(block
(expression_statement
(assignment
(identifier_val) ide... | Subtracts num from the current value |
(module
(function_definition
(function_name_update_bounds) function_name_update_bounds
(parameters
(identifier_self) identifier_self
(identifier_bounds) identifier_bounds
)parameters
(block
(expression_statement
(assignment
(attribute
(identifier_self) i... | Update the bounds inplace |
(module
(function_definition
(function_name_save) function_name_save
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_force_insert) identifier_force_insert
(False) False
)default_parameter
(default_parameter
(identifier_force_update) ... | Clear the cached value when saving a new configuration entry |
(module
(function_definition
(function_name_as_raw_link) function_name_as_raw_link
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(comparison_operator
(attribute
(identifier_self) identifier_self
(identifier_link_typ... | Returns a GithubLink to a raw content. |
(module
(function_definition
(function_name_better) function_name_better
(parameters
(identifier_old_value) identifier_old_value
(identifier_new_value) identifier_new_value
(identifier_mode) identifier_mode
)parameters
(block
(if_statement
(boolean_operator
(p... | Check if new value is better than the old value |
(module
(function_definition
(function_name_populateFromRow) function_name_populateFromRow
(parameters
(identifier_self) identifier_self
(identifier_peerRecord) identifier_peerRecord
)parameters
(block
(expression_statement
(call
(attribute
(call
... | This method accepts a model record and sets class variables. |
(module
(function_definition
(function_name_complete_worker) function_name_complete_worker
(parameters
(identifier_self) identifier_self
(identifier_text) identifier_text
(identifier_line) identifier_line
(identifier_begidx) identifier_begidx
(identifier_endidx) identifier_endidx... | Tab-complete worker command. |
(module
(function_definition
(function_name_start_new_log) function_name_start_new_log
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_filename) identifier_filename
(call
(attribute
... | open a new dataflash log, reset state |
(module
(function_definition
(function_name_style_print) function_name_style_print
(parameters
(list_splat_pattern
(identifier_values) identifier_values
)list_splat_pattern
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictionary_splat_pattern
)pa... | A convenience function that applies style_format to text before printing |
(module
(function_definition
(function_name_describe_data_and_buckets) function_name_describe_data_and_buckets
(parameters
(typed_parameter
(identifier_data_statistics) identifier_data_statistics
(type
(identifier_DataStatistics) identifier_DataStatistics
)type
)t... | Describes statistics across buckets |
(module
(function_definition
(function_name_fit_linear) function_name_fit_linear
(parameters
(identifier_X) identifier_X
(identifier_y) identifier_y
)parameters
(block
(expression_statement
(assignment
(identifier_model) identifier_model
(call
... | Uses OLS to fit the regression. |
(module
(function_definition
(function_name__extract_email) function_name__extract_email
(parameters
(identifier_gh) identifier_gh
)parameters
(block
(return_statement
(call
(identifier_next) identifier_next
(argument_list
(generator_expression
... | Get user email from github. |
(module
(function_definition
(function_name_permute) function_name_permute
(parameters
(identifier_self) identifier_self
(typed_parameter
(identifier_qubits) identifier_qubits
(type
(identifier_Qubits) identifier_Qubits
)type
)typed_parameter
)parameters... | Return a copy of this channel with qubits in new order |
(module
(function_definition
(function_name_tbframes) function_name_tbframes
(parameters
(identifier_tb) identifier_tb
)parameters
(block
(expression_statement
(string_'unwind traceback tb_next structure to array') string_'unwind traceback tb_next structure to array'
)express... | unwind traceback tb_next structure to array |
(module
(function_definition
(function_name_parse_yaml) function_name_parse_yaml
(parameters
(identifier_self) identifier_self
(identifier_y) identifier_y
)parameters
(block
(expression_statement
(call
(attribute
(call
(identifier_super) id... | Parse a YAML specification of a target port into this object. |
(module
(function_definition
(function_name_getPlugItObject) function_name_getPlugItObject
(parameters
(identifier_hproPk) identifier_hproPk
)parameters
(block
(import_from_statement
(dotted_name
(identifier_hprojects) identifier_hprojects
(identifier_models) id... | Return the plugit object and the baseURI to use if not in standalone mode |
(module
(function_definition
(function_name_count_tables) function_name_count_tables
(parameters
(identifier_filename_or_fobj) identifier_filename_or_fobj
(default_parameter
(identifier_encoding) identifier_encoding
(string_"utf-8") string_"utf-8"
)default_parameter
(de... | Read a file passed by arg and return your table HTML tag count. |
(module
(function_definition
(function_name___response_url) function_name___response_url
(parameters
(identifier_self) identifier_self
(identifier_message_id) identifier_message_id
)parameters
(block
(if_statement
(comparison_operator
(attribute
(attribu... | URL for responding to agent requests. |
(module
(function_definition
(function_name__createConnection) function_name__createConnection
(parameters
(identifier_self) identifier_self
(identifier_connections) identifier_connections
)parameters
(block
(for_statement
(identifier_c) identifier_c
(identifier_conne... | Create GSSHAPY Connection Objects Method |
(module
(function_definition
(function_name_cli) function_name_cli
(parameters
(identifier_ctx) identifier_ctx
(identifier_cmd) identifier_cmd
)parameters
(block
(expression_statement
(assignment
(identifier_exit_code) identifier_exit_code
(call
... | Execute commands using Apio packages. |
(module
(function_definition
(function_name_probe_sync) function_name_probe_sync
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_done) identifier_done
(call
(attribute
(iden... | Synchronously probe for devices on this adapter. |
(module
(function_definition
(function_name_ask_path) function_name_ask_path
(parameters
(typed_parameter
(identifier_question) identifier_question
(type
(identifier_str) identifier_str
)type
)typed_parameter
(typed_default_parameter
(identifier_defa... | Asks for a path |
(module
(function_definition
(function_name_subscribe) function_name_subscribe
(parameters
(identifier_self) identifier_self
(identifier_request) identifier_request
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(dictionary_splat_pattern
... | Performs the subscribe action. |
(module
(function_definition
(function_name_setCachedDataKey) function_name_setCachedDataKey
(parameters
(identifier_engineVersionHash) identifier_engineVersionHash
(identifier_key) identifier_key
(identifier_value) identifier_value
)parameters
(block
(expression_statement
... | Sets the cached data value for the specified engine version hash and dictionary key |
(module
(function_definition
(function_name__ScheduleGenericHunt) function_name__ScheduleGenericHunt
(parameters
(identifier_hunt_obj) identifier_hunt_obj
)parameters
(block
(expression_statement
(assignment
(identifier_foreman_condition) identifier_foreman_condition
... | Adds foreman rules for a generic hunt. |
(module
(function_definition
(function_name_include) function_name_include
(parameters
(identifier__name_or_func) identifier__name_or_func
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(default_parameter
(identifier__module) identifier__modul... | Resolve and call functions |
(module
(function_definition
(function_name_subdomain_row_factory) function_name_subdomain_row_factory
(parameters
(identifier_cls) identifier_cls
(identifier_cursor) identifier_cursor
(identifier_row) identifier_row
)parameters
(block
(expression_statement
(assignment
... | Dict row factory for subdomains |
(module
(function_definition
(function_name_runs) function_name_runs
(parameters
(identifier_self) identifier_self
(typed_default_parameter
(identifier_date) identifier_date
(type
(attribute
(identifier_datetime) identifier_datetime
(identifier_dat... | Return all program runs for X days from Y date. |
(module
(function_definition
(function_name_csv_dict) function_name_csv_dict
(parameters
(identifier_d) identifier_d
)parameters
(block
(if_statement
(comparison_operator
(call
(identifier_len) identifier_len
(argument_list
(identifie... | Format dict to a string with comma-separated values. |
(module
(function_definition
(function_name_added) function_name_added
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(not_operator
(attribute
(identifier_self) identifier_self
(identifier_parents) identifier_parents... | Returns list of added ``FileNode`` objects. |
(module
(function_definition
(function_name_add_device_net) function_name_add_device_net
(parameters
(identifier_self) identifier_self
(identifier_name) identifier_name
(default_parameter
(identifier_destname) identifier_destname
(None) None
)default_parameter
)para... | Add network device to running container. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.