Skip to content

Commit

Permalink
fix schema collection script
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Beck committed Sep 22, 2020
1 parent 204b02d commit a32295e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/collect-artifact-schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from hologram import JsonSchemaMixin
from dbt.contracts.graph.manifest import WritableManifest
from dbt.contracts.results import (
CatalogResults, ExecutionResult, FreshnessExecutionResult
CatalogArtifact, RunResultsArtifact, FreshnessExecutionResultArtifact
)


Expand All @@ -21,9 +21,9 @@ class Schemas(JsonSchemaMixin):
def main():
schemas = Schemas(
manifest=WritableManifest.json_schema(),
catalog=CatalogResults.json_schema(),
run_results=ExecutionResult.json_schema(),
freshness_results=FreshnessExecutionResult.json_schema(),
catalog=CatalogArtifact.json_schema(),
run_results=RunResultsArtifact.json_schema(),
freshness_results=FreshnessExecutionResultArtifact.json_schema(),
)
print(json.dumps(schemas.to_dict()))

Expand Down

0 comments on commit a32295e

Please sign in to comment.