diff --git a/pyproject.toml b/pyproject.toml index 07db7ec80..10f132936 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ dependencies = [ # (plugins.mkdocstrings.handlers.python.import) "frequenz-client-microgrid >= 0.6.0, < 0.7.0", "frequenz-channels >= 1.4.0, < 2.0.0", - "frequenz-quantities >= 1.0.0rc3, < 2.0.0", + "frequenz-quantities[marshmallow] >= 1.0.0, < 2.0.0", "networkx >= 2.8, < 4", "numpy >= 1.26.4, < 2", "typing_extensions >= 4.6.1, < 5", diff --git a/src/frequenz/sdk/config/_base_schema.py b/src/frequenz/sdk/config/_base_schema.py new file mode 100644 index 000000000..d25611958 --- /dev/null +++ b/src/frequenz/sdk/config/_base_schema.py @@ -0,0 +1,10 @@ +# License: MIT +# Copyright © 2024 Frequenz Energy-as-a-Service GmbH + +"""Base schema for configuration classes.""" + +from frequenz.quantities.experimental.marshmallow import QuantitySchema + + +class BaseConfigSchema(QuantitySchema): + """A base schema for configuration classes."""