From 15a2506d4320ae40aee5dd2ee9659ce28fc94669 Mon Sep 17 00:00:00 2001 From: Courtney Holcomb Date: Wed, 3 Jul 2024 13:09:31 -0700 Subject: [PATCH] Don't require time_granularity_name in QueryInterfaceTimeDimensionFactory --- dbt_semantic_interfaces/protocols/query_interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbt_semantic_interfaces/protocols/query_interface.py b/dbt_semantic_interfaces/protocols/query_interface.py index 70225450..e8f68a97 100644 --- a/dbt_semantic_interfaces/protocols/query_interface.py +++ b/dbt_semantic_interfaces/protocols/query_interface.py @@ -60,7 +60,7 @@ class QueryInterfaceTimeDimensionFactory(Protocol): def create( self, time_dimension_name: str, - time_granularity_name: str, + time_granularity_name: Optional[str] = None, entity_path: Sequence[str] = (), descending: Optional[bool] = None, date_part_name: Optional[str] = None,