Unanswered
			
			
 
			
	
		
			
		
		
		
		
	
			
		
		Executed From Within A Pipelinecontroller Task, What Possible Reason Does
[Assuming the above is what you are seeing]
What I "think" is happening is that the Pipeline creates it's own Task. When the pipeline completes, it closes it's own Task, basically making any later calls to Tasl.current_task() return None, because there is no active Task. I think this is the reason that when you are calling process_results(...) you end up with None.
For a quick fix, you can dopipeline = Pipeline(...) MedianPredictionCollector.process_results(pipeline._task)Maybe we should add an argument to the Pipeline, telling it Not to close the Task when it is done?
292 Views
				0
Answers
				
					 
	3 years ago
				
					
						 
	2 years ago