diff --git a/dbt_semantic_interfaces/call_parameter_sets.py b/dbt_semantic_interfaces/call_parameter_sets.py index 0520ac46..44fc07be 100644 --- a/dbt_semantic_interfaces/call_parameter_sets.py +++ b/dbt_semantic_interfaces/call_parameter_sets.py @@ -20,7 +20,8 @@ class DimensionCallParameterSet: entity_path: Tuple[EntityReference, ...] dimension_reference: DimensionReference - # TODO: MFS Jinja allows grain and date part in Dimension(...). Should we allow them here, too, for consistency? + time_granularity: Optional[TimeGranularity] = None + date_part: Optional[DatePart] = None @dataclass(frozen=True) diff --git a/pyproject.toml b/pyproject.toml index 70038144..97553646 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "dbt-semantic-interfaces" -version = "0.7.1" +version = "0.7.2" description = 'The shared semantic layer definitions that dbt-core and MetricFlow use' readme = "README.md" requires-python = ">=3.8"