Batcher (autotransform.batcher.base)¶
The base class and associated classes for Batcher components.
- class autotransform.batcher.base.Batch¶
Bases:
TypedDict
A logical grouping of Items with title and associated metadata.
- metadata: NotRequired[Mapping[str, Any]]¶
- title: str¶
- class autotransform.batcher.base.Batcher¶
Bases:
NamedComponent
The base for Batcher components. Used by AutoTransform to separate Items in to logical groupings that can be acted on indepently and have associated metadata.
- name¶
The name of the Component.
- Type:
ClassVar[BatcherName]
- abstract batch(items: Sequence[Item]) List[Batch] ¶
Take filtered Items and separate in to logical groupings with associated group metadata and title.
- name: ClassVar[BatcherName]¶