The page you navigated to () does not exist, so we brought you to the closest page to it.
You have switched from the to the variant of this site. There is no equivalent of . We have taken you to the closest page in the variant.
1.16.16
flytekit.types.file
This module provides functionality related to FlyteFile
Directory
Classes
| Class | Description |
|---|---|
FileExt |
Used for annotating file extension types of FlyteFile. |
flytekit.types.file.FileExt
Used for annotating file extension types of FlyteFile. This is useful for extensions that have periods in them, e.g., “tar.gz”.
TAR_GZ = Annotated[str, FileExt(“tar.gz”)]
Parameters
class FileExt(
ext: str,
)| Parameter | Type | Description |
|---|---|---|
ext |
str |
Methods
| Method | Description |
|---|---|
check_and_convert_to_str() |
check_and_convert_to_str()
def check_and_convert_to_str(
item: typing.Union[typing.Type, str],
) -> str| Parameter | Type | Description |
|---|---|---|
item |
typing.Union[typing.Type, str] |