Add image upload endpoint and fix puck location handling

Introduced `/samples/{sample_id}/upload-images` API for uploading images tied to samples, validating file types, and saving them in structured directories. Fixed `puck_location_in_dewar` type handling in puck routes. Updated project version in `pyproject.toml`.
This commit is contained in:
GotthardG
2025-01-10 11:31:51 +01:00
parent f10a5eaec2
commit f233058070
4 changed files with 118 additions and 33 deletions

View File

@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "aareDB"
version = "0.1.0a18"
version = "0.1.0a1"
description = "Backend for next gen sample management system"
authors = [{name = "Guillaume Gotthard", email = "guillaume.gotthard@psi.ch"}]
license = {text = "MIT"}