Make shipment fields optional and refactor test scripts.
Updated the `number_of_pucks` and `number_of_samples` fields in the `schemas.py` to be optional for greater flexibility. Simplified the test Jupyter Notebook by restructuring imports and consolidating function calls for better readability and maintainability.
Showing
- backend/app/routers/dewar.py 115 additions, 32 deletionsbackend/app/routers/dewar.py
- backend/app/routers/shipment.py 7 additions, 72 deletionsbackend/app/routers/shipment.py
- backend/app/schemas.py 2 additions, 2 deletionsbackend/app/schemas.py
- frontend/src/components/ShipmentDetails.tsx 1 addition, 1 deletionfrontend/src/components/ShipmentDetails.tsx
- frontend/src/components/SpreadsheetTable.tsx 100 additions, 108 deletionsfrontend/src/components/SpreadsheetTable.tsx
- testfunctions.ipynb 260 additions, 94 deletionstestfunctions.ipynb
Loading
Please register or sign in to comment