diff --git a/numalogic/connectors/_config.py b/numalogic/connectors/_config.py index 8a5c6ea7..32dd71d3 100644 --- a/numalogic/connectors/_config.py +++ b/numalogic/connectors/_config.py @@ -52,7 +52,7 @@ class DruidFetcherConf: dimensions: list[str] = field(default_factory=list) aggregations: dict = field(default_factory=dict) group_by: list[str] = field(default_factory=list) - pivot: Pivot = field(default_factory=lambda: Pivot()) + pivot: Optional[Pivot] = field(default_factory=lambda: Pivot()) granularity: str = "minute" def __post_init__(self): @@ -92,7 +92,7 @@ class RDSFetcherConf: # metric column names metrics: list[str] group_by: list[str] = field(default_factory=list) - pivot: Pivot = field(default_factory=lambda: Pivot()) + pivot: Optional[Pivot] = field(default_factory=lambda: Pivot()) hash_query_type: bool = True hash_column_name: str = "model_md5_hash" datetime_column_name: str = "eventdatetime" diff --git a/pyproject.toml b/pyproject.toml index dc4819c5..7c04747b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "numalogic" -version = "0.10.0a1" +version = "0.10.1" description = "Collection of operational Machine Learning models and tools." authors = ["Numalogic Developers"] packages = [{ include = "numalogic" }]