mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-21 00:40:01 +02:00
Merge pull request #95 from tiqi-group/fix/service_configuration
Fix/service configuration
This commit is contained in:
commit
bcabd2dc48
@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "pydase"
|
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."
|
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 <mosmuell@ethz.ch>"]
|
authors = ["Mose Mueller <mosmuell@ethz.ch>"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
@ -15,7 +15,7 @@ class ServiceConfig(BaseConfig): # type: ignore[misc]
|
|||||||
web_port: int = 8001
|
web_port: int = 8001
|
||||||
rpc_port: int = 18871
|
rpc_port: int = 18871
|
||||||
|
|
||||||
CONFIG_SOURCES = EnvSource(prefix="SERVICE_")
|
CONFIG_SOURCES = EnvSource(allow_all=True, prefix="SERVICE_")
|
||||||
|
|
||||||
|
|
||||||
class WebServerConfig(BaseConfig): # type: ignore[misc]
|
class WebServerConfig(BaseConfig): # type: ignore[misc]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user