bi_etl.statistics module

Created on Mar 20, 2015

@author: Derek Wood

class bi_etl.statistics.Statistics(stats_id: str, parent: Statistics = None, print_start_stop_times: bool = True)[source]

Bases: object

Captures ETL task statistics

__init__(stats_id: str, parent: Statistics = None, print_start_stop_times: bool = True)[source]

Constructor

add_to_stat(key, increment)[source]
ensure_exists(key, initial_value=0)[source]
static find_item(obj: str | dict | list, key: str)[source]
static flatten_statistics(container, prefix: str | None = None, results_container: dict = None) Dict[str, Any][source]
static format_statistics(container)[source]
get(key, default=None)[source]
get_unique_stats_id(stats_id) str[source]
items()[source]
iteritems()[source]
keys()[source]
merge(other)[source]
property path: List[str]
property statistics
property timer
update(other)[source]
values()[source]