ral-facilities / inventory-management-system-api

Apache License 2.0
1 stars 0 forks source link

Add endpoint to set spares definition #413 #421

Open joelvdavies opened 4 days ago

joelvdavies commented 4 days ago

Description

See #413. Went with the aggregate query approach as an experiment, we could equally just loop though and insert the values. There is no need to insert all usage status fields as I have done at the moment.

Notes

Testing instructions

Add a set up instructions describing how the reviewer should test the code

Agile board tracking

Closes #413, relates to #90

codecov[bot] commented 4 days ago

Codecov Report

Attention: Patch coverage is 98.92473% with 1 line in your changes missing coverage. Please review.

Project coverage is 97.92%. Comparing base (e5f2e8c) to head (f737d09).

Files with missing lines Patch % Lines
inventory_management_system_api/schemas/setting.py 94.73% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #421 +/- ## =========================================== + Coverage 97.87% 97.92% +0.05% =========================================== Files 41 45 +4 Lines 1504 1594 +90 =========================================== + Hits 1472 1561 +89 - Misses 32 33 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: