mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-26 17:34:41 +00:00
fixed dagster tasks status (#15605)
This commit is contained in:
parent
91184ecf5d
commit
2dd912ab8a
@ -216,7 +216,9 @@ class DagsterSource(PipelineServiceSource):
|
|||||||
service_name=self.context.pipeline_service,
|
service_name=self.context.pipeline_service,
|
||||||
pipeline_name=self.context.pipeline,
|
pipeline_name=self.context.pipeline,
|
||||||
)
|
)
|
||||||
pipeline_entity = self.metadata.get_by_name(entity=Pipeline, fqn=pipeline_fqn)
|
pipeline_entity = self.metadata.get_by_name(
|
||||||
|
entity=Pipeline, fqn=pipeline_fqn, fields=["tasks"]
|
||||||
|
)
|
||||||
for task in pipeline_entity.tasks or []:
|
for task in pipeline_entity.tasks or []:
|
||||||
try:
|
try:
|
||||||
runs = self.client.get_task_runs(
|
runs = self.client.get_task_runs(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user