now associating a dewar to a slot
This commit is contained in:
parent
fa1e9c86b8
commit
bf46a7ff37
@ -287,7 +287,7 @@ class Slot(BaseModel):
|
|||||||
last_refill: datetime
|
last_refill: datetime
|
||||||
time_until_refill: int # Can't be Optional
|
time_until_refill: int # Can't be Optional
|
||||||
dewar_unique_id: Optional[str] # Ensure this field exists
|
dewar_unique_id: Optional[str] # Ensure this field exists
|
||||||
dewar_name: Optional[str] = None # Optional for convenience
|
dewar: Optional[Dewar] = None # Add this field
|
||||||
|
|
||||||
class Config:
|
class Config:
|
||||||
from_attributes = True
|
from_attributes = True
|
Loading…
x
Reference in New Issue
Block a user