Manager class reference¶
BaseManager is the foundation for all managers, contains to base logic to maintain models: parse, keep and emit.
Extend this class for actual managers
return all results
save object(s) to this list
scan one row and save to list
scan many rows
return current stats
transform(row, previous, model)¶
defines the instantiation of objects from a row
Override this function in your own manager. Models are ordered and generated records are offered in the consequtives managers too.
- row (list) – all input data for a new row
- previous (list) – all generated objects from previous managers in chain
- model (Model) – Model this manager is linked to
list of all generated objects