EmptyInput (autotransform.input.empty)

The implementation for the EmptyInput.

class autotransform.input.empty.EmptyInput

Bases: Input

An 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.

name

The name of the component.

Type:

ClassVar[InputName]

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]

name: ClassVar[InputName] = 'empty'