Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding time_spine field for manifest #112

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions dbt_artifacts_parser/parsers/manifest/manifest_v12.py
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,13 @@ class Contract8(BaseParserModel):
checksum: Optional[str] = None


class TimeSpine(BaseParserModel):
model_config = ConfigDict(
extra='forbid',
)
standard_granularity_column: str


class Nodes4(BaseParserModel):
model_config = ConfigDict(
extra='forbid',
Expand Down Expand Up @@ -704,6 +711,7 @@ class Nodes4(BaseParserModel):
extra_ctes: Optional[List[ExtraCte]] = None
field_pre_injected_sql: Optional[str] = Field(None, alias='_pre_injected_sql')
contract: Optional[Contract8] = Field(None, title='Contract')
time_spine: Optional[TimeSpine] = None


class Contract9(BaseParserModel):
Expand Down