CopyFilter#
- class CopyFilter(config)#
Bases:
Filter
The copy
Filter
copies input fields into output fields withcopy.deepcopy
Input - No specific input fields type required as long as it is compatible with
copy.deepcopy
Output - The output field type is going to be the same as the input field type
- Parameters:
Example
{ "step": "filter", "type": "copy", "input_fields":["body"], "output_fields":["copied_body"] }
Methods Summary
process_doc
(doc)Process a document
Methods Documentation