Skip to content

Commit

Permalink
Don't error for lack of time spines
Browse files Browse the repository at this point in the history
This gets called when parsing a manifest in mantle, and sometimes that manifest is empty. Don't error to allow for that case.
  • Loading branch information
courtneyholcomb committed Sep 25, 2024
1 parent 963b4e1 commit 9aaf3e5
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ def build_standard_time_spine_sources(
base_granularity=legacy_time_spine.grain,
)

# Sanity check: this should have been validated during manifest parsing.
if not time_spine_sources:
raise RuntimeError(
"At least one time spine must be configured to use the semantic layer, but none were found."
)

return time_spine_sources

@staticmethod
Expand Down

0 comments on commit 9aaf3e5

Please sign in to comment.