Transformer#
- class capymoa.stream.preprocessing.Transformer[source]#
Bases:
ABC- get_input_schema() Schema[source]#
Return the schema of instances entering this transformer.
Defaults to
get_schema()for transformers that do not alter the attribute set.
- abstract get_schema() Schema[source]#
Return the schema of instances leaving this transformer.
This is the schema the next element in a pipeline will receive, which is not necessarily the schema this transformer consumes – a filter may add, drop or rewrite attributes. See
get_input_schema().