2.6.0
Storage
Package: flyte.storage
Data storage configuration that applies across any provider.
Parameters
class Storage(
retries: int = 3,
backoff: datetime.timedelta = datetime.timedelta(seconds=5),
enable_debug: bool = False,
attach_execution_metadata: bool = True,
)| Parameter | Type | Description |
|---|---|---|
retries |
int |
|
backoff |
datetime.timedelta |
|
enable_debug |
bool |
|
attach_execution_metadata |
bool |
Methods
| Method | Description |
|---|---|
auto() |
Construct the config object automatically from environment variables. |
get_fsspec_kwargs() |
Returns the configuration as kwargs for constructing an fsspec filesystem. |
auto()
def auto()Construct the config object automatically from environment variables.
get_fsspec_kwargs()
def get_fsspec_kwargs(
anonymous: bool = False,
**kwargs,
) -> typing.Dict[str, typing.Any]Returns the configuration as kwargs for constructing an fsspec filesystem.
| Parameter | Type | Description |
|---|---|---|
anonymous |
bool |
|
**kwargs |