Skip to content

Commit 128c0b9

Browse files
authored
Add compatibility with dbt v1.10 in run_results (#161)
1 parent a656cdb commit 128c0b9

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

dbt_artifacts_parser/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
A dbt artifacts parser in python
1919
"""
2020

21-
__version__ = "0.10.0"
21+
__version__ = "0.10.1"

dbt_artifacts_parser/parsers/run_results/run_results_v6.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ class Metadata(BaseParserModel):
1616
extra="forbid",
1717
)
1818
dbt_schema_version: str
19-
dbt_version: Optional[str] = "1.9.0b2"
19+
dbt_version: Optional[str] = "1.10.0a1"
2020
generated_at: Optional[str] = None
2121
invocation_id: Optional[str] = None
22+
invocation_started_at: Optional[str] = None
2223
env: Optional[Dict[str, str]] = None
2324

2425

@@ -27,6 +28,7 @@ class Status(Enum):
2728
error = "error"
2829
skipped = "skipped"
2930
partial_success = "partial success"
31+
no_op = "no-op"
3032

3133

3234
class Status1(Enum):

dbt_artifacts_parser/resources/run-results/run-results_v6.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"dbt_version": {
1414
"type": "string",
15-
"default": "1.9.0b2"
15+
"default": "1.10.0a1"
1616
},
1717
"generated_at": {
1818
"type": "string"
@@ -27,6 +27,16 @@
2727
}
2828
]
2929
},
30+
"invocation_started_at": {
31+
"anyOf": [
32+
{
33+
"type": "string"
34+
},
35+
{
36+
"type": "null"
37+
}
38+
]
39+
},
3040
"env": {
3141
"type": "object",
3242
"additionalProperties": {
@@ -55,7 +65,8 @@
5565
"success",
5666
"error",
5767
"skipped",
58-
"partial success"
68+
"partial success",
69+
"no-op"
5970
]
6071
},
6172
{

0 commit comments

Comments
 (0)