sequence stringlengths 731 13.6k | docstring stringlengths 11 171 |
|---|---|
(module
(function_definition
(function_name_edges) function_name_edges
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_canonical_edges) identifier_canonical_edges
(call
(identifier_set) i... | Edges of this graph, in canonical order. |
(module
(function_definition
(function_name_casperjs_command_kwargs) function_name_casperjs_command_kwargs
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_kwargs) identifier_kwargs
(dictionary
(pair
(string_'stdou... | will construct kwargs for cmd |
(module
(function_definition
(function_name_run_queues) function_name_run_queues
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(attribute
(identifier_self) identifier_self
(identifier_exception) identifier_exception
)attr... | Run all queues that have data queued |
(module
(function_definition
(function_name_update_options) function_name_update_options
(parameters
(identifier_self) identifier_self
(dictionary_splat_pattern
(identifier_options) identifier_options
)dictionary_splat_pattern
)parameters
(block
(expression_statement
... | Safely update this async job's configuration options. |
(module
(function_definition
(function_name_check) function_name_check
(parameters
(identifier_self) identifier_self
(identifier_diff) identifier_diff
)parameters
(block
(expression_statement
(assignment
(identifier_path) identifier_path
(attribute
... | Check that the new file introduced is a python source file |
(module
(function_definition
(function_name_check_ast) function_name_check_ast
(parameters
(identifier_self) identifier_self
)parameters
(block
(try_statement
(block
(expression_statement
(assignment
(identifier_tree) identifier_tree
... | Build the file's AST and run all AST checks. |
(module
(function_definition
(function_name_assure_check) function_name_assure_check
(parameters
(identifier_fnc) identifier_fnc
)parameters
(block
(decorated_definition
(decorator
(call
(identifier_wraps) identifier_wraps
(argument_list
... | Converts an checkID passed as the check to a CloudMonitorCheck object. |
(module
(function_definition
(function_name__reformat) function_name__reformat
(parameters
(identifier_p) identifier_p
(identifier_buf) identifier_buf
)parameters
(block
(if_statement
(comparison_operator
(call
(attribute
(identifier_numpy)... | Apply format of ``p`` to data in 1-d array ``buf``. |
(module
(function_definition
(function_name_md5_hash_file) function_name_md5_hash_file
(parameters
(identifier_fh) identifier_fh
)parameters
(block
(expression_statement
(assignment
(identifier_md5) identifier_md5
(call
(attribute
(iden... | Return the md5 hash of the given file-object |
(module
(function_definition
(function_name_config_conf) function_name_config_conf
(parameters
(identifier_obj) identifier_obj
)parameters
(block
(expression_statement
(string_"Extracts the configuration of the underlying ConfigParser from obj") string_"Extracts the configuration o... | Extracts the configuration of the underlying ConfigParser from obj |
(module
(function_definition
(function_name_add_cache) function_name_add_cache
(parameters
(identifier_self) identifier_self
(identifier_object_type) identifier_object_type
(identifier_cache_impl_name) identifier_cache_impl_name
(identifier_maxsize) identifier_maxsize
(dictionary... | Add a new cache for the named object type and cache implementation |
(module
(function_definition
(function_name_imagetransformer_cifar_tpu_range) function_name_imagetransformer_cifar_tpu_range
(parameters
(identifier_rhp) identifier_rhp
)parameters
(block
(expression_statement
(call
(attribute
(identifier_rhp) identifier_rhp
... | Range of hyperparameters for vizier. |
(module
(function_definition
(function_name_insert_short) function_name_insert_short
(parameters
(identifier_self) identifier_self
(identifier_index) identifier_index
(identifier_value) identifier_value
)parameters
(block
(expression_statement
(assignment
(ide... | Inserts an unsigned short in a certain position in the packet |
(module
(function_definition
(function_name_regex_to_error_msg) function_name_regex_to_error_msg
(parameters
(identifier_regex) identifier_regex
)parameters
(block
(return_statement
(call
(attribute
(call
(attribute
(call
... | Format a human-readable error message from a regex |
(module
(function_definition
(function_name_seaborn_bar_) function_name_seaborn_bar_
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_label) identifier_label
(None) None
)default_parameter
(default_parameter
(identifier_style) identif... | Get a Seaborn bar chart |
(module
(function_definition
(function_name_format_directive) function_name_format_directive
(parameters
(identifier_module) identifier_module
(default_parameter
(identifier_package) identifier_package
(None) None
)default_parameter
)parameters
(block
(expressio... | Create the automodule directive and add the options. |
(module
(function_definition
(function_name_clusters) function_name_clusters
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(not_operator
(call
(identifier_hasattr) identifier_hasattr
(argument_list
(id... | Returns known clusters by exposing as a read-only property. |
(module
(function_definition
(function_name__get_child_relation) function_name__get_child_relation
(parameters
(identifier_self) identifier_self
(identifier_child_pid) identifier_child_pid
)parameters
(block
(return_statement
(call
(attribute
(call
... | Retrieve the relation between this node and a child PID. |
(module
(function_definition
(function_name_convert_caffe_model) function_name_convert_caffe_model
(parameters
(identifier_model_name) identifier_model_name
(identifier_meta_info) identifier_meta_info
(default_parameter
(identifier_dst_dir) identifier_dst_dir
(string_'./model... | Download, convert and save a caffe model |
(module
(function_definition
(function_name_export) function_name_export
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_timestamp) identifier_timestamp
(None) None
)default_parameter
(default_parameter
(identifier_info) identifier_i... | Export the archive, directory or file. |
(module
(function_definition
(function_name_create) function_name_create
(parameters
(identifier_self) identifier_self
(identifier_name) identifier_name
)parameters
(block
(if_statement
(not_operator
(call
(attribute
(attribute
... | Create a new empty migration. |
(module
(function_definition
(function_name_destroy) function_name_destroy
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_resp) identifier_resp
(dictionary
)dictionary
)assignment
... | Destroy the consumer group. |
(module
(function_definition
(function_name_create_module) function_name_create_module
(parameters
(identifier_clear_target) identifier_clear_target
(identifier_target) identifier_target
)parameters
(block
(if_statement
(call
(attribute
(attribute
... | Creates a new template HFOS plugin module |
(module
(function_definition
(function_name__metadata_is_invalid) function_name__metadata_is_invalid
(parameters
(identifier_cls) identifier_cls
(identifier_fact) identifier_fact
)parameters
(block
(return_statement
(call
(identifier_any) identifier_any
(g... | Determines if the fact is not well formed. |
(module
(function_definition
(function_name_remove_tag) function_name_remove_tag
(parameters
(identifier_tag_id) identifier_tag_id
)parameters
(block
(expression_statement
(assignment
(identifier_entry) identifier_entry
(call
(attribute
... | Delete the records of certain tag. |
(module
(function_definition
(function_name_periodic_callback) function_name_periodic_callback
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(attribute
(identifier_self) identifier_self
(identifier_stopped) identifier_stopped
... | Periodic cleanup tasks to maintain this adapter, should be called every second |
(module
(function_definition
(function_name__getMethodsVoc) function_name__getMethodsVoc
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_methods) identifier_methods
(call
(attribute
... | Return the registered methods as DisplayList |
(module
(function_definition
(function_name__on_request) function_name__on_request
(parameters
(identifier_self) identifier_self
(identifier_name) identifier_name
(identifier_args) identifier_args
)parameters
(block
(if_statement
(identifier_IS_PYTHON3) identifier_IS_PY... | Handle a msgpack-rpc request. |
(module
(function_definition
(function_name_load_archive) function_name_load_archive
(parameters
(identifier_self) identifier_self
(identifier_args) identifier_args
)parameters
(block
(import_statement
(dotted_name
(identifier_warnings) identifier_warnings
)... | Whether previously archived data should be loaded. |
(module
(function_definition
(function_name__pys_assert_version) function_name__pys_assert_version
(parameters
(identifier_self) identifier_self
(identifier_line) identifier_line
)parameters
(block
(if_statement
(comparison_operator
(call
(identifier_flo... | Asserts pys file version |
(module
(function_definition
(function_name_killCells) function_name_killCells
(parameters
(identifier_self) identifier_self
(identifier_killCellPercent) identifier_killCellPercent
)parameters
(block
(if_statement
(comparison_operator
(identifier_killCellPercent) id... | kill a fraction of cells from the network |
(module
(function_definition
(function_name_geigh) function_name_geigh
(parameters
(identifier_H) identifier_H
(identifier_S) identifier_S
)parameters
(block
(expression_statement
(string_"Solve the generalized eigensystem Hc = ESc") string_"Solve the generalized eigensystem ... | Solve the generalized eigensystem Hc = ESc |
(module
(function_definition
(function_name_dump_type) function_name_dump_type
(parameters
(identifier_self) identifier_self
(identifier_obj) identifier_obj
)parameters
(block
(if_statement
(not_operator
(call
(identifier_isinstance) identifier_isinstanc... | Dump the text name of the relation. |
(module
(function_definition
(function_name_annotated_dataset_path) function_name_annotated_dataset_path
(parameters
(identifier_cls) identifier_cls
(identifier_project) identifier_project
(identifier_dataset) identifier_dataset
(identifier_annotated_dataset) identifier_annotated_datas... | Return a fully-qualified annotated_dataset string. |
(module
(function_definition
(function_name__emit_all) function_name__emit_all
(parameters
(identifier_self) identifier_self
(identifier_tokenlist) identifier_tokenlist
)parameters
(block
(if_statement
(boolean_operator
(identifier_tokenlist) identifier_tokenlist
... | Write a series of tokens to the current stack at once. |
(module
(function_definition
(function_name_remove) function_name_remove
(parameters
(identifier_self) identifier_self
(identifier_value) identifier_value
(default_parameter
(identifier__sa_initiator) identifier__sa_initiator
(None) None
)default_parameter
)paramete... | Remove an item by value, consulting the keyfunc for the key. |
(module
(function_definition
(function_name__create_record) function_name__create_record
(parameters
(identifier_self) identifier_self
(identifier_rtype) identifier_rtype
(identifier_name) identifier_name
(identifier_content) identifier_content
)parameters
(block
(express... | Create record if doesnt already exist with same content |
(module
(function_definition
(function_name__int_generator) function_name__int_generator
(parameters
(identifier_descriptor) identifier_descriptor
(identifier_bitwidth) identifier_bitwidth
(identifier_unsigned) identifier_unsigned
)parameters
(block
(expression_statement
... | Helper to create a basic integer value generator |
(module
(function_definition
(function_name_read) function_name_read
(parameters
(identifier_cls) identifier_cls
(typed_parameter
(identifier_id) identifier_id
(type
(identifier_int) identifier_int
)type
)typed_parameter
)parameters
(block
(exp... | Get `BootResource` by `id`. |
(module
(function_definition
(function_name_percolate) function_name_percolate
(parameters
(identifier_self) identifier_self
(identifier_index) identifier_index
(identifier_doc_types) identifier_doc_types
(identifier_query) identifier_query
)parameters
(block
(if_statemen... | Match a query with a document |
(module
(function_definition
(function_name_push) function_name_push
(parameters
(identifier_self) identifier_self
(identifier_value) identifier_value
)parameters
(block
(if_statement
(boolean_operator
(attribute
(identifier_self) identifier_self
... | SNEAK value TO FRONT OF THE QUEUE |
(module
(function_definition
(function_name_mid_point) function_name_mid_point
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_midpoint_angle) identifier_midpoint_angle
(binary_operator
(... | Returns the midpoint of the arc as a 1x2 numpy array. |
(module
(function_definition
(function_name_reports) function_name_reports
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(comparison_operator
(attribute
(identifier_self) identifier_self
(identifier__metrics) identi... | returns a list of reports on the server |
(module
(function_definition
(function_name_fstab_mount) function_name_fstab_mount
(parameters
(identifier_mountpoint) identifier_mountpoint
)parameters
(block
(expression_statement
(assignment
(identifier_cmd_args) identifier_cmd_args
(list
(string_... | Mount filesystem using fstab |
(module
(function_definition
(function_name_clean_weight_files) function_name_clean_weight_files
(parameters
(identifier_cls) identifier_cls
)parameters
(block
(expression_statement
(assignment
(identifier_deleted) identifier_deleted
(list
)list
... | Cleans existing weight files. |
(module
(function_definition
(function_name_unpack) function_name_unpack
(parameters
(identifier_value) identifier_value
)parameters
(block
(if_statement
(not_operator
(call
(identifier_isinstance) identifier_isinstance
(argument_list
... | Return a three tuple of data, code, and headers |
(module
(function_definition
(function_name_detect_old) function_name_detect_old
(parameters
(identifier_data) identifier_data
)parameters
(block
(expression_statement
(string_"Check for a config file with old schema") string_"Check for a config file with old schema"
)express... | Check for a config file with old schema |
(module
(function_definition
(function_name_restart_agent) function_name_restart_agent
(parameters
(identifier_self) identifier_self
(identifier_agent_id) identifier_agent_id
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictionary_splat_pattern
)paramete... | tells the host agent running in this agency to restart the agent. |
(module
(function_definition
(function_name_substitute_timestep) function_name_substitute_timestep
(parameters
(identifier_self) identifier_self
(identifier_regex) identifier_regex
(identifier_timestep) identifier_timestep
)parameters
(block
(expression_statement
(assig... | Substitute a new timestep value using regex. |
(module
(function_definition
(function_name_refresh) function_name_refresh
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_d) identifier_d
(call
(attribute
(call
... | Refresh the document from the database. |
(module
(function_definition
(function_name___geomToStringArray) function_name___geomToStringArray
(parameters
(identifier_self) identifier_self
(identifier_geometries) identifier_geometries
(default_parameter
(identifier_returnType) identifier_returnType
(string_"str") strin... | function to convert the geomtries to strings |
(module
(function_definition
(function_name_convert) function_name_convert
(parameters
(identifier_self) identifier_self
(identifier_blob) identifier_blob
(default_parameter
(identifier_size) identifier_size
(integer_500) integer_500
)default_parameter
)parameters
... | Size is the maximum horizontal size. |
(module
(function_definition
(function_name_getComplexFileData) function_name_getComplexFileData
(parameters
(identifier_self) identifier_self
(identifier_fileInfo) identifier_fileInfo
(identifier_data) identifier_data
)parameters
(block
(expression_statement
(assignmen... | Function to initialize the slightly more complicated data for file info |
(module
(function_definition
(function_name_tox_addoption) function_name_tox_addoption
(parameters
(identifier_parser) identifier_parser
)parameters
(block
(expression_statement
(call
(attribute
(identifier_parser) identifier_parser
(identifier_add... | Add arguments and needed monkeypatches. |
(module
(function_definition
(function_name_visit_Name) function_name_visit_Name
(parameters
(identifier_self) identifier_self
(typed_parameter
(identifier_node) identifier_node
(type
(attribute
(identifier_ast) identifier_ast
(identifier_Name) ide... | Load the variable by looking it up in the variable look-up and in the built-ins. |
(module
(function_definition
(function_name_select_functions) function_name_select_functions
(parameters
(identifier_expr) identifier_expr
)parameters
(block
(expression_statement
(assignment
(identifier_body) identifier_body
(call
(identifier_Group)... | Create the function expressions for selection |
(module
(function_definition
(function_name_deepcopy) function_name_deepcopy
(parameters
(identifier_data) identifier_data
)parameters
(block
(try_statement
(block
(return_statement
(call
(attribute
(identifier_pickle) identifier_... | Use pickle to do deep_copy |
(module
(function_definition
(function_name_hard_delete) function_name_hard_delete
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(string_'Deletes without possibility to restore') string_'Deletes without possibility to restore'
)express... | Deletes without possibility to restore |
(module
(function_definition
(function_name_string_array) function_name_string_array
(parameters
(identifier_self) identifier_self
)parameters
(block
(assert_statement
(comparison_operator
(call
(identifier_len) identifier_len
(argument_list
... | Get the param as a array of unicode strings. |
(module
(function_definition
(function_name_load_datafile) function_name_load_datafile
(parameters
(identifier_self) identifier_self
(identifier_name) identifier_name
(default_parameter
(identifier_search_path) identifier_search_path
(None) None
)default_parameter
... | find datafile and load them from codec |
(module
(function_definition
(function_name_run_select_calculation) function_name_run_select_calculation
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_inputs) identifier_inputs
(dictionary
... | Run the CifSelectCalculation on the CifData output node of the CifFilterCalculation. |
(module
(function_definition
(function_name_compute_column_width_and_height) function_name_compute_column_width_and_height
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(not_operator
(attribute
(identifier_self) identifier_self... | compute and set the column width for all colls in the table |
(module
(function_definition
(function_name_worker_thread) function_name_worker_thread
(parameters
(identifier_context) identifier_context
)parameters
(block
(expression_statement
(assignment
(identifier_queue) identifier_queue
(attribute
(identifier... | The worker thread routines. |
(module
(function_definition
(function_name__find_datastream) function_name__find_datastream
(parameters
(identifier_self) identifier_self
(identifier_name) identifier_name
)parameters
(block
(for_statement
(identifier_stream) identifier_stream
(attribute
(i... | Find and return if a datastream exists, by name. |
(module
(function_definition
(function_name_move_phasecenter) function_name_move_phasecenter
(parameters
(identifier_d) identifier_d
(identifier_l1) identifier_l1
(identifier_m1) identifier_m1
(identifier_u) identifier_u
(identifier_v) identifier_v
)parameters
(block
... | Handler function for phaseshift_threaded |
(module
(function_definition
(function_name_job_requeue_message) function_name_job_requeue_message
(parameters
(identifier_self) identifier_self
(identifier_job) identifier_job
(identifier_queue) identifier_queue
)parameters
(block
(expression_statement
(assignment
... | Return the message to log when a job is requeued |
(module
(function_definition
(function_name__init_name_core) function_name__init_name_core
(parameters
(identifier_self) identifier_self
(typed_parameter
(identifier_name) identifier_name
(type
(identifier_str) identifier_str
)type
)typed_parameter
)para... | Runs whenever a new instance is initialized or `sep` is set. |
(module
(function_definition
(function_name_masters) function_name_masters
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_fut) identifier_fut
(call
(attribute
(identifier_s... | Returns a list of dictionaries containing each master's state. |
(module
(function_definition
(function_name_helper) function_name_helper
(parameters
(identifier_self) identifier_self
(identifier_name) identifier_name
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
)parameters
(block
(expression_statem... | Call a helper in this module. |
(module
(function_definition
(function_name__cached) function_name__cached
(parameters
(identifier_self) identifier_self
(identifier_dbname) identifier_dbname
(identifier_coll) identifier_coll
(identifier_index) identifier_index
)parameters
(block
(expression_statement
... | Test if `index` is cached. |
(module
(function_definition
(function_name_resolve) function_name_resolve
(parameters
(identifier_object) identifier_object
)parameters
(block
(import_statement
(dotted_name
(identifier_re) identifier_re
)dotted_name
)import_statement
(expression_stat... | Look up the name of a source using a resolver |
(module
(function_definition
(function_name_encrypted_json) function_name_encrypted_json
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_json) identifier_json
(call
(identifier_serialize)... | Returns an encrypted json serialized from self. |
(module
(function_definition
(function_name_updateFromInspectorRegItem) function_name_updateFromInspectorRegItem
(parameters
(identifier_self) identifier_self
(identifier_inspectorRegItem) identifier_inspectorRegItem
)parameters
(block
(expression_statement
(assignment
... | Updates the label from the full name of the InspectorRegItem |
(module
(function_definition
(function_name_build_agency) function_name_build_agency
(parameters
(identifier_pfeed) identifier_pfeed
)parameters
(block
(return_statement
(call
(attribute
(identifier_pd) identifier_pd
(identifier_DataFrame) identifi... | Given a ProtoFeed, return a DataFrame representing ``agency.txt`` |
(module
(function_definition
(function_name_optimize_rfc) function_name_optimize_rfc
(parameters
(identifier_data) identifier_data
(identifier_targets) identifier_targets
)parameters
(block
(function_definition
(function_name_rfc_crossval) function_name_rfc_crossval
(... | Apply Bayesian Optimization to Random Forest parameters. |
(module
(function_definition
(function_name_contains_shebang) function_name_contains_shebang
(parameters
(identifier_f) identifier_f
)parameters
(block
(expression_statement
(assignment
(identifier_first_line) identifier_first_line
(call
(attribute
... | Returns true if any shebang line is present in the first line of the file. |
(module
(function_definition
(function_name_action_checkbox) function_name_action_checkbox
(parameters
(identifier_self) identifier_self
(identifier_obj) identifier_obj
)parameters
(block
(if_statement
(attribute
(identifier_self) identifier_self
(identifi... | A list_display column containing a checkbox widget. |
(module
(function_definition
(function_name_place_oceans_at_map_borders) function_name_place_oceans_at_map_borders
(parameters
(identifier_world) identifier_world
)parameters
(block
(expression_statement
(assignment
(identifier_ocean_border) identifier_ocean_border
... | Lower the elevation near the border of the map |
(module
(function_definition
(function_name_load) function_name_load
(parameters
(identifier_self) identifier_self
(identifier_fp) identifier_fp
)parameters
(block
(expression_statement
(assignment
(identifier_cluster) identifier_cluster
(call
... | Load cluster from file descriptor fp |
(module
(function_definition
(function_name__set_payoff) function_name__set_payoff
(parameters
(identifier_self) identifier_self
(identifier_payoff) identifier_payoff
)parameters
(block
(if_statement
(comparison_operator
(attribute
(identifier_self) iden... | Setter method for the payoff property. |
(module
(function_definition
(function_name__notify_add_at) function_name__notify_add_at
(parameters
(identifier_self) identifier_self
(identifier_index) identifier_index
(default_parameter
(identifier_length) identifier_length
(integer_1) integer_1
)default_parameter
... | Notify about an AddChange at a caertain index and length. |
(module
(function_definition
(function_name__append_domain) function_name__append_domain
(parameters
(identifier_opts) identifier_opts
)parameters
(block
(if_statement
(call
(attribute
(subscript
(identifier_opts) identifier_opts
(s... | Append a domain to the existing id if it doesn't already exist |
(module
(function_definition
(function_name_to_naf) function_name_to_naf
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(comparison_operator
(attribute
(identifier_self) identifier_self
(identifier_type) identifier_t... | Converts the coreference layer to NAF |
(module
(function_definition
(function_name__re_raise_as) function_name__re_raise_as
(parameters
(identifier_NewExc) identifier_NewExc
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(dictionary_splat_pattern
(identifier_kw) identifier_kw
... | Raise a new exception using the preserved traceback of the last one. |
(module
(function_definition
(function_name_transform_incoming) function_name_transform_incoming
(parameters
(identifier_self) identifier_self
(identifier_son) identifier_son
(identifier_collection) identifier_collection
)parameters
(block
(if_statement
(not_operator
... | Move _id to the front if it's there. |
(module
(function_definition
(function_name_getHostsFromSGE) function_name_getHostsFromSGE
(parameters
)parameters
(block
(with_statement
(with_clause
(with_item
(as_pattern
(call
(identifier_open) identifier_open
(argum... | Return a host list in a SGE environment |
(module
(function_definition
(function_name_override_ignore_outcome) function_name_override_ignore_outcome
(parameters
(identifier_ini) identifier_ini
)parameters
(block
(expression_statement
(assignment
(identifier_travis_reader) identifier_travis_reader
(call
... | Decide whether to override ignore_outcomes. |
(module
(function_definition
(function_name__load_github_repo) function_name__load_github_repo
(parameters
)parameters
(block
(if_statement
(comparison_operator
(string_'TRAVIS') string_'TRAVIS'
(attribute
(identifier_os) identifier_os
(identif... | Loads the GitHub repository from the users config. |
(module
(function_definition
(function_name_count) function_name_count
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_sql) identifier_sql
(binary_operator
(string_u'SELECT count() FROM (... | Returns the number of rows after aggregation. |
(module
(function_definition
(function_name_prepare_model) function_name_prepare_model
(parameters
(identifier_self) identifier_self
(identifier_attrs) identifier_attrs
)parameters
(block
(if_statement
(call
(identifier_isinstance) identifier_isinstance
(a... | Create a model from a set of attributes. |
(module
(function_definition
(function_name_rewrite_elife_funding_awards) function_name_rewrite_elife_funding_awards
(parameters
(identifier_json_content) identifier_json_content
(identifier_doi) identifier_doi
)parameters
(block
(if_statement
(comparison_operator
(... | rewrite elife funding awards |
(module
(function_definition
(function_name__close) function_name__close
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(comparison_operator
(attribute
(identifier_self) identifier_self
(identifier__process) identifi... | Close connection to remote host. |
(module
(function_definition
(function_name__reset) function_name__reset
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(attribute
(identifier_self) identifier_self
(identifier_path) identifier_pa... | Used during update operations and when initialized. |
(module
(function_definition
(function_name_split) function_name_split
(parameters
(identifier_self) identifier_self
(identifier_text) identifier_text
)parameters
(block
(expression_statement
(assignment
(identifier_text) identifier_text
(call
... | Splits text and returns a list of the resulting sentences. |
(module
(function_definition
(function_name__dt_to_epoch) function_name__dt_to_epoch
(parameters
(identifier_self) identifier_self
(identifier_dt) identifier_dt
)parameters
(block
(if_statement
(identifier_PY2) identifier_PY2
(block
(expression_statement
... | Convert a offset-aware datetime to POSIX time. |
(module
(function_definition
(function_name__update_partition_srvc_node_ip) function_name__update_partition_srvc_node_ip
(parameters
(identifier_self) identifier_self
(identifier_tenant_name) identifier_tenant_name
(identifier_srvc_ip) identifier_srvc_ip
(default_parameter
(ide... | Function to update srvc_node address of partition. |
(module
(function_definition
(function_name_apply) function_name_apply
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_subst_re) identifier_subst_re
(call
(attribute
(identi... | Replace substitutions in hyperlinks with their contents |
(module
(function_definition
(function_name_unwrap) function_name_unwrap
(parameters
(identifier_node) identifier_node
)parameters
(block
(for_statement
(identifier_child) identifier_child
(call
(identifier_list) identifier_list
(argument_list
... | Remove a node, replacing it with its children. |
(module
(function_definition
(function_name_FlipAllowed) function_name_FlipAllowed
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(not_operator
(call
(identifier_hasattr) identifier_hasattr
(argument_list
... | Raise an error if the not keyword is used where it is not allowed. |
(module
(function_definition
(function_name_clone_with_new_dockerfile) function_name_clone_with_new_dockerfile
(parameters
(identifier_self) identifier_self
(identifier_conf) identifier_conf
(identifier_docker_file) identifier_docker_file
)parameters
(block
(expression_statemen... | Clone this tarfile and add in another filename before closing the new tar and returning |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.