From badcb622e543e2cd468a6b29eed5aac5527a9f06 Mon Sep 17 00:00:00 2001 From: anisbhsl Date: Thu, 12 Oct 2023 14:50:52 -0500 Subject: [PATCH] fix error with payload generation --- pynequa/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pynequa/models.py b/pynequa/models.py index 8d3c67e..db5d746 100644 --- a/pynequa/models.py +++ b/pynequa/models.py @@ -1,4 +1,4 @@ -from typing import Dict, List +from typing import Dict, List, Optional class TreeParams: @@ -79,7 +79,7 @@ class QueryParams: aggregations: List[str] = [] order_by: str = None group_by: str = None - advanced: AdvancedParams = AdvancedParams() + advanced: Optional[AdvancedParams] = None def __init__(self) -> None: pass