From 656529d1fbf4f23aa0966df0f73f44d5720e82b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mose=20M=C3=BCller?= Date: Mon, 29 Jan 2024 15:23:27 +0100 Subject: [PATCH 1/2] fixes service configuration (allow all environment variables) --- src/pydase/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pydase/config.py b/src/pydase/config.py index 8c73482..f92b11d 100644 --- a/src/pydase/config.py +++ b/src/pydase/config.py @@ -15,7 +15,7 @@ class ServiceConfig(BaseConfig): # type: ignore[misc] web_port: int = 8001 rpc_port: int = 18871 - CONFIG_SOURCES = EnvSource(prefix="SERVICE_") + CONFIG_SOURCES = EnvSource(allow_all=True, prefix="SERVICE_") class WebServerConfig(BaseConfig): # type: ignore[misc] From 7ac9c557c278975b0f1c7f5c22c3626952bc7fa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mose=20M=C3=BCller?= Date: Mon, 29 Jan 2024 15:24:13 +0100 Subject: [PATCH 2/2] updates version to v0.5.2 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d3d9924..b9a19d5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pydase" -version = "0.5.1" +version = "0.5.2" description = "A flexible and robust Python library for creating, managing, and interacting with data services, with built-in support for web and RPC servers, and customizable features for diverse use cases." authors = ["Mose Mueller "] readme = "README.md"