2.0.0b35
Storage
Package: flyte.storage
Data storage configuration that applies across any provider.
class Storage(
retries: int,
backoff: datetime.timedelta,
enable_debug: bool,
attach_execution_metadata: bool,
)| 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,
kwargs,
) -> typing.Dict[str, typing.Any]Returns the configuration as kwargs for constructing an fsspec filesystem.
| Parameter | Type | Description |
|---|---|---|
anonymous |
bool |
|
kwargs |
**kwargs |