flowbber.components.aggregator
¶Module implementating the Aggregator base class.
All custom Flowbber aggregators must extend from the Aggregator class.
Aggregator
:
Main base class to implement an Aggregator.flowbber.components.aggregator.
Aggregator
(index, type_, id_, optional=False, timeout=None, config=None)¶Main base class to implement an Aggregator.
Inheritance
accumulate
(data)¶Perform analysis or accumulate from the given data.
The aggregator can:
Add values:
data['some_key'] = {'value': 1000}
Delete values:
del data['some_key']
Modify values:
data['some_key']['value'] = 2000
All aggregators subclasses must implement this abstract method.