Skip to content
Draft
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
2 changes: 1 addition & 1 deletion scripts/validate_ol_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def is_custom_facet(facet, schema_type):
is_custom = any(facet.get('_schemaURL').__contains__(f'defs/{facet_type}Facet') for facet_type in
['Run', 'Job', 'Dataset', 'InputDataset', 'OutputDataset'])
is_common = any(facet.get('_schemaURL').__contains__(f'schema/{facet_type}-facet.json') for facet_type in
['dbt-version-run', 'dbt-run-run'])
['dbt-version-run', 'dbt-run-run', 'dbt-model-dataset'])
if is_custom or is_common:
print(f"facet {schema_type} seems to be custom facet, validation skipped")
return True
Expand Down
Loading