sequence
stringlengths
557
12.7k
docstring
stringlengths
4
15.2k
(module (function_definition (function_name_date_to_datetime) function_name_date_to_datetime (parameters (identifier_self) identifier_self (identifier_time_input) identifier_time_input (default_parameter (identifier_tz) identifier_tz (None) None )default_parameter )...
Convert ISO 8601 and other date strings to datetime.datetime type. Args: time_input (string): The time input string (see formats above). tz (string): The time zone for the returned data. Returns: (datetime.datetime): Python datetime.datetime object.
(module (function_definition (function_name__on_wheel_event) function_name__on_wheel_event (parameters (identifier_self) identifier_self (identifier_event) identifier_event )parameters (block (try_statement (block (expression_statement (assignment ...
Increments or decrements editor fonts settings on mouse wheel event if ctrl modifier is on. :param event: wheel event :type event: QWheelEvent
(module (function_definition (function_name_display_exc) function_name_display_exc (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_errmsg) identifier_errmsg (call (attribute ...
Properly prints an exception in the exception context.
(module (function_definition (function_name_load_event_list) function_name_load_event_list (parameters (identifier_filename) identifier_filename (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (block (return_statemen...
Load event list from csv formatted text-file Supported formats (see more `dcase_util.containers.MetaDataContainer.load()` method): - [event onset (float >= 0)][delimiter][event offset (float >= 0)] - [event onset (float >= 0)][delimiter][event offset (float >= 0)][delimiter][label] - [filename][delimi...
(module (function_definition (function_name_iiscgi) function_name_iiscgi (parameters (identifier_application) identifier_application )parameters (block (try_statement (block (import_from_statement (dotted_name (identifier_wsgiref) identifier_wsgi...
A specialized version of the reference WSGI-CGI server to adapt to Microsoft IIS quirks. This is not a production quality interface and will behave badly under load.
(module (function_definition (function_name_emit_containers) function_name_emit_containers (parameters (identifier_self) identifier_self (identifier_containers) identifier_containers (default_parameter (identifier_verbose) identifier_verbose (True) True )default_paramet...
Emits the task definition and sorts containers by name :param containers: List of the container definitions :type containers: list of dict :param verbose: Print out newlines and indented JSON :type verbose: bool :returns: The text output :rtype: str
(module (function_definition (function_name_create_config) function_name_create_config (parameters (default_parameter (identifier_name) identifier_name (None) None )default_parameter (default_parameter (identifier_subvolume) identifier_subvolume (None) None ...
Creates a new Snapper configuration name Name of the new Snapper configuration. subvolume Path to the related subvolume. fstype Filesystem type of the subvolume. template Configuration template to use. (Default: default) extra_opts Extra Snapper configuration...
(module (function_definition (function_name_register_components) function_name_register_components (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_unregistered_components) identifier_unregistered_components ...
Registers the Components. Usage:: >>> manager = Manager(("./manager/tests/tests_manager/resources/components/core",)) >>> manager.register_components() True >>> manager.components.keys() [u'core.tests_component_a', u'core.tests_component_b'] ...
(module (function_definition (function_name_get_all_external_accounts) function_name_get_all_external_accounts (parameters (identifier_resource_root) identifier_resource_root (identifier_type_name) identifier_type_name (default_parameter (identifier_view) identifier_view (Non...
Lookup all external accounts of a particular type, by type name. @param resource_root: The root Resource object. @param type_name: Type name @param view: View @return: An ApiList of ApiExternalAccount objects matching the specified type
(module (function_definition (function_name_addUnexpectedSuccess) function_name_addUnexpectedSuccess (parameters (identifier_self) identifier_self (identifier_test) identifier_test )parameters (block (expression_statement (assignment (identifier_result) identifier_r...
Register a test that passed unexpectedly. Parameters ---------- test : unittest.TestCase The test that has completed.
(module (function_definition (function_name_get_what_follows_raw) function_name_get_what_follows_raw (parameters (typed_parameter (identifier_s) identifier_s (type (identifier_str) identifier_str )type )typed_parameter (typed_parameter (identifier_pr...
Find the part of ``s`` that is after ``prefix``. Args: s: string to analyse prefix: prefix to find onlyatstart: only accept the prefix if it is right at the start of ``s`` stripwhitespace: remove whitespace from the result Returns: tuple: ``(found, result)``
(module (function_definition (function_name_get_all) function_name_get_all (parameters )parameters (block (expression_statement (assignment (identifier_info_dir) identifier_info_dir (call (identifier__get_info_dir) identifier__get_info_dir (arg...
Return TensorBoardInfo values for running TensorBoard processes. This function may not provide a perfect snapshot of the set of running processes. Its result set may be incomplete if the user has cleaned their /tmp/ directory while TensorBoard processes are running. It may contain extraneous entries if TensorB...
(module (function_definition (function_name_drop_columns) function_name_drop_columns (parameters (identifier_self) identifier_self (identifier_colnames) identifier_colnames (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters...
Drop columns from the table. See the docs for ``numpy.lib.recfunctions.drop_fields`` for an explanation of the remaining options.
(module (function_definition (function_name_reference) function_name_reference (parameters (identifier_self) identifier_self )parameters (block (if_statement (comparison_operator (attribute (identifier_self) identifier_self (identifier___reference)...
Return the Reference object for this Key. This is a entity_pb.Reference instance -- a protocol buffer class used by the lower-level API to the datastore. NOTE: The caller should not mutate the return value.
(module (function_definition (function_name_add_relationship) function_name_add_relationship (parameters (identifier_self) identifier_self (identifier_term1) identifier_term1 (identifier_relationship) identifier_relationship (identifier_term2) identifier_term2 )parameters (bloc...
Creates a relationship between 3 entities in database
(module (function_definition (function_name_step) function_name_step (parameters (identifier_self) identifier_self (identifier_provided_inputs) identifier_provided_inputs )parameters (block (for_statement (pattern_list (identifier_wire) identifier_wire (id...
Run the simulation for a cycle :param provided_inputs: a dictionary mapping WireVectors (or their names) to their values for this step eg: {wire: 3, "wire_name": 17}
(module (function_definition (function_name_get_background_sids) function_name_get_background_sids (parameters (identifier_self) identifier_self (identifier_src_filter) identifier_src_filter )parameters (block (expression_statement (assignment (identifier_branch_key...
We can apply the filtering of the background sites as a pre-processing step - this is done here rather than in the sampling of the ruptures themselves
(module (function_definition (function_name_get) function_name_get (parameters (identifier_self) identifier_self (identifier_key) identifier_key (default_parameter (identifier_fallback) identifier_fallback (None) None )default_parameter )parameters (block ...
look up global config values from alot's config :param key: key to look up :type key: str :param fallback: fallback returned if key is not present :type fallback: str :returns: config value with type as specified in the spec-file
(module (function_definition (function_name_delete) function_name_delete (parameters (identifier_self) identifier_self (default_parameter (identifier_db_session) identifier_db_session (None) None )default_parameter )parameters (block (expression_statement ...
Deletes the object via session, this will permanently delete the object from storage on commit :param db_session: :return:
(module (function_definition (function_name__range_along_dimension) function_name__range_along_dimension (parameters (identifier_range_dim) identifier_range_dim (identifier_shape) identifier_shape )parameters (block (expression_statement (assignment (identifier_rank...
Construct a Tensor whose values are the index along a dimension. Construct a Tensor that counts the distance along a single dimension. This is useful, for example, when constructing an identity matrix, >>> x = _range_along_dimension(0, [2, 2]).eval() >>> x array([[0, 0], [1, 1]], dtype=int3...
(module (function_definition (function_name_toggle) function_name_toggle (parameters (identifier_path_or_id) identifier_path_or_id (identifier_badge_kind) identifier_badge_kind )parameters (block (if_statement (call (identifier_exists) identifier_exists (a...
Toggle a `badge_kind` for a given `path_or_id` The `path_or_id` is either an id, a slug or a file containing a list of ids or slugs.
(module (function_definition (function_name_GetName) function_name_GetName (parameters (identifier_obj) identifier_obj )parameters (block (expression_statement (call (attribute (identifier_precondition) identifier_precondition (identifier_AssertTyp...
A compatibility wrapper for getting object's name. In Python 2 class names are returned as `bytes` (since class names can contain only ASCII characters) whereas in Python 3 they are `unicode` (since class names can contain arbitrary unicode characters). This function makes this behaviour consistent and always...
(module (function_definition (function_name_drop_namespaces) function_name_drop_namespaces (parameters (identifier_self) identifier_self )parameters (block (expression_statement (call (attribute (call (attribute (attribute ...
Drop all namespaces.
(module (function_definition (function_name_load_file) function_name_load_file (parameters (identifier_self) identifier_self (identifier_file) identifier_file )parameters (block (if_statement (not_operator (call (attribute (attribute ...
Reads and loads given file into the editor. :param File: File to load. :type File: unicode :return: Method success. :rtype: bool
(module (function_definition (function_name_deserialize) function_name_deserialize (parameters (identifier_self) identifier_self (identifier_data) identifier_data (identifier_status_code) identifier_status_code )parameters (block (if_statement (comparison_operator ...
Deserializes a JSON string into a dictionary.
(module (function_definition (function_name__get_bmu) function_name__get_bmu (parameters (identifier_self) identifier_self (identifier_activations) identifier_activations )parameters (block (if_statement (comparison_operator (attribute (identifier_self) ...
Get indices of bmus, sorted by their distance from input.
(module (function_definition (function_name_imread) function_name_imread (parameters (identifier_path) identifier_path (default_parameter (identifier_grayscale) identifier_grayscale (False) False )default_parameter (default_parameter (identifier_size) identifier...
Read image by cv2 module. Args: path (str or 'file object'): File path or object to read. grayscale (bool): size (tupple of int): (width, height). If None, output img shape depends on the files to read. channel_first (bool): This argument specifie...
(module (function_definition (function_name_create_primary_zone_by_axfr) function_name_create_primary_zone_by_axfr (parameters (identifier_self) identifier_self (identifier_account_name) identifier_account_name (identifier_zone_name) identifier_zone_name (identifier_master) identifier_...
Creates a new primary zone by zone transferring off a master. Arguments: account_name -- The name of the account that will contain this zone. zone_name -- The name of the zone. It must be unique. master -- Primary name server IP address. Keyword Arguments: tsig_key -- ...
(module (function_definition (function_name_coinc) function_name_coinc (parameters (identifier_self) identifier_self (identifier_s0) identifier_s0 (identifier_s1) identifier_s1 (identifier_slide) identifier_slide (identifier_step) identifier_step )parameters (block ...
Calculate the final coinc ranking statistic
(module (function_definition (function_name_expect) function_name_expect (parameters (identifier_instr) identifier_instr (identifier_expected) identifier_expected (identifier_context) identifier_context )parameters (block (if_statement (not_operator (call ...
Check that an instruction is of the expected type.
(module (function_definition (function_name_annotatedcore) function_name_annotatedcore (parameters (identifier_self) identifier_self )parameters (block (expression_statement (call (attribute (identifier_logging) identifier_logging (identifier_info)...
Calculates the core genome of organisms using custom databases
(module (function_definition (function_name_attach) function_name_attach (parameters (identifier_self) identifier_self (identifier_engine) identifier_engine (default_parameter (identifier_start) identifier_start (attribute (identifier_Events) identifier_Events ...
Register callbacks to control the timer. Args: engine (Engine): Engine that this timer will be attached to. start (Events): Event which should start (reset) the timer. pause (Events): Event which should pause the timer. ...
(module (function_definition (function_name_reactivate) function_name_reactivate (parameters (identifier_self) identifier_self )parameters (block (expression_statement (call (attribute (attribute (identifier_self) identifier_self (i...
Called when a sub-protocol is finished. This disconnects the sub-protocol and redraws the main menu UI.
(module (function_definition (function_name_generate_sigv4_auth_request) function_name_generate_sigv4_auth_request (parameters (default_parameter (identifier_header_value) identifier_header_value (None) None )default_parameter )parameters (block (expression_statement ...
Helper function to prepare a AWS API request to subsequently generate a "AWS Signature Version 4" header. :param header_value: Vault allows you to require an additional header, X-Vault-AWS-IAM-Server-ID, to be present to mitigate against different types of replay attacks. Depending on the configuration of ...
(module (function_definition (function_name_get_descriptions) function_name_get_descriptions (parameters (identifier_self) identifier_self (identifier_description_type) identifier_description_type )parameters (block (expression_statement (assignment (tuple_pattern ...
Gets the descriptions for specified type. When complete the callback is called with a list of descriptions
(module (function_definition (function_name_enter_room) function_name_enter_room (parameters (identifier_self) identifier_self (identifier_sid) identifier_sid (identifier_namespace) identifier_namespace (identifier_room) identifier_room )parameters (block (if_statement ...
Add a client to a room.
(module (function_definition (function_name_hangup) function_name_hangup (parameters (identifier_self) identifier_self )parameters (block (if_statement (attribute (identifier_self) identifier_self (identifier_active) identifier_active )attribute ...
End the phone call. Does nothing if the call is already inactive.
(module (function_definition (function_name_check) function_name_check (parameters (identifier_self) identifier_self (identifier_feature) identifier_feature )parameters (block (expression_statement (assignment (identifier_found) identifier_found (False) Fa...
Loop through all our feature flag checkers and return true if any of them are true. The order of handlers matters - we will immediately return True if any handler returns true. If you want to a handler to return False and stop the chain, raise the StopCheckingFeatureFlags exception.
(module (function_definition (function_name_ordered) function_name_ordered (parameters (identifier_self) identifier_self (default_parameter (identifier_ord) identifier_ord (string_'desc') string_'desc' )default_parameter )parameters (block (if_statement ...
Order the query result on the relations' indexes.
(module (function_definition (function_name_get_settings) function_name_get_settings (parameters (identifier_config_file) identifier_config_file )parameters (block (expression_statement (assignment (identifier_default_settings) identifier_default_settings (dicti...
Search and load a configuration file.
(module (function_definition (function_name_get_colormap) function_name_get_colormap (parameters (identifier_name) identifier_name (list_splat_pattern (identifier_args) identifier_args )list_splat_pattern (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs ...
Obtain a colormap Some colormaps can have additional configuration parameters. Refer to their corresponding documentation for more information. Parameters ---------- name : str | Colormap Colormap name. Can also be a Colormap for pass-through. Examples -------- >>> get_co...
(module (function_definition (function_name_rm) function_name_rm (parameters (identifier_pattern) identifier_pattern )parameters (block (expression_statement (assignment (identifier_paths) identifier_paths (call (attribute (identifier_g...
Recursively remove a file or dir by pattern.
(module (function_definition (function_name_create_and_configure_wrapper) function_name_create_and_configure_wrapper (parameters (identifier_context_or_world) identifier_context_or_world )parameters (block (expression_statement (assignment (attribute (identifi...
Create and configure driver wrapper in behave or lettuce tests :param context_or_world: behave context or lettuce world
(module (function_definition (function_name_iter) function_name_iter (parameters (identifier_self) identifier_self (default_parameter (identifier_start) identifier_start (integer_0) integer_0 )default_parameter (default_parameter (identifier_end) identifier_end ...
Iterate through successive history items. Parameters ---------- end : int Index of the last item to loop through + 1. start : int Initial index for the loop (0 by default).
(module (function_definition (function_name__write_to_datastore) function_name__write_to_datastore (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_roots_and_submissions) identifier_roots_and_submissions ...
Writes all submissions to datastore.
(module (function_definition (function_name_list_to_bytes_list) function_name_list_to_bytes_list (parameters (identifier_strList) identifier_strList )parameters (block (expression_statement (assignment (identifier_pList) identifier_pList (binary_operator ...
This function turns an array of strings into a pointer array with pointers pointing to the encodings of those strings Possibly contained bytes are kept as they are. :param strList: List of strings that shall be converted :type strList: List of strings :returns: Pointer array with pointers pointing ...
(module (function_definition (function_name_pop_scope) function_name_pop_scope (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_child_scope) identifier_child_scope (call (attribute ...
Delete the current scope in the current scope.
(module (function_definition (function_name_in_reply_to) function_name_in_reply_to (parameters (identifier_self) identifier_self )parameters (type (generic_type (identifier_Optional) identifier_Optional (type_parameter (type (identifier_UnstructuredHea...
The ``In-Reply-To`` header.
(module (function_definition (function_name_is_console) function_name_is_console (parameters (identifier_self) identifier_self (identifier_users_text) identifier_users_text )parameters (block (if_statement (comparison_operator (identifier_users_text) identifier_user...
Return if device is connected over console.
(module (function_definition (function_name__format_volume_string) function_name__format_volume_string (parameters (identifier_self) identifier_self (identifier_volume_string) identifier_volume_string )parameters (block (expression_statement (assignment (attribute ...
format vlc's volume
(module (function_definition (function_name_vicinity) function_name_vicinity (parameters (identifier_self) identifier_self )parameters (block (if_statement (boolean_operator (boolean_operator (comparison_operator (attribute (ident...
Returns a feature name of a nearby location. Often this feature refers to a street or neighborhood within the given results.
(module (function_definition (function_name_get_messages) function_name_get_messages (parameters (identifier_self) identifier_self (default_parameter (identifier_page) identifier_page (integer_0) integer_0 )default_parameter )parameters (block (expression_statem...
Get first 10 messages in account, across all folders. Keyword Args: page (int): Integer representing the 'page' of results to fetch Returns: List[:class:`Message <pyOutlook.core.message.Message>`]
(module (function_definition (function_name_mobile_template) function_name_mobile_template (parameters (identifier_template) identifier_template )parameters (block (function_definition (function_name_decorator) function_name_decorator (parameters (identifier_f) id...
Mark a function as mobile-ready and pass a mobile template if MOBILE. For example:: @mobile_template('a/{mobile/}b.html') def view(template=None): ... if ``request.MOBILE=True`` the template will be `a/mobile/b.html`. if ``request.MOBILE=False`` the template will be `a/b.html...
(module (function_definition (function_name_DisplayEstimate) function_name_DisplayEstimate (parameters (identifier_message) identifier_message (identifier_min_estimate) identifier_min_estimate (identifier_max_estimate) identifier_max_estimate )parameters (block (expression_stat...
Displays mean average cpc, position, clicks, and total cost for estimate. Args: message: str message to display for the given estimate. min_estimate: sudsobject containing a minimum estimate from the TrafficEstimatorService response. max_estimate: sudsobject containing a maximum estimate from the ...
(module (function_definition (function_name_show_tooltip) function_name_show_tooltip (parameters (identifier_self) identifier_self (identifier_pos) identifier_pos (identifier_tooltip) identifier_tooltip (default_parameter (identifier__sender_deco) identifier__sender_deco ...
Show a tool tip at the specified position :param pos: Tooltip position :param tooltip: Tooltip text :param _sender_deco: TextDecoration which is the sender of the show tooltip request. (for internal use only).
(module (function_definition (function_name_load_reader_options) function_name_load_reader_options (parameters )parameters (block (expression_statement (assignment (identifier_options) identifier_options (subscript (attribute (identifier_os) ...
Retrieve Pandoc Reader options from the environment
(module (function_definition (function_name__make_minimal) function_name__make_minimal (parameters (identifier_dictionary) identifier_dictionary )parameters (block (expression_statement (assignment (identifier_new_dict) identifier_new_dict (dictionary ...
This function removes all the keys whose value is either None or an empty dictionary.
(module (function_definition (function_name_is_valid_vpnv4_prefix) function_name_is_valid_vpnv4_prefix (parameters (identifier_prefix) identifier_prefix )parameters (block (if_statement (not_operator (call (identifier_isinstance) identifier_isinstance ...
Returns True if given prefix is a string represent vpnv4 prefix. Vpnv4 prefix is made up of RD:Ipv4, where RD is represents route distinguisher and Ipv4 represents valid dot-decimal ipv4 notation string.
(module (function_definition (function_name_start) function_name_start (parameters (identifier_self) identifier_self )parameters (block (if_statement (not_operator (call (attribute (attribute (identifier_self) identifier_self ...
Starts the thread pool. Does nothing if the pool is already started.
(module (function_definition (function_name_write) function_name_write (parameters (identifier_self) identifier_self (identifier_file_or_path) identifier_file_or_path (default_parameter (identifier_append) identifier_append (False) False )default_parameter (defaul...
Write Smother results to a file. Parameters ---------- fiile_or_path : str Path to write report to append : bool If True, read an existing smother report from `outpath` and combine it with this file before writing. timeout : int Ti...
(module (function_definition (function_name_error_log) function_name_error_log (parameters (identifier_self) identifier_self (default_parameter (identifier_msg) identifier_msg (string_'') string_'' )default_parameter (default_parameter (identifier_level) identif...
Write error message to log. Args: msg (str): error message level (int): logging level traceback (bool): add traceback to output or not
(module (function_definition (function_name_handleOneClientMsg) function_name_handleOneClientMsg (parameters (identifier_self) identifier_self (identifier_wrappedMsg) identifier_wrappedMsg )parameters (block (try_statement (block (expression_statement (a...
Validate and process a client message :param wrappedMsg: a message from a client
(module (function_definition (function_name_GetUserinfo) function_name_GetUserinfo (parameters (identifier_credentials) identifier_credentials (default_parameter (identifier_http) identifier_http (None) None )default_parameter )parameters (block (expression_stat...
Get the userinfo associated with the given credentials. This is dependent on the token having either the userinfo.email or userinfo.profile scope for the given token. Args: credentials: (oauth2client.client.Credentials) incoming credentials http: (httplib2.Http, optional) http instance to use ...
(module (function_definition (function_name_compute_colors_for_labels) function_name_compute_colors_for_labels (parameters (identifier_self) identifier_self (identifier_labels) identifier_labels )parameters (block (expression_statement (assignment (identifier_colors...
Simple function that adds fixed colors depending on the class
(module (function_definition (function_name__process_batch_write_response) function_name__process_batch_write_response (parameters (identifier_request) identifier_request (identifier_response) identifier_response (identifier_table_crypto_config) identifier_table_crypto_config )parameters...
Handle unprocessed items in the response from a transparently encrypted write. :param dict request: The DynamoDB plaintext request dictionary :param dict response: The DynamoDB response from the batch operation :param Dict[Text, CryptoConfig] table_crypto_config: table level CryptoConfig used in encrypting...
(module (function_definition (function_name_publish_server_heartbeat_succeeded) function_name_publish_server_heartbeat_succeeded (parameters (identifier_self) identifier_self (identifier_connection_id) identifier_connection_id (identifier_duration) identifier_duration (identifier_reply...
Publish a ServerHeartbeatSucceededEvent to all server heartbeat listeners. :Parameters: - `connection_id`: The address (host/port pair) of the connection. - `duration`: The execution time of the event in the highest possible resolution for the platform. - `reply`:...
(module (function_definition (function_name_put) function_name_put (parameters (identifier_self) identifier_self (identifier_body) identifier_body (default_parameter (identifier_priority) identifier_priority (identifier_DEFAULT_PRIORITY) identifier_DEFAULT_PRIORITY )def...
Put a job into the current tube. Returns job id.
(module (function_definition (function_name__char_density) function_name__char_density (parameters (identifier_self) identifier_self (identifier_c) identifier_c (default_parameter (identifier_font) identifier_font (call (attribute (identifier_ImageFont) ...
Count the number of black pixels in a rendered character.
(module (function_definition (function_name__tile_ticks) function_name__tile_ticks (parameters (identifier_self) identifier_self (identifier_frac) identifier_frac (identifier_tickvec) identifier_tickvec )parameters (block (expression_statement (assignment (ide...
Tiles tick marks along the axis.
(module (function_definition (function_name__peek_buffer) function_name__peek_buffer (parameters (identifier_self) identifier_self (default_parameter (identifier_i) identifier_i (integer_0) integer_0 )default_parameter )parameters (block (while_statement ...
Get the next line without consuming it.
(module (function_definition (function_name_filing_history) function_name_filing_history (parameters (identifier_self) identifier_self (identifier_num) identifier_num (default_parameter (identifier_transaction) identifier_transaction (None) None )default_parameter ...
Search for a company's filling history by company number. Args: num (str): Company number to search on. transaction (Optional[str]): Filing record number. kwargs (dict): additional keywords passed into requests.session.get params keyword.
(module (function_definition (function_name_validate_reaction) function_name_validate_reaction (parameters (identifier_self) identifier_self )parameters (block (if_statement (comparison_operator (attribute (identifier_self) identifier_self (identif...
Ensure reaction is of a certain type. Mainly for future expansion.
(module (function_definition (function_name_collection) function_name_collection (parameters (default_parameter (identifier_name) identifier_name (None) None )default_parameter )parameters (block (if_statement (comparison_operator (identifier_name) i...
Render the collection page. It renders it either with a collection specific template (aka collection_{collection_name}.html) or with the default collection template (collection.html).
(module (function_definition (function_name_merge) function_name_merge (parameters (identifier_cls) identifier_cls (list_splat_pattern (identifier_others) identifier_others )list_splat_pattern )parameters (block (for_statement (identifier_other) identifier_other...
Merge the `others` schema into this instance. The values will all be read from the provider of the original object.
(module (function_definition (function_name_extract_params) function_name_extract_params (parameters (identifier_params) identifier_params )parameters (block (expression_statement (assignment (identifier_values) identifier_values (list )list )a...
Extracts the values of a set of parameters, recursing into nested dictionaries.
(module (function_definition (function_name__check_list_minions) function_name__check_list_minions (parameters (identifier_self) identifier_self (identifier_expr) identifier_expr (identifier_greedy) identifier_greedy (default_parameter (identifier_ignore_missing) identifier_ign...
Return the minions found by looking via a list
(module (function_definition (function_name_create_password_reset) function_name_create_password_reset (parameters (identifier_cls) identifier_cls (identifier_email) identifier_email (default_parameter (identifier_valid_for) identifier_valid_for (integer_3600) integer_3600 ...
Create a password reset request in the user_password_resets database table. Hashed code gets stored in the database. Returns unhashed reset code
(module (function_definition (function_name_VerifyStructure) function_name_VerifyStructure (parameters (identifier_self) identifier_self (identifier_parser_mediator) identifier_parser_mediator (identifier_lines) identifier_lines )parameters (block (expression_statement ...
Verifies that this is a bash history file. Args: parser_mediator (ParserMediator): mediates interactions between parsers and other components, such as storage and dfvfs. lines (str): one or more lines from the text file. Returns: bool: True if this is the correct parser, False othe...
(module (function_definition (function_name_link_sources) function_name_link_sources (parameters (identifier_self) identifier_self )parameters (block (expression_statement (string_"Returns potential Link or Stream sources.") string_"Returns potential Link or Stream sources." ...
Returns potential Link or Stream sources.
(module (function_definition (function_name_visit_Call) function_name_visit_Call (parameters (identifier_self) identifier_self (typed_parameter (identifier_node) identifier_node (type (identifier_AST) identifier_AST )type )typed_parameter (typed_defaul...
Return `node`s representation as function call.
(module (function_definition (function_name_abundances) function_name_abundances (parameters (identifier_self) identifier_self (default_parameter (identifier_ids) identifier_ids (None) None )default_parameter )parameters (block (if_statement (comparison_...
Query the results table to get abundance data for all or some tax ids
(module (function_definition (function_name_add_external_reference_to_entity) function_name_add_external_reference_to_entity (parameters (identifier_self) identifier_self (identifier_entity_id) identifier_entity_id (identifier_external_ref) identifier_external_ref )parameters (block ...
Adds an external reference to the given entity identifier in the entity layer @type entity_id: string @param entity_id: the entity identifier @param external_ref: an external reference object @type external_ref: L{CexternalReference}
(module (function_definition (function_name_binOp) function_name_binOp (parameters (identifier_op) identifier_op (identifier_indx) identifier_indx (identifier_amap) identifier_amap (identifier_bmap) identifier_bmap (identifier_fill_vec) identifier_fill_vec )parameters (bl...
Combines the values from two map objects using the indx values using the op operator. In situations where there is a missing value it will use the callable function handle_missing
(module (function_definition (function_name_update_allowed) function_name_update_allowed (parameters (identifier_self) identifier_self )parameters (block (return_statement (call (attribute (attribute (identifier_self) identifier_self ...
Determines whether update of given cell is allowed. Calls allowed action of defined UpdateAction of the Column.
(module (function_definition (function_name_get_delete_branch_command) function_name_get_delete_branch_command (parameters (identifier_self) identifier_self (identifier_branch_name) identifier_branch_name (identifier_message) identifier_message (identifier_author) identifier_author ...
Get the command to delete or close a branch in the local repository.
(module (function_definition (function_name_insert) function_name_insert (parameters (identifier_self) identifier_self (identifier_index) identifier_index (identifier_value) identifier_value )parameters (block (return_statement (call (attribute (ca...
Insert an item at a given position.
(module (function_definition (function_name_cli) function_name_cli (parameters (identifier_obj) identifier_obj (identifier_ids) identifier_ids (identifier_query) identifier_query (identifier_filters) identifier_filters (identifier_tags) identifier_tags )parameters (block ...
Remove tags from alerts.
(module (function_definition (function_name_clean) function_name_clean (parameters (identifier_self) identifier_self )parameters (block (if_statement (comparison_operator (attribute (identifier_self) identifier_self (identifier_event) identifier_ev...
Validation for events.
(module (function_definition (function_name_download_and_bootstrap) function_name_download_and_bootstrap (parameters (identifier_src) identifier_src (identifier_name) identifier_name (default_parameter (identifier_prereq) identifier_prereq (None) None )default_parameter...
Download and install something if 'prerequisite' fails
(module (function_definition (function_name_run) function_name_run (parameters (identifier_self) identifier_self (identifier_start_command_srv) identifier_start_command_srv )parameters (block (if_statement (identifier_start_command_srv) identifier_start_command_srv (b...
Setup daemon process, start child forks, and sleep until events are signalled. `start_command_srv` Set to ``True`` if command server should be started.
(module (function_definition (function_name__update_physical_disk_details) function_name__update_physical_disk_details (parameters (identifier_raid_config) identifier_raid_config (identifier_server) identifier_server )parameters (block (expression_statement (assignment ...
Adds the physical disk details to the RAID configuration passed.
(module (function_definition (function_name__load) function_name__load (parameters (identifier_self) identifier_self (default_parameter (identifier_scale) identifier_scale (float_1.0) float_1.0 )default_parameter )parameters (block (expression_statement ...
Load the SLSTR relative spectral responses
(module (function_definition (function_name_signRequest) function_name_signRequest (parameters (identifier_self) identifier_self (typed_parameter (identifier_req) identifier_req (type (identifier_Request) identifier_Request )type )typed_parameter (type...
Signs request. Modifies reqId and signature. May modify identifier. :param req: request :param requestIdStore: request id generator :param identifier: signer identifier :return: signed request
(module (function_definition (function_name_matrixToMathTransform) function_name_matrixToMathTransform (parameters (identifier_matrix) identifier_matrix )parameters (block (if_statement (call (identifier_isinstance) identifier_isinstance (argument_list ...
Take a 6-tuple and return a ShallowTransform object.
(module (function_definition (function_name_run_and_print_log) function_name_run_and_print_log (parameters (identifier_workflow) identifier_workflow (default_parameter (identifier_highlight) identifier_highlight (None) None )default_parameter )parameters (block ...
Run workflow on multi-threaded worker cached with Sqlite3. :param workflow: workflow to evaluate. :param highlight: highlight these lines.
(module (function_definition (function_name_process_management_config_section) function_name_process_management_config_section (parameters (identifier_config) identifier_config (identifier_management_config) identifier_management_config )parameters (block (if_statement (compa...
Processes the management section from a configuration data dict. :param config: The config reference of the object that will hold the configuration data from the config_data. :param management_config: Management section from a config data dict.
(module (function_definition (function_name_tangent) function_name_tangent (parameters (identifier_obj) identifier_obj (identifier_params) identifier_params (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (block ...
Evaluates the tangent vector of the curves or surfaces at the input parameter values. This function is designed to evaluate tangent vectors of the B-Spline and NURBS shapes at single or multiple parameter positions. :param obj: input shape :type obj: abstract.Curve or abstract.Surface :param param...
(module (function_definition (function_name_get) function_name_get (parameters (identifier_self) identifier_self (identifier_key) identifier_key )parameters (block (expression_statement (assignment (identifier_res) identifier_res (call (attribu...
get a set of keys from redis
(module (function_definition (function_name_to_timezone) function_name_to_timezone (parameters (identifier_dt) identifier_dt (default_parameter (identifier_tzinfo) identifier_tzinfo (None) None )default_parameter )parameters (block (if_statement (not_ope...
Convert a datetime to timezone
(module (function_definition (function_name_use) function_name_use (parameters (default_parameter (identifier_module) identifier_module (None) None )default_parameter (default_parameter (identifier_decode) identifier_decode (None) None )default_parameter...
Set the JSON library that should be used, either by specifying a known module name, or by providing a decode and encode function. The modules "simplejson", "cjson", and "json" are currently supported for the ``module`` parameter. If provided, the ``decode`` parameter must be a callable that accepts a ...