retrieve pucks that are in the tell dewar

This commit is contained in:
GotthardG
2024-12-12 15:10:14 +01:00
parent 6c88ff9651
commit 530c9efae0
2 changed files with 49 additions and 4 deletions

View File

@ -132,10 +132,6 @@ async def scan_dewar(event_data: LogisticsEventCreate, db: Session = Depends(get
return {"message": "Status updated successfully"}
@router.get("/slots", response_model=List[SlotSchema])
async def get_all_slots(db: Session = Depends(get_db)):
slots = db.query(SlotModel).options(joinedload(SlotModel.dewar)).all()