Refactor puck handling and update tell position setting

Simplify and standardize puck name normalization and validation. Refactor `set_tell_positions` to handle batch operations, improve error handling, and provide detailed responses for each puck. Removed unnecessary `with-tell-position` endpoint for better clarity and maintainability.
This commit is contained in:
GotthardG
2024-12-19 15:16:21 +01:00
parent d1bc70665f
commit da5dbb9e31
3 changed files with 121 additions and 147 deletions

View File

@ -291,7 +291,7 @@ shipments = [
pucks = [
Puck(
id=1,
puck_name="PUCK001",
puck_name="PUCK-001",
puck_type="Unipuck",
puck_location_in_dewar=1,
dewar_id=1,