storage_test()
Whether the bucket exists and the credentials can reach it.
Usage
storage_test(connection: str | None = None) -> bool
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| connection | str | None | None |
A storage bucket name from the settings. Default: the project's default bucket, then one marked |
Value
True when the bucket answers, False when the request fails.
Raises
FrameworkError: When no bucket is configured or the named one is not found.