sequence
stringlengths
557
12.7k
docstring
stringlengths
4
15.2k
(module (function_definition (function_name_setPhysicalMinimum) function_name_setPhysicalMinimum (parameters (identifier_self) identifier_self (identifier_edfsignal) identifier_edfsignal (identifier_physical_minimum) identifier_physical_minimum )parameters (block (if_statement ...
Sets the physical_minimum of signal edfsignal. Parameters ---------- edfsignal: int signal number physical_minimum: float Sets the physical minimum Notes ----- This function is required for every signal and can be called only after openin...
(module (function_definition (function_name_scan) function_name_scan (parameters (identifier_self) identifier_self )parameters (block (expression_statement (call (attribute (attribute (identifier_self) identifier_self (identifier_lo...
Start a thread for each registered scan function to scan proxy lists
(module (function_definition (function_name__remove_trailing_new_line) function_name__remove_trailing_new_line (parameters (identifier_l) identifier_l )parameters (block (for_statement (identifier_n) identifier_n (call (identifier_sorted) identifier_sorted ...
Remove a single instance of new line at the end of l if it exists. Returns: bytestring
(module (function_definition (function_name_get_keyid) function_name_get_keyid (parameters (identifier_keyname) identifier_keyname )parameters (block (if_statement (not_operator (identifier_keyname) identifier_keyname )not_operator (block (return...
Return the ID of the keyname
(module (function_definition (function_name_get_app_state) function_name_get_app_state (parameters (identifier_app_id) identifier_app_id )parameters (block (try_statement (block (expression_statement (assignment (identifier_conn) identifier_conn ...
get app state
(module (function_definition (function_name_path) function_name_path (parameters (identifier_self) identifier_self (identifier_args) identifier_args (identifier_kw) identifier_kw )parameters (block (expression_statement (assignment (identifier_params) identifi...
Builds the URL path fragment for this route.
(module (function_definition (function_name_remove) function_name_remove (parameters (identifier_self) identifier_self (identifier_fieldspec) identifier_fieldspec )parameters (block (expression_statement (assignment (identifier_pattern) identifier_pattern ...
Removes fields or subfields according to `fieldspec`. If a non-control field subfield removal leaves no other subfields, delete the field entirely.
(module (function_definition (function_name_create) function_name_create (parameters (identifier_self) identifier_self (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (block (expression_statement (assignment ...
Create a metric.
(module (function_definition (function_name_get_clean_interp_index) function_name_get_clean_interp_index (parameters (identifier_arr) identifier_arr (identifier_dim) identifier_dim (default_parameter (identifier_use_coordinate) identifier_use_coordinate (True) True )def...
get index to use for x values in interpolation. If use_coordinate is True, the coordinate that shares the name of the dimension along which interpolation is being performed will be used as the x values. If use_coordinate is False, the x values are set as an equally spaced sequence.
(module (function_definition (function_name_gets) function_name_gets (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_ret) identifier_ret (call (attribute (attribute ...
Read line from stdin. The trailing newline will be omitted. :return: string:
(module (function_definition (function_name_follow) function_name_follow (parameters (identifier_the_file) identifier_the_file )parameters (block (with_statement (with_clause (with_item (as_pattern (call (identifier_open) identifi...
Follow a given file and yield new lines when they are available, like `tail -f`.
(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_state) identifier_sta...
Reset the lexer to process a new data feed.
(module (function_definition (function_name_read_tsv) function_name_read_tsv (parameters (identifier_cls) identifier_cls (typed_parameter (identifier_file_path) identifier_file_path (type (identifier_str) identifier_str )type )typed_parameter (typed_de...
Read expression matrix from a tab-delimited text file. Parameters ---------- file_path: str The path of the text file. gene_table: `ExpGeneTable` object, optional The set of valid genes. If given, the genes in the text file will be filtered against th...
(module (function_definition (function_name_profile_delete) function_name_profile_delete (parameters (identifier_self) identifier_self )parameters (block (expression_statement (call (attribute (identifier_self) identifier_self (identifier_validate_...
Delete an existing profile.
(module (function_definition (function_name_hash_function) function_name_hash_function (parameters (identifier_self) identifier_self )parameters (block (assert_statement (boolean_operator (call (identifier_hasattr) identifier_hasattr (argument_list...
Returns the hash function proper. Ensures that `self` is not bound to the returned closure.
(module (function_definition (function_name_unescape) function_name_unescape (parameters (identifier_self) identifier_self )parameters (block (for_statement (pattern_list (identifier_i) identifier_i (identifier_k) identifier_k )pattern_list (call...
Within an interpolation, evaluation, or escaping, remove HTML escaping that had been previously added.
(module (function_definition (function_name_call) function_name_call (parameters (identifier_self) identifier_self (identifier_method_path) identifier_method_path (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (bloc...
Make an API call for specific method :param method_path: format ``Interface.Method`` (e.g. ``ISteamWebAPIUtil.GetServerInfo``) :type method_path: :class:`str` :param kwargs: keyword arguments for the specific method :return: response :rtype: :class:`dict`, :class:`lxml.etree.Ele...
(module (function_definition (function_name_parse_from_dict) function_name_parse_from_dict (parameters (identifier_json_dict) identifier_json_dict )parameters (block (expression_statement (assignment (identifier_history_columns) identifier_history_columns (subsc...
Given a Unified Uploader message, parse the contents and return a MarketHistoryList instance. :param dict json_dict: A Unified Uploader message as a dict. :rtype: MarketOrderList :returns: An instance of MarketOrderList, containing the orders within.
(module (function_definition (function_name__init_go2res) function_name__init_go2res (parameters (dictionary_splat_pattern (identifier_kws) identifier_kws )dictionary_splat_pattern )parameters (block (if_statement (comparison_operator (string_'goea_results')...
Initialize GOEA results.
(module (function_definition (function_name_parse) function_name_parse (parameters (identifier_file_path) identifier_file_path )parameters (block (expression_statement (assignment (pattern_list (identifier__) identifier__ (identifier_ext) identifie...
Parse a YAML or JSON file.
(module (function_definition (function_name__normalize_file_paths) function_name__normalize_file_paths (parameters (identifier_self) identifier_self (list_splat_pattern (identifier_args) identifier_args )list_splat_pattern )parameters (block (expression_statement ...
Returns all given configuration file paths as one list.
(module (function_definition (function_name_get_shell_folder) function_name_get_shell_folder (parameters (identifier_name) identifier_name )parameters (block (try_statement (block (import_statement (aliased_import (dotted_name (id...
Get Windows Shell Folder locations from the registry.
(module (function_definition (function_name_run) function_name_run (parameters (identifier_self) identifier_self (identifier_cmd) identifier_cmd )parameters (block (expression_statement (assignment (identifier_cmd) identifier_cmd (call (identif...
Execute the salt command given by cmd dict. cmd is a dictionary of the following form: { 'mode': 'modestring', 'fun' : 'modulefunctionstring', 'kwarg': functionkeywordargdictionary, 'tgt' : 'targetpatternstring', 'tgt_type' : 'targetpatternty...
(module (function_definition (function_name_get_resources) function_name_get_resources (parameters (identifier_connection) identifier_connection )parameters (block (expression_statement (assignment (identifier_resp) identifier_resp (call (attribute ...
Do an RTSP-DESCRIBE request, then parse out available resources from the response
(module (function_definition (function_name_bash_rule) function_name_bash_rule (parameters (identifier_bash) identifier_bash (identifier_hostnames) identifier_hostnames )parameters (block (if_statement (call (identifier_isinstance) identifier_isinstance (a...
Cluster rule to process bash and hostname info ``bash`` and ``hostnames`` are Pandas DataFrames for the facts collected for each host in the cluster. See https://pandas.pydata.org/pandas-docs/stable/api.html#dataframe for information on available attributes and methods. Arguments: bash (p...
(module (function_definition (function_name_run_example) function_name_run_example (parameters (identifier_example_name) identifier_example_name (identifier_environ) identifier_environ )parameters (block (expression_statement (assignment (identifier_mod) identifier_...
Run an example module from zipline.examples.
(module (function_definition (function_name_dafopw) function_name_dafopw (parameters (identifier_fname) identifier_fname )parameters (block (expression_statement (assignment (identifier_fname) identifier_fname (call (attribute (identifi...
Open a DAF for subsequent write requests. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/dafopw_c.html :param fname: Name of DAF to be opened. :type fname: str :return: Handle assigned to DAF. :rtype: int
(module (function_definition (function_name_set_tags) function_name_set_tags (parameters (identifier_self) identifier_self (identifier_md5) identifier_md5 (identifier_tags) identifier_tags )parameters (block (if_statement (call (identifier_isinstance) identifi...
Set the tags for this sample
(module (function_definition (function_name_get_mentions) function_name_get_mentions (parameters (identifier_self) identifier_self (default_parameter (identifier_docs) identifier_docs (None) None )default_parameter (default_parameter (identifier_sort) identifier...
Return a list of lists of the mentions associated with this extractor. Each list of the return will contain the Mentions for one of the mention classes associated with the MentionExtractor. :param docs: If provided, return Mentions from these documents. Else, return all Mentions. ...
(module (function_definition (function_name_items) function_name_items (parameters (identifier_self) identifier_self (list_splat_pattern (identifier_args) identifier_args )list_splat_pattern (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictiona...
Returns a queryset of Actions to use based on the stream method and object.
(module (function_definition (function_name_load_template) function_name_load_template (parameters (identifier_path_or_buffer) identifier_path_or_buffer )parameters (block (import_from_statement (dotted_name (identifier_itertools) identifier_itertools )dotted_name...
Build tabula-py option from template file Args: file_like_obj: File like object of Tabula app template Returns: `obj`:dict: tabula-py options
(module (function_definition (function_name_create_datapoint) function_name_create_datapoint (parameters (identifier_value) identifier_value (default_parameter (identifier_timestamp) identifier_timestamp (None) None )default_parameter (dictionary_splat_pattern (...
Creates a single datapoint dict with a value, timestamp and tags. :param value: Value of the datapoint. Type depends on the id's MetricType :param timestamp: Optional timestamp of the datapoint. Uses client current time if not set. Millisecond accuracy. Can be datetime instance also. :param tags: Optional ...
(module (function_definition (function_name_on_button_release) function_name_on_button_release (parameters (identifier_self) identifier_self (identifier_event) identifier_event )parameters (block (expression_statement (call (attribute (identifier_self) i...
Select or deselect rubber banded groups of items The selection of elements is prior and never items are selected or deselected at the same time.
(module (function_definition (function_name_minus) function_name_minus (parameters (identifier_repo_list_a) identifier_repo_list_a (identifier_repo_list_b) identifier_repo_list_b )parameters (block (expression_statement (assignment (identifier_included) identifier_i...
Method to create a list of repositories such that the repository belongs to repo list a but not repo list b. In an ideal scenario we should be able to do this by set(a) - set(b) but as GithubRepositories have shown that set() on them is not reliable resort to this until it is all sorted...
(module (function_definition (function_name_combine_and_save) function_name_combine_and_save (parameters (identifier_add_path_list) identifier_add_path_list (identifier_out_path) identifier_out_path )parameters (block (expression_statement (assignment (identifier_ad...
Combines whatever datasets that can be combined, and save the bigger dataset to a given location.
(module (function_definition (function_name__add_logical_operator) function_name__add_logical_operator (parameters (identifier_self) identifier_self (identifier_operator) identifier_operator )parameters (block (if_statement (not_operator (attribute (iden...
Adds a logical operator in query :param operator: logical operator (str) :raise: - QueryExpressionError: if a expression hasn't been set
(module (function_definition (function_name_power_status_update) function_name_power_status_update (parameters (identifier_self) identifier_self (identifier_POWER_STATUS) identifier_POWER_STATUS )parameters (block (expression_statement (assignment (identifier_now) i...
update POWER_STATUS warnings level
(module (function_definition (function_name_combinePlinkBinaryFiles) function_name_combinePlinkBinaryFiles (parameters (identifier_prefixes) identifier_prefixes (identifier_outPrefix) identifier_outPrefix )parameters (block (expression_statement (assignment (identif...
Combine Plink binary files. :param prefixes: a list of the prefix of the files that need to be combined. :param outPrefix: the prefix of the output file (the combined file). :type prefixes: list :type outPrefix: str It uses Plink to merge a list of binary files (which is a li...
(module (function_definition (function_name_add_header) function_name_add_header (parameters (identifier_self) identifier_self (identifier_name) identifier_name (identifier_value) identifier_value )parameters (block (if_statement (comparison_operator (attribut...
Attach an email header to send with the message. :param name: The name of the header value. :param value: The header value.
(module (function_definition (function_name_raise_db_exception) function_name_raise_db_exception (parameters (identifier_self) identifier_self )parameters (block (if_statement (not_operator (attribute (identifier_self) identifier_self (identifier_m...
Raises exception from last server message This function will skip messages: The statement has been terminated
(module (function_definition (function_name_check_key) function_name_check_key (parameters (identifier_self) identifier_self (typed_parameter (identifier_key) identifier_key (type (identifier_str) identifier_str )type )typed_parameter )parameters (ty...
Checks if key exists in datastore. True if yes, False if no. :param: SHA512 hash key :return: whether or key not exists in datastore
(module (function_definition (function_name_tokenize) function_name_tokenize (parameters (identifier_self) identifier_self (identifier_s) identifier_s )parameters (block (expression_statement (call (attribute (identifier_javabridge) identifier_javabridge...
Tokenizes the string. :param s: the string to tokenize :type s: str :return: the iterator :rtype: TokenIterator
(module (function_definition (function_name_expired) function_name_expired (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (subscript (attribute (identifier_self) identifier_self (i...
Called when an expired session is atime
(module (function_definition (function_name_stream_messages) function_name_stream_messages (parameters (identifier_self) identifier_self )parameters (block (if_statement (comparison_operator (attribute (identifier_self) identifier_self (identifier_...
Access the stream_messages :returns: twilio.rest.sync.v1.service.sync_stream.stream_message.StreamMessageList :rtype: twilio.rest.sync.v1.service.sync_stream.stream_message.StreamMessageList
(module (function_definition (function_name_download_file_by_id) function_name_download_file_by_id (parameters (identifier_self) identifier_self (typed_parameter (identifier_file_id) identifier_file_id (type (attribute (identifier_base) identifier_base ...
Download file by file_id to destination if You want to automatically create destination (:class:`io.BytesIO`) use default value of destination and handle result of this method. :param file_id: str :param destination: filename or instance of :class:`io.IOBase`. For e. g. :class:`io.Byte...
(module (function_definition (function_name_format_axis) function_name_format_axis (parameters (identifier_ax) identifier_ax (default_parameter (identifier_label_padding) identifier_label_padding (integer_2) integer_2 )default_parameter (default_parameter (ident...
Set standardized axis formatting for figure.
(module (function_definition (function_name_generate_semantic_data_key) function_name_generate_semantic_data_key (parameters (identifier_used_semantic_keys) identifier_used_semantic_keys )parameters (block (expression_statement (assignment (identifier_semantic_data_id_cou...
Create a new and unique semantic data key :param list used_semantic_keys: Handed list of keys already in use :rtype: str :return: semantic_data_id
(module (function_definition (function_name_send_message) function_name_send_message (parameters (identifier_self) identifier_self (identifier_message) identifier_message )parameters (block (if_statement (attribute (identifier_self) identifier_self (identi...
Send a message down the socket. The message is expected to have a `request` attribute that holds the message to be serialized and sent.
(module (function_definition (function_name__parse_title) function_name__parse_title (parameters (identifier_line_iter) identifier_line_iter (identifier_cur_line) identifier_cur_line (identifier_conf) identifier_conf )parameters (block (expression_statement (assignment ...
Parse "title" in grub v1 config
(module (function_definition (function_name_explicit_counts_map) function_name_explicit_counts_map (parameters (identifier_self) identifier_self (default_parameter (identifier_pixels) identifier_pixels (None) None )default_parameter )parameters (block (if_statem...
return a counts map with explicit index scheme Parameters ---------- pixels : `np.ndarray` or None If set, grab only those pixels. If none, grab only non-zero pixels
(module (function_definition (function_name_set_codes) function_name_set_codes (parameters (identifier_self) identifier_self (identifier_codes) identifier_codes )parameters (block (expression_statement (assignment (identifier_codemap) identifier_codemap (s...
Set the country code map for the data. Codes given in a list. i.e. DE - Germany AT - Austria US - United States
(module (function_definition (function_name_prepend_path_variable_command) function_name_prepend_path_variable_command (parameters (identifier_variable) identifier_variable (identifier_paths) identifier_paths )parameters (block (assert_statement (call (identifier_is...
Returns a command that prepends the given paths to the named path variable on the current platform.
(module (function_definition (function_name_write_relationships) function_name_write_relationships (parameters (identifier_self) identifier_self (identifier_file_name) identifier_file_name (default_parameter (identifier_flat) identifier_flat (True) True )default_paramet...
This module will output the eDNA tags which are used inside each calculation. If flat=True, data will be written flat, like: ADE1CA01, ADE1PI01, ADE1PI02 If flat=False, data will be written in the non-flat way, like: ADE1CA01, ADE1PI01 ADE1CA01, ADE1PI02 ...
(module (function_definition (function_name_namer) function_name_namer (parameters (identifier_cls) identifier_cls (identifier_imageUrl) identifier_imageUrl (identifier_pageUrl) identifier_pageUrl )parameters (block (expression_statement (assignment (identifie...
Remove random junk from image names.
(module (function_definition (function_name_isValid) function_name_isValid (parameters (identifier_folder) identifier_folder (default_parameter (identifier_epoch) identifier_epoch (integer_0) integer_0 )default_parameter )parameters (block (return_statement ...
Check if the given folder is a valid preprocessed dataset
(module (function_definition (function_name__simplify_non_context_field_binary_composition) function_name__simplify_non_context_field_binary_composition (parameters (identifier_expression) identifier_expression )parameters (block (if_statement (call (identifier_any) ident...
Return a simplified BinaryComposition if either operand is a TrueLiteral. Args: expression: BinaryComposition without any ContextField operand(s) Returns: simplified expression if the given expression is a disjunction/conjunction and one of it's operands is a TrueLiteral, and t...
(module (function_definition (function_name_who_has) function_name_who_has (parameters (identifier_self) identifier_self (identifier_subid) identifier_subid )parameters (block (expression_statement (assignment (identifier_answer) identifier_answer (list ...
Return a list of names who own subid in their id range set.
(module (function_definition (function_name_formation_energy) function_name_formation_energy (parameters (identifier_self) identifier_self (default_parameter (identifier_chemical_potentials) identifier_chemical_potentials (None) None )default_parameter (default_paramete...
Computes the formation energy for a defect taking into account a given chemical potential and fermi_level
(module (function_definition (function_name_run) function_name_run (parameters (identifier_options) identifier_options (default_parameter (identifier_http_req_handler) identifier_http_req_handler (identifier_HttpReqHandler) identifier_HttpReqHandler )default_parameter )pa...
Start and execute the server
(module (function_definition (function_name_include) function_name_include (parameters (identifier_self) identifier_self (identifier_pattern) identifier_pattern )parameters (block (expression_statement (assignment (identifier_found) identifier_found (list_...
Include files that match 'pattern'.
(module (function_definition (function_name_run) function_name_run (parameters (identifier_self) identifier_self (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (block (expression_statement (call (a...
Run an IDF file with a given EnergyPlus weather file. This is a wrapper for the EnergyPlus command line interface. Parameters ---------- **kwargs See eppy.runner.functions.run()
(module (function_definition (function_name_list_domains_by_service) function_name_list_domains_by_service (parameters (identifier_self) identifier_self (identifier_service_id) identifier_service_id )parameters (block (expression_statement (assignment (identifier_co...
List the domains within a service.
(module (function_definition (function_name_summary) function_name_summary (parameters (identifier_self) identifier_self )parameters (block (if_statement (comparison_operator (attribute (identifier_self) identifier_self (identifier_features) identi...
Summary of model definition for labeling. Intended to be somewhat readable but unique to a given model definition.
(module (function_definition (function_name_draw) function_name_draw (parameters (identifier_self) identifier_self (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (block (expression_statement (assignment ...
Renders the training and test learning curves.
(module (function_definition (function_name_get_delay) function_name_get_delay (parameters (identifier_self) identifier_self (identifier_planned) identifier_planned (identifier_estimated) identifier_estimated )parameters (block (expression_statement (assignment ...
Min of delay on planned departure.
(module (function_definition (function_name_first) function_name_first (parameters (identifier_script) identifier_script (default_parameter (identifier_value) identifier_value (None) None )default_parameter (default_parameter (identifier_default) identifier_defa...
Transform object by jq script, returning the first result. Return default if result is empty.
(module (function_definition (function_name_staticmap) function_name_staticmap (parameters (identifier_ctx) identifier_ctx (identifier_mapid) identifier_mapid (identifier_output) identifier_output (identifier_features) identifier_features (identifier_lat) identifier_lat (id...
Generate static map images from existing Mapbox map ids. Optionally overlay with geojson features. $ mapbox staticmap --features features.geojson mapbox.satellite out.png $ mapbox staticmap --lon -61.7 --lat 12.1 --zoom 12 mapbox.satellite out2.png An access token is required, see `mapbox --help`.
(module (function_definition (function_name_remove_rows_matching) function_name_remove_rows_matching (parameters (identifier_df) identifier_df (identifier_column) identifier_column (identifier_match) identifier_match )parameters (block (expression_statement (assignment ...
Return a ``DataFrame`` with rows where `column` values match `match` are removed. The selected `column` series of values from the supplied Pandas ``DataFrame`` is compared to `match`, and those rows that match are removed from the DataFrame. :param df: Pandas ``DataFrame`` :param column: Column indexe...
(module (function_definition (function_name_Flush) function_name_Flush (parameters (identifier_self) identifier_self )parameters (block (if_statement (boolean_operator (attribute (identifier_self) identifier_self (identifier_locked) identifier_lock...
Syncs this object with the data store, maintaining object validity.
(module (function_definition (function_name_on_add_rows) function_name_on_add_rows (parameters (identifier_self) identifier_self (identifier_event) identifier_event )parameters (block (expression_statement (assignment (identifier_num_rows) identifier_num_rows ...
add rows to grid
(module (function_definition (function_name_get_entity) function_name_get_entity (parameters (identifier_self) identifier_self (identifier_entity) identifier_entity (default_parameter (identifier_default) identifier_default (None) None )default_parameter )parameters...
Gets an entity object from the ACL. :type entity: :class:`_ACLEntity` or string :param entity: The entity to get lookup in the ACL. :type default: anything :param default: This value will be returned if the entity doesn't exist. :rtype: :class:`_ACLEnti...
(module (function_definition (function_name_on_enter_specimen) function_name_on_enter_specimen (parameters (identifier_self) identifier_self (identifier_event) identifier_event )parameters (block (expression_statement (assignment (identifier_new_specimen) identifier...
upon enter on the specimen box it makes that specimen the current specimen
(module (function_definition (function_name_default_resolve_fn) function_name_default_resolve_fn (parameters (identifier_source) identifier_source (identifier_info) identifier_info (dictionary_splat_pattern (identifier_args) identifier_args )dictionary_splat_pattern )parame...
If a resolve function is not given, then a default resolve behavior is used which takes the property of the source object of the same name as the field and returns it as the result, or if it's a function, returns the result of calling that function.
(module (function_definition (function_name_handle_feedback) function_name_handle_feedback (parameters (identifier_self) identifier_self (identifier_pkt) identifier_pkt )parameters (block (expression_statement (call (attribute (attribute (i...
This part of the protocol is used by IRAF to erase a frame in the framebuffers.
(module (function_definition (function_name_create_initialized_contract_account) function_name_create_initialized_contract_account (parameters (identifier_self) identifier_self (identifier_contract_code) identifier_contract_code (identifier_storage) identifier_storage )parameters (ty...
Creates a new contract account, based on the contract code and storage provided The contract code only includes the runtime contract bytecode. :param contract_code: Runtime bytecode for the contract :param storage: Initial storage for the contract :return: The new account
(module (function_definition (function_name_update_in_hdx) function_name_update_in_hdx (parameters (identifier_self) identifier_self (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (block (expression_statement ...
Check if resource exists in HDX and if so, update it Args: **kwargs: See below operation (string): Operation to perform eg. patch. Defaults to update. Returns: None
(module (function_definition (function_name__strip_marker_elem) function_name__strip_marker_elem (parameters (identifier_elem_name) identifier_elem_name (identifier_elements) identifier_elements )parameters (block (expression_statement (assignment (identifier_extra_...
Remove the supplied element from the marker. This is not a comprehensive implementation, but relies on an important characteristic of metadata generation: The element's operand is always associated with an "and" operator. This means that we can simply remove the operand and the "and" operator associate...
(module (function_definition (function_name__high_dim_sim) function_name__high_dim_sim (parameters (identifier_self) identifier_self (identifier_v) identifier_v (identifier_w) identifier_w (default_parameter (identifier_normalize) identifier_normalize (False) False ...
Similarity measurement based on Gaussian Distribution
(module (function_definition (function_name_getMessage) function_name_getMessage (parameters (identifier_self) identifier_self )parameters (block (if_statement (call (identifier_isinstance) identifier_isinstance (argument_list (attribute ...
Return the message for this LogRecord. Return the message for this LogRecord after merging any user-supplied \ arguments with the message.
(module (function_definition (function_name_get_resource_search_session) function_name_get_resource_search_session (parameters (identifier_self) identifier_self (identifier_proxy) identifier_proxy )parameters (block (if_statement (not_operator (call (att...
Gets a resource search session. arg: proxy (osid.proxy.Proxy): a proxy return: (osid.resource.ResourceSearchSession) - ``a ResourceSearchSession`` raise: NullArgument - ``proxy`` is ``null`` raise: OperationFailed - unable to complete request raise: Unimple...
(module (function_definition (function_name_hist_axis_func) function_name_hist_axis_func (parameters (typed_parameter (identifier_axis_type) identifier_axis_type (type (attribute (identifier_enum) identifier_enum (identifier_Enum) identifier_Enum ...
Wrapper to retrieve the axis of a given histogram. This can be convenient outside of just projections, so it's made available in the API. Args: axis_type: The type of axis to retrieve. Returns: Callable to retrieve the specified axis when given a hist.
(module (function_definition (function_name_to_yaml) function_name_to_yaml (parameters (identifier_obj) identifier_obj (default_parameter (identifier_stream) identifier_stream (None) None )default_parameter (default_parameter (identifier_dumper_cls) identifier_d...
Serialize a Python object into a YAML stream with OrderedDict and default_flow_style defaulted to False. If stream is None, return the produced string instead. OrderedDict reference: http://stackoverflow.com/a/21912744 default_flow_style reference: http://stackoverflow.com/a/18210750 :param data:...
(module (function_definition (function_name_pop_arguments) function_name_pop_arguments (parameters (identifier_instr) identifier_instr (identifier_stack) identifier_stack )parameters (block (expression_statement (assignment (identifier_needed) identifier_needed ...
Pop instructions off `stack` until we pop all instructions that will produce values popped by `instr`.
(module (function_definition (function_name_removeIndividual) function_name_removeIndividual (parameters (identifier_self) identifier_self (identifier_individual) identifier_individual )parameters (block (expression_statement (assignment (identifier_q) identifier_q ...
Removes the specified individual from this repository.
(module (function_definition (function_name_on_action_run) function_name_on_action_run (parameters (identifier_self) identifier_self (identifier_task_vars) identifier_task_vars (identifier_delegate_to_hostname) identifier_delegate_to_hostname (identifier_loader_basedir) identifier_load...
Invoked by ActionModuleMixin to indicate a new task is about to start executing. We use the opportunity to grab relevant bits from the task-specific data. :param dict task_vars: Task variable dictionary. :param str delegate_to_hostname: :data:`None`, or the templ...
(module (function_definition (function_name_get_future) function_name_get_future (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_now) identifier_now (call (attribute (identi...
Get current and future forecasts.
(module (function_definition (function_name_group_select) function_name_group_select (parameters (identifier_selects) identifier_selects (default_parameter (identifier_length) identifier_length (None) None )default_parameter (default_parameter (identifier_depth)...
Given a list of key tuples to select, groups them into sensible chunks to avoid duplicating indexing operations.
(module (function_definition (function_name_show_distribution_section) function_name_show_distribution_section (parameters (identifier_config) identifier_config (identifier_title) identifier_title (identifier_section_name) identifier_section_name )parameters (block (expression_...
Obtain distribution data and display latest distribution section, i.e. "demos" or "apps" or "themes".
(module (function_definition (function_name_from_remote_hive) function_name_from_remote_hive (parameters (identifier_cls) identifier_cls (identifier_url) identifier_url (list_splat_pattern (identifier_args) identifier_args )list_splat_pattern (dictionary_splat_pattern ...
Download a JSON hive file from a URL, and initialize from it, paying attention to the version keyword argument.
(module (function_definition (function_name_download_page) function_name_download_page (parameters (identifier_url) identifier_url (default_parameter (identifier_data) identifier_data (None) None )default_parameter )parameters (block (expression_statement ...
Returns the response for the given url. The optional data argument is passed directly to urlopen.
(module (function_definition (function_name_shell) function_name_shell (parameters (identifier_environment) identifier_environment (identifier_opts) identifier_opts )parameters (block (expression_statement (call (attribute (identifier_environment) identi...
Run a command or interactive shell within this environment Usage: datacats [-d] [-s NAME] shell [ENVIRONMENT [COMMAND...]] Options: -d --detach Run the resulting container in the background -s --site=NAME Specify a site to run the shell on [default: primary] ENVIRONMENT may be an environment name or a ...
(module (function_definition (function_name_independentlinear60) function_name_independentlinear60 (parameters (default_parameter (identifier_display) identifier_display (False) False )default_parameter )parameters (block (expression_statement (assignment ...
A simulated dataset with tight correlations among distinct groups of features.
(module (function_definition (function_name__set_default_serializer) function_name__set_default_serializer (parameters (identifier_self) identifier_self (identifier_name) identifier_name )parameters (block (try_statement (block (expression_statement (ass...
Set the default serialization method used by this library. :param name: The name of the registered serialization method. For example, ``json`` (default), ``pickle``, ``yaml``, or any custom methods registered using :meth:`register`. :raises SerializerNotInstalled: If the serial...
(module (function_definition (function_name_page_view) function_name_page_view (parameters (identifier_url) identifier_url )parameters (block (function_definition (function_name_decorator) function_name_decorator (parameters (identifier_func) identifier_func ...
Page view decorator. Put that around a state handler function in order to log a page view each time the handler gets called. :param url: simili-URL that you want to give to the state
(module (function_definition (function_name___symlink_dir) function_name___symlink_dir (parameters (identifier_self) identifier_self (identifier_dir_name) identifier_dir_name (identifier_name) identifier_name (identifier_path) identifier_path )parameters (block (expressio...
Symlink an object at path to name in the dir_name folder. remove it if it already exists.
(module (function_definition (function_name_do_help) function_name_do_help (parameters (identifier_self) identifier_self (identifier_arg) identifier_arg )parameters (block (if_statement (boolean_operator (not_operator (identifier_arg) identifier_arg ...
Patched to show help for arparse commands
(module (function_definition (function_name_is_integer) function_name_is_integer (parameters (identifier_obj) identifier_obj )parameters (block (if_statement (identifier_PYTHON3) identifier_PYTHON3 (block (return_statement (call (identifi...
Is this an integer. :param object obj: :return:
(module (function_definition (function_name___get_connection_SNS) function_name___get_connection_SNS (parameters )parameters (block (expression_statement (assignment (identifier_region) identifier_region (call (identifier_get_global_option) identifier_get_...
Ensure connection to SNS
(module (function_definition (function_name_ami_lookup) function_name_ami_lookup (parameters (default_parameter (identifier_region) identifier_region (string_'us-east-1') string_'us-east-1' )default_parameter (default_parameter (identifier_name) identifier_name ...
Look up AMI ID. Use _name_ to find AMI ID. If no ami_base_url or gitlab_token is provided, _name_ is returned as the ami id. Args: region (str): AWS Region to find AMI ID. name (str): Simple AMI base name to lookup. Returns: str: AMI ID for _name_ in _region_.
(module (function_definition (function_name_width) function_name_width (parameters (identifier_self) identifier_self )parameters (block (if_statement (comparison_operator (attribute (identifier_self) identifier_self (identifier__width) identifier__...
The number of columns it would take to display this string