now associating a dewar to a slot

This commit is contained in:
GotthardG 2024-11-19 14:05:35 +01:00
parent fa1e9c86b8
commit bf46a7ff37

View File

@ -287,7 +287,7 @@ class Slot(BaseModel):
last_refill: datetime
time_until_refill: int # Can't be Optional
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:
from_attributes = True