Skip to content

Commit

Permalink
Cleanup: remove duplicate code (#1378)
Browse files Browse the repository at this point in the history
Cleans up some code that was duplicated and a print. Commit messages
have additional detail, if needed.
  • Loading branch information
courtneyholcomb authored Aug 22, 2024
1 parent ee061f1 commit 2047c2c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 73 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,3 @@ def generate_possible_specs_for_time_dimension(
@property
def is_metric_time(self) -> bool: # noqa: D102
return self.element_name == METRIC_TIME_ELEMENT_NAME


DEFAULT_TIME_GRANULARITY = TimeGranularity.DAY
2 changes: 1 addition & 1 deletion tests_metricflow/fixtures/dataflow_fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def time_spine_sources( # noqa: D103
) -> Mapping[TimeGranularity, TimeSpineSource]:
legacy_time_spine_grain = TimeGranularity.DAY
time_spine_base_table_name = "mf_time_spine"
print("expected schema name:", mf_test_configuration.mf_source_schema)

# Legacy time spine
time_spine_sources = {
legacy_time_spine_grain: TimeSpineSource(
Expand Down

0 comments on commit 2047c2c

Please sign in to comment.