DirectoryInput (autotransform.input.directory)
The implementation for the DirectoryInput.
- class autotransform.input.directory.DirectoryInput(*, path: str)
Bases:
Input
An Input that lists all files recursively within a provided directory.
- path
The path of the directory to fetch all files within.
- Type
str
- get_items() Sequence[FileItem]
Gets a list of files recursively contained within the path.
- Returns
The eligible files for transformation.
- Return type
Sequence[FileItem]
- path: str