diff --git a/scripts/validate_ol_events.py b/scripts/validate_ol_events.py index f8f3572d..1e589a33 100644 --- a/scripts/validate_ol_events.py +++ b/scripts/validate_ol_events.py @@ -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