-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* bump * adds support for v9 * bump and publish * updated lock --------- Co-authored-by: Edward Louth <[email protected]>
- Loading branch information
Showing
14 changed files
with
258 additions
and
195 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "grai_source_dbt" | ||
version = "0.3.0" | ||
version = "0.3.1" | ||
description = "" | ||
authors = ["Ian Eaves <[email protected]>", "Edward Louth <[email protected]>"] | ||
license = "Elastic-2.0" | ||
|
@@ -18,7 +18,7 @@ python = "^3.8" | |
pydantic = "^1.9.1" | ||
grai-client = "^0.3.0" | ||
grai-schemas = "^0.2.0" | ||
dbt-artifacts-parser = "^0.2.4" | ||
dbt-artifacts-parser = "^v0.4.0-rc1 " | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
isort = "^5.10.1" | ||
|
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 |
---|---|---|
|
@@ -9,4 +9,4 @@ | |
) | ||
from grai_source_dbt.package_definitions import config | ||
|
||
__version__ = "0.3.0" | ||
__version__ = "0.3.1" |
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
29 changes: 29 additions & 0 deletions
29
grai-integrations/source-dbt/src/grai_source_dbt/loaders/v10.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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
from typing import Union, get_args | ||
|
||
from dbt_artifacts_parser.parsers.manifest.manifest_v10 import ( | ||
AnalysisNode, | ||
GenericTestNode, | ||
HookNode, | ||
ManifestV10, | ||
ModelNode, | ||
RPCNode, | ||
SeedNode, | ||
SingularTestNode, | ||
SnapshotNode, | ||
SourceDefinition, | ||
SqlNode, | ||
) | ||
|
||
NodeTypes = Union[ | ||
AnalysisNode, | ||
SingularTestNode, | ||
HookNode, | ||
ModelNode, | ||
RPCNode, | ||
SqlNode, | ||
GenericTestNode, | ||
SnapshotNode, | ||
SeedNode, | ||
] | ||
|
||
SourceTypes = Union[SourceDefinition] |
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
29 changes: 29 additions & 0 deletions
29
grai-integrations/source-dbt/src/grai_source_dbt/loaders/v9.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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
from typing import Union | ||
|
||
from dbt_artifacts_parser.parsers.manifest.manifest_v9 import ( | ||
AnalysisNode, | ||
GenericTestNode, | ||
HookNode, | ||
ManifestV9, | ||
ModelNode, | ||
RPCNode, | ||
SeedNode, | ||
SingularTestNode, | ||
SnapshotNode, | ||
SourceDefinition, | ||
SqlNode, | ||
) | ||
|
||
NodeTypes = Union[ | ||
AnalysisNode, | ||
SingularTestNode, | ||
HookNode, | ||
ModelNode, | ||
RPCNode, | ||
SqlNode, | ||
GenericTestNode, | ||
SnapshotNode, | ||
SeedNode, | ||
] | ||
|
||
SourceTypes = Union[SourceDefinition] |
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
1 change: 1 addition & 0 deletions
1
grai-integrations/source-dbt/tests/resources/v9/jaffle_shop/manifest.json
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Oops, something went wrong.