state
State
¶
Bases: SQLModel
Store arbitrary data in the database
This table is just a state interchange that allows the system to store arbitrary data for later retrieval. This is particuarly important for long background tasks, in which it is not possible to return a meaningful response to the client within a single request lifespan.
Attributes:
Name | Type | Description |
---|---|---|
id |
Optional[int]
|
Primary key |
data |
dict[str, Any]
|
Content of the |
timestamp |
datetime
|
Timestap of the |
Source code in fractal_server/app/models/v1/state.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
|