From 0f0b7e50cfe51d99f5c71894c8421b26959f7203 Mon Sep 17 00:00:00 2001 From: GotthardG <51994228+GotthardG@users.noreply.github.com> Date: Tue, 17 Dec 2024 13:15:07 +0100 Subject: [PATCH] Refactor environment-specific configurations and data loading. Refactored database and server configuration to handle environments (dev, test, prod) explicitly, including tailored database setup and SSL management. Separated slot and sample data loading for better control during initialization. Improved environment variable usage and error handling for production certificates. --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 48c3a32..ab22452 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "aareDB" -version = "0.1.0a2" +version = "0.1.0a3" description = "Backend for next gen sample management system" authors = [{name = "Guillaume Gotthard", email = "guillaume.gotthard@psi.ch"}] license = {text = "MIT"} @@ -28,6 +28,7 @@ dependencies = [ "uvicorn==0.23.1", "python-dateutil~=2.8.2", "tomli>=2.0.1" + "python-dotenv" ] [tool.pytest.ini_options] norecursedirs = ["backend/python-client"]