Storage Settings¶
Examples¶
Here is an example containing all default values for the storage
application settings.
storage:
blobs:
type: sql
migrate: true
redis: null
url: sqlite+aiosqlite:///:memory:?cache=shared
Reference¶
Implementation (python): StorageSettings
Title |
Description |
Type |
Format |
Required |
---|---|---|---|---|
Url |
||||
url |
string |
multi-host-uri |
||
Default |
sqlite+aiosqlite:///:memory:?cache=shared
|
|||
Migrate |
||||
migrate |
boolean |
|||
Default |
true
|
|||
BlobStorageSettings |
||||
blobs |
object |
|||
Blobs Base |
Base type for service definition. |
|||
blobs/base |
object |
|||
Blobs Type |
||||
blobs/type |
string |
|||
Default |
sql
|
|||
Blobs Constructor |
Optional custom constructor for the service. |
|||
blobs/constructor |
object |
|||
Blobs Arguments |
Arguments for the service constructor. |
|||
blobs/arguments |
object |
|||
Blobs |
||||
blobs/* |
object |
|||
Redis |
||||
redis |
object |
.blobs¶
Implementation (python): BlobStorageSettings
Title |
Description |
Type |
Format |
Required |
---|---|---|---|---|
Base |
Base type for service definition. |
|||
base |
object |
|||
Type |
||||
type |
string |
|||
Default |
sql
|
|||
Constructor |
Optional custom constructor for the service. |
|||
constructor |
object |
|||
Arguments |
Arguments for the service constructor. |
|||
arguments |
object |
|||
* |
object |