Skip to content

Commit

Permalink
fix dbt test
Browse files Browse the repository at this point in the history
  • Loading branch information
shirshanka committed Apr 24, 2022
1 parent e56b250 commit 77abffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metadata-ingestion/src/datahub/ingestion/run/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def run_id_should_be_semantic(
) -> str:
if v == "__DEFAULT_RUN_ID":
if "source" in values:
if "type" in values["source"]:
if hasattr(values["source"], "type"):
source_type = values["source"].type
current_time = datetime.datetime.now().strftime("%Y_%m_%d-%H_%M_%S")
return f"{source_type}-{current_time}"
Expand Down

0 comments on commit 77abffa

Please sign in to comment.