sequence stringlengths 731 13.6k | docstring stringlengths 11 171 |
|---|---|
(module
(function_definition
(function_name_create) function_name_create
(parameters
(identifier_gitpath) identifier_gitpath
(default_parameter
(identifier_cache) identifier_cache
(None) None
)default_parameter
)parameters
(block
(if_statement
(call
... | Create a Library from a git path. |
(module
(function_definition
(function_name_publishing_prepare_published_copy) function_name_publishing_prepare_published_copy
(parameters
(identifier_self) identifier_self
(identifier_draft_obj) identifier_draft_obj
)parameters
(block
(expression_statement
(assignment
... | Prepare published copy of draft prior to saving it |
(module
(function_definition
(function_name__init_client) function_name__init_client
(parameters
)parameters
(block
(if_statement
(comparison_operator
(identifier_client) identifier_client
(None) None
)comparison_operator
(block
(return_state... | Initialize connection and create table if needed |
(module
(function_definition
(function_name_success) function_name_success
(parameters
(identifier_self) identifier_self
(identifier_request) identifier_request
(identifier_message) identifier_message
(default_parameter
(identifier_extra_tags) identifier_extra_tags
(str... | Add a message with the ``SUCCESS`` level. |
(module
(function_definition
(function_name_asrgb) function_name_asrgb
(parameters
(identifier_self) identifier_self
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictiona... | Read image data from file and return RGB image as numpy array. |
(module
(function_definition
(function_name_clear_components) function_name_clear_components
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(attribute
(identifier_ComponentRegistry) identifier_ComponentRegist... | Clear all of the registered components |
(module
(function_definition
(function_name_draw_canvas) function_name_draw_canvas
(parameters
)parameters
(block
(for_statement
(identifier_x) identifier_x
(call
(identifier_range) identifier_range
(argument_list
(call
(identifier_le... | Render the tkinter canvas based on the state of ``world`` |
(module
(function_definition
(function_name_decode_network_packet) function_name_decode_network_packet
(parameters
(identifier_buf) identifier_buf
)parameters
(block
(expression_statement
(assignment
(identifier_off) identifier_off
(integer_0) integer_0
... | Decodes a network packet in collectd format. |
(module
(function_definition
(function_name___start) function_name___start
(parameters
(identifier_self) identifier_self
)parameters
(block
(assert_statement
(not_operator
(attribute
(identifier_self) identifier_self
(identifier_dispatcher_thread) ... | Starts the real-time engine that captures tasks. |
(module
(function_definition
(function_name_delete) function_name_delete
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(string_'Delete this file and return the new, deleted JFSFile') string_'Delete this file and return the new, deleted JFSFi... | Delete this file and return the new, deleted JFSFile |
(module
(function_definition
(function_name_parse_file) function_name_parse_file
(parameters
(identifier_infile) identifier_infile
(default_parameter
(identifier_exit_on_error) identifier_exit_on_error
(True) True
)default_parameter
)parameters
(block
(try_state... | Parse a comma-separated file with columns "ra,dec,magnitude". |
(module
(function_definition
(function_name_windowed_iterable) function_name_windowed_iterable
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_effective_offset) identifier_effective_offset
(call
... | That returns only the window |
(module
(function_definition
(function_name_focused_data_item) function_name_focused_data_item
(parameters
(identifier_self) identifier_self
)parameters
(type
(subscript
(attribute
(identifier_typing) identifier_typing
(identifier_Optional) identifier_Optional
... | Return the data item with keyboard focus. |
(module
(function_definition
(function_name_mount) function_name_mount
(parameters
(identifier_cls) identifier_cls
(identifier_mount_point) identifier_mount_point
(identifier_lower_dir) identifier_lower_dir
(identifier_upper_dir) identifier_upper_dir
(default_parameter
(i... | Execute the mount. This requires root |
(module
(function_definition
(function_name__get_on_demand_syllabus) function_name__get_on_demand_syllabus
(parameters
(identifier_self) identifier_self
(identifier_class_name) identifier_class_name
)parameters
(block
(expression_statement
(assignment
(identifier_ur... | Get the on-demand course listing webpage. |
(module
(function_definition
(function_name_write_capability_list) function_name_write_capability_list
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_capabilities) identifier_capabilities
(None) None
)default_parameter
(default_parameter
... | Write a Capability List to outfile or STDOUT. |
(module
(function_definition
(function_name_cli) function_name_cli
(parameters
(identifier_config_path) identifier_config_path
(identifier_verbose) identifier_verbose
)parameters
(block
(global_statement
(identifier_config) identifier_config
(identifier_store) identif... | Record-Recommender command line version. |
(module
(function_definition
(function_name_open) function_name_open
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_auto_commit) identifier_auto_commit
(None) None
)default_parameter
(default_parameter
(identifier_schema) identifier... | Create a context to execute queries |
(module
(function_definition
(function_name_create) function_name_create
(parameters
(identifier_cls) identifier_cls
(default_parameter
(identifier_data) identifier_data
(None) None
)default_parameter
(default_parameter
(identifier_api_key) identifier_api_key
... | Create an event on your PagerDuty account. |
(module
(function_definition
(function_name_template_to_text) function_name_template_to_text
(parameters
(identifier_tmpl) identifier_tmpl
(default_parameter
(identifier_debug) identifier_debug
(integer_0) integer_0
)default_parameter
)parameters
(block
(express... | convert parse tree template to text |
(module
(function_definition
(function_name_delete_policy) function_name_delete_policy
(parameters
(identifier_self) identifier_self
(identifier_pol_id) identifier_pol_id
)parameters
(block
(if_statement
(comparison_operator
(identifier_pol_id) identifier_pol_id
... | Deletes the policy from the local dictionary. |
(module
(function_definition
(function_name_sbo_list) function_name_sbo_list
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_sbo_packages) identifier_sbo_packages
(list
)list
)assignment
)expression_statement
... | Return all SBo packages |
(module
(function_definition
(function_name_bech32_polymod) function_name_bech32_polymod
(parameters
(identifier_values) identifier_values
)parameters
(block
(expression_statement
(assignment
(identifier_generator) identifier_generator
(list
(integer... | Internal function that computes the Bech32 checksum. |
(module
(function_definition
(function_name_process_format) function_name_process_format
(parameters
(identifier_self) identifier_self
(identifier_kind) identifier_kind
(identifier_context) identifier_context
)parameters
(block
(expression_statement
(assignment
... | Handle transforming format string + arguments into Python code. |
(module
(function_definition
(function_name__parse_service_env_vars) function_name__parse_service_env_vars
(parameters
(identifier_self) identifier_self
(identifier_env_vars) identifier_env_vars
)parameters
(block
(expression_statement
(assignment
(identifier_env) i... | Return a dict based on `key=value` pair strings. |
(module
(function_definition
(function_name_setRepoData) function_name_setRepoData
(parameters
(identifier_self) identifier_self
(identifier_searchString) identifier_searchString
(default_parameter
(identifier_category) identifier_category
(string_"") string_""
)default... | Call this function with all the settings to use for future operations on a repository, must be called FIRST |
(module
(function_definition
(function_name_locale_escape) function_name_locale_escape
(parameters
(identifier_string) identifier_string
(default_parameter
(identifier_errors) identifier_errors
(string_'replace') string_'replace'
)default_parameter
)parameters
(block
... | Mangle non-supported characters, for savages with ascii terminals. |
(module
(function_definition
(function_name_compute) function_name_compute
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(call
(attribute
(identifier_self) identifier_self
(identifier__compute_window_size) i... | Perform the smoothing operations. |
(module
(function_definition
(function_name_resource_urls) function_name_resource_urls
(parameters
(identifier_request) identifier_request
)parameters
(block
(expression_statement
(assignment
(identifier_url_parsed) identifier_url_parsed
(call
(ident... | Global values to pass to templates |
(module
(function_definition
(function_name_find) function_name_find
(parameters
(identifier_self) identifier_self
(identifier_path) identifier_path
(default_parameter
(identifier_all) identifier_all
(False) False
)default_parameter
)parameters
(block
(try... | Work out the uncached name of the file and look that up instead |
(module
(function_definition
(function_name__is_valid_id) function_name__is_valid_id
(parameters
(identifier_self) identifier_self
(identifier_inpt) identifier_inpt
)parameters
(block
(import_from_statement
(dotted_name
(identifier_dlkit) identifier_dlkit
... | Checks if input is a valid Id |
(module
(function_definition
(function_name_workbook_data) function_name_workbook_data
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_document) identifier_document
(call
(identifier_XML)... | return a readable XML form of the data. |
(module
(function_definition
(function_name__get_manifest_list) function_name__get_manifest_list
(parameters
(identifier_self) identifier_self
(identifier_image) identifier_image
)parameters
(block
(if_statement
(comparison_operator
(identifier_image) identifier_ima... | try to figure out manifest list |
(module
(function_definition
(function_name_created_slices) function_name_created_slices
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_user_id) identifier_user_id
(None) None
)default_parameter
)parameters
(block
(if_statement
... | List of slices created by this user |
(module
(function_definition
(function_name_regions) function_name_regions
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_url) identifier_url
(binary_operator
(string_"%s/regions") strin... | gets the regions value |
(module
(function_definition
(function_name_consume_queue) function_name_consume_queue
(parameters
(identifier_queue) identifier_queue
(identifier_cascade_stop) identifier_cascade_stop
)parameters
(block
(while_statement
(True) True
(block
(try_statement
... | Consume the queue by reading lines off of it and yielding them. |
(module
(function_definition
(function_name_natsorted) function_name_natsorted
(parameters
(identifier_seq) identifier_seq
(default_parameter
(identifier_cmp) identifier_cmp
(identifier_natcmp) identifier_natcmp
)default_parameter
)parameters
(block
(expression_... | Returns a copy of seq, sorted by natural string sort. |
(module
(function_definition
(function_name_shape) function_name_shape
(parameters
(identifier_self) identifier_self
)parameters
(block
(try_statement
(block
(return_statement
(attribute
(identifier_self) identifier_self
(identifier... | Number of grid points per axis. |
(module
(function_definition
(function_name_tcp_server) function_name_tcp_server
(parameters
(identifier_tcp_addr) identifier_tcp_addr
(identifier_settings) identifier_settings
)parameters
(block
(expression_statement
(assignment
(identifier_family) identifier_famil... | Start up the tcp server, send the settings. |
(module
(function_definition
(function_name_dry) function_name_dry
(parameters
(identifier_self) identifier_self
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictionary_s... | Perform a dry-run of the task |
(module
(function_definition
(function_name_stop_video_recording) function_name_stop_video_recording
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(call
(attribute
(attribute
(identifier_self) identifier_s... | Stop the video recording |
(module
(function_definition
(function_name_asyncStarMap) function_name_asyncStarMap
(parameters
(identifier_asyncCallable) identifier_asyncCallable
(identifier_iterable) identifier_iterable
)parameters
(block
(expression_statement
(assignment
(identifier_deferreds)... | itertools.starmap for deferred callables |
(module
(function_definition
(function_name_save) function_name_save
(parameters
(identifier_self) identifier_self
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictionary... | Fill 'created' and 'modified' attributes on first create |
(module
(function_definition
(function_name__clean_fields) function_name__clean_fields
(parameters
(typed_parameter
(identifier_allowed_fields) identifier_allowed_fields
(type
(identifier_dict) identifier_dict
)type
)typed_parameter
(typed_parameter
... | Clean lookup fields and check for errors. |
(module
(function_definition
(function_name_validateFilepath) function_name_validateFilepath
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(parenthesized_expression
(not_operator
(call
(attribute
(... | Alters the color scheme based on the validation settings. |
(module
(function_definition
(function_name_topic_path) function_name_topic_path
(parameters
(identifier_cls) identifier_cls
(identifier_project) identifier_project
(identifier_topic) identifier_topic
)parameters
(block
(return_statement
(call
(attribute
... | Return a fully-qualified topic string. |
(module
(function_definition
(function_name_np2model_tensor) function_name_np2model_tensor
(parameters
(identifier_a) identifier_a
)parameters
(block
(expression_statement
(string_"Tranform numpy array `a` to a tensor of the same type.") string_"Tranform numpy array `a` to a tensor... | Tranform numpy array `a` to a tensor of the same type. |
(module
(function_definition
(function_name_And) function_name_And
(parameters
(typed_parameter
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(type
(generic_type
(identifier_Union) identifier_Union
(type_para... | Create an And expression. |
(module
(function_definition
(function_name_queue_resize) function_name_queue_resize
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(attribute
(identifier_self) identifier_self
(identifier__childr... | request the element to re-check it's child sprite sizes |
(module
(function_definition
(function_name_client_list_entries_multi_project) function_name_client_list_entries_multi_project
(parameters
(identifier_client) identifier_client
(identifier_to_delete) identifier_to_delete
)parameters
(block
(expression_statement
(assignment
... | List entries via client across multiple projects. |
(module
(function_definition
(function_name_strict_logical) function_name_strict_logical
(parameters
(identifier_self) identifier_self
(identifier_value) identifier_value
)parameters
(block
(if_statement
(comparison_operator
(identifier_value) identifier_value
... | Validate and set the strict logical flag. |
(module
(function_definition
(function_name__distance_stats_sqr_fast_generic) function_name__distance_stats_sqr_fast_generic
(parameters
(identifier_x) identifier_x
(identifier_y) identifier_y
(identifier_dcov_function) identifier_dcov_function
)parameters
(block
(expression_st... | Compute the distance stats using the fast algorithm. |
(module
(function_definition
(function_name_save) function_name_save
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_resq) identifier_resq
(None) None
)default_parameter
)parameters
(block
(if_statement
(not_operator
... | Saves the failed Job into a "failed" Redis queue preserving all its original enqueud info. |
(module
(function_definition
(function_name_google_get_data) function_name_google_get_data
(parameters
(identifier_self) identifier_self
(identifier_config) identifier_config
(identifier_response) identifier_response
)parameters
(block
(expression_statement
(assignment
... | Make request to Google API to get profile data for the user. |
(module
(function_definition
(function_name_contains_circle) function_name_contains_circle
(parameters
(identifier_self) identifier_self
(identifier_pt) identifier_pt
(identifier_radius) identifier_radius
)parameters
(block
(return_statement
(parenthesized_expression
... | Is the circle completely inside this rect? |
(module
(function_definition
(function_name_colorize) function_name_colorize
(parameters
(identifier_self) identifier_self
(identifier_string) identifier_string
(default_parameter
(identifier_rgb) identifier_rgb
(None) None
)default_parameter
(default_parameter
... | Returns the colored string |
(module
(function_definition
(function_name_to_json) function_name_to_json
(parameters
(identifier_self) identifier_self
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dict... | Convert Entity to JSON. |
(module
(function_definition
(function_name_contains_one_of) function_name_contains_one_of
(parameters
(list_splat_pattern
(identifier_fields) identifier_fields
)list_splat_pattern
)parameters
(block
(expression_statement
(assignment
(identifier_message) ide... | Enables ensuring that one of multiple optional fields is set |
(module
(function_definition
(function_name_publish) function_name_publish
(parameters
(identifier_self) identifier_self
(identifier_distribution) identifier_distribution
(default_parameter
(identifier_storage) identifier_storage
(string_"") string_""
)default_parameter... | Get or create publish |
(module
(function_definition
(function_name__explain) function_name__explain
(parameters
(identifier_self) identifier_self
(identifier_tree) identifier_tree
)parameters
(block
(expression_statement
(assignment
(attribute
(identifier_self) identifier_self... | Set up the engine to do a dry run of a query |
(module
(function_definition
(function_name_create) function_name_create
(parameters
(identifier_pid_type) identifier_pid_type
(identifier_pid_value) identifier_pid_value
(identifier_status) identifier_status
(identifier_object_type) identifier_object_type
(identifier_object_uuid... | Create new persistent identifier. |
(module
(function_definition
(function_name_disable_hidden_api_blacklist) function_name_disable_hidden_api_blacklist
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_version_codename) identifier_version_codenam... | If necessary and possible, disables hidden api blacklist. |
(module
(function_definition
(function_name_reload) function_name_reload
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_pid) identifier_pid
(call
(attribute
(identifier_sel... | Make the daemon reload itself. |
(module
(function_definition
(function_name__save_settings) function_name__save_settings
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(comparison_operator
(attribute
(identifier_self) identifier_self
(identifier__a... | Saves all the parameters to a text file. |
(module
(function_definition
(function_name_append) function_name_append
(parameters
(identifier_self) identifier_self
(identifier_child) identifier_child
)parameters
(block
(if_statement
(not_operator
(parenthesized_expression
(boolean_operator
... | Add a child section or keyword |
(module
(function_definition
(function_name_mean_se) function_name_mean_se
(parameters
(identifier_series) identifier_series
(default_parameter
(identifier_mult) identifier_mult
(integer_1) integer_1
)default_parameter
)parameters
(block
(expression_statement
... | Calculate mean and standard errors on either side |
(module
(function_definition
(function_name_uninitialize) function_name_uninitialize
(parameters
(identifier_cls) identifier_cls
)parameters
(type
(None) None
)type
(block
(if_statement
(not_operator
(attribute
(identifier_cls) identifier_cls
... | Removes the ``SIGCHLD`` handler. |
(module
(function_definition
(function_name_upcoming) function_name_upcoming
(parameters
(identifier_self) identifier_self
(typed_default_parameter
(identifier_details) identifier_details
(type
(identifier_bool) identifier_bool
)type
(False) False
)t... | Return watering statistics for the next 6 days. |
(module
(function_definition
(function_name__parse_date_input) function_name__parse_date_input
(parameters
(identifier_date_input) identifier_date_input
(default_parameter
(identifier_default_offset) identifier_default_offset
(integer_0) integer_0
)default_parameter
)para... | Parses a date input. |
(module
(function_definition
(function_name_pandoc_process) function_name_pandoc_process
(parameters
(identifier_app) identifier_app
(identifier_what) identifier_what
(identifier_name) identifier_name
(identifier_obj) identifier_obj
(identifier_options) identifier_options
(... | Convert docstrings in Markdown into reStructureText using pandoc |
(module
(function_definition
(function_name__get) function_name__get
(parameters
(identifier_self) identifier_self
(identifier_q) identifier_q
(default_parameter
(identifier_params) identifier_params
(string_'') string_''
)default_parameter
)parameters
(block
... | Generic GET wrapper including the api_key |
(module
(function_definition
(function_name_close) function_name_close
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(string_"Stop the output stream, but further download will still perform") string_"Stop the output stream, but further downl... | Stop the output stream, but further download will still perform |
(module
(function_definition
(function_name_numpy_to_texture) function_name_numpy_to_texture
(parameters
(identifier_image) identifier_image
)parameters
(block
(if_statement
(not_operator
(call
(identifier_isinstance) identifier_isinstance
(argumen... | Convert a NumPy image array to a vtk.vtkTexture |
(module
(function_definition
(function_name_load) function_name_load
(parameters
(identifier_cls) identifier_cls
(identifier_keys) identifier_keys
)parameters
(block
(expression_statement
(assignment
(identifier_conversations) identifier_conversations
(lis... | Load a set of conversations by their keys. |
(module
(function_definition
(function_name_s3_get) function_name_s3_get
(parameters
(typed_parameter
(identifier_url) identifier_url
(type
(identifier_str) identifier_str
)type
)typed_parameter
(typed_parameter
(identifier_temp_file) identifier_temp... | Pull a file directly from S3. |
(module
(function_definition
(function_name_pull_from_origin) function_name_pull_from_origin
(parameters
(identifier_repo_path) identifier_repo_path
)parameters
(block
(expression_statement
(call
(attribute
(identifier_LOG) identifier_LOG
(identifi... | Execute 'git pull' at the provided repo_path. |
(module
(function_definition
(function_name__change_volume) function_name__change_volume
(parameters
(identifier_self) identifier_self
(identifier_increase) identifier_increase
)parameters
(block
(expression_statement
(assignment
(identifier_sign) identifier_sign
... | Change volume using amixer |
(module
(function_definition
(function_name_saveProfile) function_name_saveProfile
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_manager) identifier_manager
(call
(attribute
... | Saves the current profile to the current settings from the view widget. |
(module
(function_definition
(function_name_async_discovery) function_name_async_discovery
(parameters
(identifier_session) identifier_session
)parameters
(block
(expression_statement
(assignment
(identifier_bridges) identifier_bridges
(list
)list
... | Find bridges allowing gateway discovery. |
(module
(function_definition
(function_name__getTypename) function_name__getTypename
(parameters
(identifier_self) identifier_self
(identifier_defn) identifier_defn
)parameters
(block
(return_statement
(conditional_expression
(string_'REAL') string_'REAL'
... | Returns the SQL typename required to store the given FieldDefinition |
(module
(function_definition
(function_name_raise_msg_to_str) function_name_raise_msg_to_str
(parameters
(identifier_msg) identifier_msg
)parameters
(block
(if_statement
(not_operator
(call
(identifier_is_string_like) identifier_is_string_like
(arg... | msg is a return arg from a raise. Join with new lines |
(module
(function_definition
(function_name_main) function_name_main
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_options) identifier_options
(call
(identifier_handle_options) identifier_handle_options
(argument_... | Function to remove temperature effect from field data |
(module
(function_definition
(function_name_read_epilogue) function_name_read_epilogue
(parameters
(identifier_self) identifier_self
)parameters
(block
(with_statement
(with_clause
(with_item
(as_pattern
(call
(identifier_open) id... | Read the epilogue metadata. |
(module
(function_definition
(function_name__merge_cluster) function_name__merge_cluster
(parameters
(identifier_old) identifier_old
(identifier_new) identifier_new
)parameters
(block
(expression_statement
(call
(attribute
(identifier_logger) identifier_... | merge one cluster to another |
(module
(function_definition
(function_name_create) function_name_create
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_data) identifier_data
(call
(attribute
(identifier_s... | Create the node on the compute server |
(module
(function_definition
(function_name_resume) function_name_resume
(parameters
(identifier_self) identifier_self
(identifier_data) identifier_data
)parameters
(block
(expression_statement
(string_'Resume uploading an incomplete file, after a previous upload was interrup... | Resume uploading an incomplete file, after a previous upload was interrupted. Returns new file object |
(module
(function_definition
(function_name_GetUnreachableHosts) function_name_GetUnreachableHosts
(parameters
(identifier_hostnames) identifier_hostnames
(identifier_ssh_key) identifier_ssh_key
)parameters
(block
(expression_statement
(assignment
(identifier_ssh_st... | Returns list of hosts unreachable via ssh. |
(module
(function_definition
(function_name_server_list_min) function_name_server_list_min
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_nt_ks) identifier_nt_ks
(attribute
(identifier_s... | List minimal information about servers |
(module
(function_definition
(function_name_poll_for_server_running) function_name_poll_for_server_running
(parameters
(identifier_job_id) identifier_job_id
)parameters
(block
(expression_statement
(call
(attribute
(attribute
(identifier_sys) ide... | Poll for the job to start running and post the SERVER_READY_TAG. |
(module
(function_definition
(function_name_application_unauthenticated) function_name_application_unauthenticated
(parameters
(identifier_request) identifier_request
(identifier_token) identifier_token
(default_parameter
(identifier_state) identifier_state
(None) None
... | An somebody is trying to access an application. |
(module
(function_definition
(function_name__encode_mapping) function_name__encode_mapping
(parameters
(identifier_name) identifier_name
(identifier_value) identifier_value
(identifier_check_keys) identifier_check_keys
(identifier_opts) identifier_opts
)parameters
(block
... | Encode a mapping type. |
(module
(function_definition
(function_name_clean_docstring) function_name_clean_docstring
(parameters
(identifier_docstring) identifier_docstring
)parameters
(block
(expression_statement
(assignment
(identifier_docstring) identifier_docstring
(call
... | Dedent docstring, special casing the first line. |
(module
(function_definition
(function_name__skip) function_name__skip
(parameters
(identifier_options) identifier_options
)parameters
(block
(expression_statement
(assignment
(identifier_values) identifier_values
(list
(attribute
(iden... | Return true if the task should be entirely skipped, and thus have no product requirements. |
(module
(function_definition
(function_name_close) function_name_close
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(call
(attribute
(identifier_self) identifier_self
(identifier_read_option) identifier_read_option... | Called to clean all possible tmp files created during the process. |
(module
(function_definition
(function_name_shutdown) function_name_shutdown
(parameters
(identifier_self) identifier_self
)parameters
(type
(None) None
)type
(block
(expression_statement
(assignment
(attribute
(identifier_self) identifier_self
... | Close the TLS connection and the underlying network socket. |
(module
(function_definition
(function_name_verifymessage) function_name_verifymessage
(parameters
(identifier_self) identifier_self
(identifier_address) identifier_address
(identifier_signature) identifier_signature
(identifier_message) identifier_message
)parameters
(block
... | Verify a signed message. |
(module
(function_definition
(function_name_tar_and_copy_usr_dir) function_name_tar_and_copy_usr_dir
(parameters
(identifier_usr_dir) identifier_usr_dir
(identifier_train_dir) identifier_train_dir
)parameters
(block
(expression_statement
(call
(attribute
... | Package, tar, and copy usr_dir to GCS train_dir. |
(module
(function_definition
(function_name_file_length) function_name_file_length
(parameters
(identifier_in_file) identifier_in_file
)parameters
(block
(expression_statement
(assignment
(identifier_fid) identifier_fid
(call
(identifier_open) identi... | Function to return the length of a file. |
(module
(function_definition
(function_name_scoped_connection) function_name_scoped_connection
(parameters
(identifier_func) identifier_func
)parameters
(block
(function_definition
(function_name__with) function_name__with
(parameters
(identifier_series) identifie... | Decorator that gives out connections. |
(module
(function_definition
(function_name_rar3_type) function_name_rar3_type
(parameters
(identifier_btype) identifier_btype
)parameters
(block
(if_statement
(boolean_operator
(comparison_operator
(identifier_btype) identifier_btype
(attribute
... | RAR3 type code as string. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.