value_accumulator#
- class coffea.processor.value_accumulator(default_factory, initial=None)[source]#
Bases:
AccumulatorABCHolds a value of arbitrary type
- Parameters:
default_factory (
callable) – a function that returns an instance of the desired identity valueinitial (
bool, optional) – an initial value, if the identity is not the desired initial value
Methods Summary
Methods Documentation