general Processor class for data processing
More...
general Processor class for data processing
§ __init__()
def nabu.processing.processors.processor.Processor.__init__ |
( |
|
self, |
|
|
|
conf |
|
) |
| |
Processor constructor.
- Parameters
-
conf | processor configuration as a configparser |
§ __call__()
def nabu.processing.processors.processor.Processor.__call__ |
( |
|
self, |
|
|
|
dataline |
|
) |
| |
process the data in dataline
- Parameters
-
dataline | a string, can be a line of text a pointer to a file etc. |
- Returns
- The processed data
§ write_metadata()
def nabu.processing.processors.processor.Processor.write_metadata |
( |
|
self, |
|
|
|
datadir |
|
) |
| |
write the processor metadata to disk
- Parameters
-
dir | the directory where the metadata should be written |
The documentation for this class was generated from the following file: