mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-31 18:48:35 +00:00 
			
		
		
		
	Fix: dagster keyerror solved (#9099)
This commit is contained in:
		
							parent
							
								
									173a88be7c
								
							
						
					
					
						commit
						ead5ce7227
					
				| @ -212,7 +212,7 @@ class DagsterSource(PipelineServiceSource): | ||||
|             runs = self.get_task_runs( | ||||
|                 task.name, pipeline_name=pipeline_details.get("name") | ||||
|             ) | ||||
|             for run in runs["solidHandle"]["stepStats"]["nodes"]: | ||||
|             for run in runs["solidHandle"]["stepStats"].get("nodes") or []: | ||||
|                 task_status = TaskStatus( | ||||
|                     name=task.name, | ||||
|                     executionStatus=STATUS_MAP.get( | ||||
| @ -247,7 +247,7 @@ class DagsterSource(PipelineServiceSource): | ||||
|         for result in results: | ||||
|             self.context.repository_location = result.get("location")["name"] | ||||
|             self.context.repository_name = result["name"] | ||||
|             for job in result["pipelines"]: | ||||
|             for job in result.get("pipelines") or []: | ||||
|                 yield job | ||||
| 
 | ||||
|     def get_pipeline_name(self, pipeline_details) -> str: | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 NiharDoshi99
						NiharDoshi99