diff --git a/openenergyid/__init__.py b/openenergyid/__init__.py index f64c6c5..19e551f 100644 --- a/openenergyid/__init__.py +++ b/openenergyid/__init__.py @@ -1,6 +1,6 @@ """Open Energy ID Python SDK.""" -__version__ = "0.1.5" +__version__ = "0.1.6" from .enums import Granularity from .models import TimeSeries diff --git a/openenergyid/mvlr/models.py b/openenergyid/mvlr/models.py index a79f79e..469780a 100644 --- a/openenergyid/mvlr/models.py +++ b/openenergyid/mvlr/models.py @@ -62,6 +62,8 @@ class MultiVariableRegressionResult(BaseModel): granularity: Granularity frame: TimeSeries + model_config = ConfigDict(populate_by_name=True) + @classmethod def from_mvlr(cls, mvlr: MultiVariableLinearRegression) -> "MultiVariableRegressionResult": """Create a MultiVariableRegressionResult from a MultiVariableLinearRegression."""