Skip to content

Commit

Permalink
[sc-27685] Generate dbt v12 manifest classes (#925)
Browse files Browse the repository at this point in the history
* [sc-27685] Generate dbt v12 manifest classes

* bump version
  • Loading branch information
usefulalgorithm authored Jul 23, 2024
1 parent 2c5469b commit 2e336ad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions metaphor/dbt/generated/dbt_manifest_v12.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ class ColumnLevelConstraint(BaseModel):
expression: Optional[str] = None
warn_unenforced: Optional[bool] = True
warn_unsupported: Optional[bool] = True
to: Optional[str] = None
to_columns: Optional[List[str]] = None


class ColumnInfo(BaseModel):
Expand Down Expand Up @@ -484,6 +486,8 @@ class ModelLevelConstraint(BaseModel):
expression: Optional[str] = None
warn_unenforced: Optional[bool] = True
warn_unsupported: Optional[bool] = True
to: Optional[str] = None
to_columns: Optional[List[str]] = None
columns: Optional[List[str]] = None


Expand Down Expand Up @@ -1288,7 +1292,7 @@ class Metric(BaseModel):
type_params: MetricTypeParams = Field(..., title='MetricTypeParams')
filter: Optional[WhereFilterIntersection7] = None
metadata: Optional[SourceFileMetadata] = None
default_granularity: Optional[
time_granularity: Optional[
Literal[
'nanosecond',
'microsecond',
Expand Down Expand Up @@ -2119,7 +2123,7 @@ class Metric1(BaseModel):
type_params: MetricTypeParams1 = Field(..., title='MetricTypeParams')
filter: Optional[WhereFilterIntersection15] = None
metadata: Optional[SourceFileMetadata1] = None
default_granularity: Optional[
time_granularity: Optional[
Literal[
'nanosecond',
'microsecond',
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "metaphor-connectors"
version = "0.14.55"
version = "0.14.56"
license = "Apache-2.0"
description = "A collection of Python-based 'connectors' that extract metadata from various sources to ingest into the Metaphor app."
authors = ["Metaphor <[email protected]>"]
Expand Down

0 comments on commit 2e336ad

Please sign in to comment.