20 Commits

Author SHA1 Message Date
GotthardG
a9cb7a41b0 Refactor set_tell_positions logic with updated rules.
Revised the set_tell_positions endpoint to handle updated business rules for puck positioning. Improved event handling to ensure proper nullification, updates, and removal of tell_positions based on the provided payload. Enhanced query performance and normalized puck name processing for consistency.
2025-01-09 09:44:59 +01:00
GotthardG
0fdd5e54b7 Refactor set_tell_positions logic with updated rules.
Revised the set_tell_positions endpoint to handle updated business rules for puck positioning. Improved event handling to ensure proper nullification, updates, and removal of tell_positions based on the provided payload. Enhanced query performance and normalized puck name processing for consistency.
2025-01-08 17:01:42 +01:00
GotthardG
6c91bc78da Refactor set_tell_positions logic with updated rules.
Revised the set_tell_positions endpoint to handle updated business rules for puck positioning. Improved event handling to ensure proper nullification, updates, and removal of tell_positions based on the provided payload. Enhanced query performance and normalized puck name processing for consistency.
2025-01-08 15:18:08 +01:00
GotthardG
4f73f41717 Refactor and extend puck handling with tell_position updates
Refactored puck updating logic to use Pydantic models for validation and normalization. Added a new endpoint to retrieve all pucks with a tell_position and their associated samples. Updated project version to 0.1.0a11 in pyproject.toml.
2025-01-08 14:11:34 +01:00
GotthardG
da5dbb9e31 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.
2024-12-19 15:16:21 +01:00
GotthardG
14eaca81c6 Update tell position logic and add new endpoint
Refactored tell position logic to use `segment` and `puck_in_segment` fields, replacing the previous single `tell_position` field. Introduced a new `/set-tell-positions` endpoint for setting tell positions based on these changes and removed the deprecated endpoint handling the old logic. Enhanced validation and streamlined handling of related logistics and puck events.
2024-12-19 13:21:37 +01:00
GotthardG
0178de96fd fixing bugs with ci pipeline 2024-12-16 22:50:04 +01:00
GotthardG
a0be71bdfe Fix formatting with black 2024-12-16 10:41:56 +01:00
GotthardG
530c9efae0 retrieve pucks that are in the tell dewar 2024-12-12 15:10:14 +01:00
GotthardG
fd17c0e672 refined output of retrieving pucks and dewars at beamlines 2024-12-12 11:31:27 +01:00
GotthardG
156533f372 get puck events 2024-12-11 17:01:52 +01:00
GotthardG
5d7dcebe2e get puck events 2024-12-11 16:59:22 +01:00
GotthardG
c3e476002a get puck events 2024-12-11 16:54:16 +01:00
GotthardG
3b79951a43 get puck events 2024-12-11 16:50:59 +01:00
GotthardG
f83dc1ea58 get puck events 2024-12-11 16:44:38 +01:00
GotthardG
e44212e642 get puck events 2024-12-11 16:35:01 +01:00
GotthardG
ed84060563 get puck events 2024-12-11 16:24:22 +01:00
GotthardG
9cd0d81dac get puck events 2024-12-11 15:39:16 +01:00
GotthardG
958c9167fc added puck events 2024-12-11 13:57:23 +01:00
GotthardG
23e7ebb819 added pucks and samples 2024-11-04 11:34:14 +01:00