in generator/views/metric_definitions_view.py [0:0]
def get_dimension_groups(self) -> List[Dict[str, Any]]:
"""Get dimension groups for this view."""
return [
{
"name": "submission",
"type": "time",
"group_label": "Base Fields",
"sql": "CAST(${TABLE}.analysis_basis AS TIMESTAMP)",
"label": "Submission",
"timeframes": [
"raw",
"date",
"week",
"month",
"quarter",
"year",
],
}
]