-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b30776a
commit f54fb5d
Showing
5 changed files
with
12,077 additions
and
5,489 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
metricflow-semantics/metricflow_semantics/time/time_constants.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,5 @@ | ||
from __future__ import annotations | ||
|
||
from dbt_semantic_interfaces.type_enums.time_granularity import TimeGranularity | ||
|
||
# Python formatting string to use for converting datetime to ISO8601 | ||
ISO8601_PYTHON_FORMAT = "%Y-%m-%d" | ||
ISO8601_PYTHON_TS_FORMAT = "%Y-%m-%d %H:%M:%S" | ||
|
||
SUPPORTED_GRANULARITIES = [ | ||
TimeGranularity.DAY, | ||
TimeGranularity.WEEK, | ||
TimeGranularity.MONTH, | ||
TimeGranularity.QUARTER, | ||
TimeGranularity.YEAR, | ||
] |
Oops, something went wrong.