now associating a dewar to a slot
This commit is contained in:
@ -281,11 +281,13 @@ class Slot(BaseModel):
|
||||
id: str
|
||||
qr_code: str
|
||||
label: str
|
||||
qr_base: str
|
||||
qr_base: Optional[str]
|
||||
occupied: bool
|
||||
needs_refill: bool
|
||||
last_refill: datetime
|
||||
time_until_refill: str
|
||||
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
|
||||
|
||||
class Config:
|
||||
from_attributes = True
|
Reference in New Issue
Block a user