ISSUE-14742: Adjusting metadata.py to filter by enum value (#14884)

This commit is contained in:
Marco Rezende 2024-01-26 02:30:05 -04:00 committed by GitHub
parent c1d62186df
commit 37d967013b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -192,7 +192,7 @@ class AirflowSource(PipelineServiceSource):
TaskInstance.dag_id == dag_id,
TaskInstance.run_id == run_id,
# updating old runs flag deleted tasks as `removed`
TaskInstance.state != AirflowTaskStatus.REMOVED,
TaskInstance.state != AirflowTaskStatus.REMOVED.value,
)
.all()
)