EmptyInput (autotransform.input.empty)
The implementation for the EmptyInput.
- class autotransform.input.empty.EmptyInput
Bases:
InputAn Input that simply returns an empty list. Used when a Transformer operates on the whole codebase, rather than on an individual Item/set of Items.
- get_items() Sequence[Item]
Returns an empty list of Items, useful for Transformers that operate on the whole codebase at once.
- Returns:
An empty list of Items.
- Return type:
Sequence[Item]
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].