mirror of
				https://github.com/deepset-ai/haystack.git
				synced 2025-11-03 19:29:32 +00:00 
			
		
		
		
	Fix params being changed during pipeline.eval() (#2638)
This commit is contained in:
		
							parent
							
								
									374155fd5c
								
							
						
					
					
						commit
						293a3b53d2
					
				@ -1109,6 +1109,8 @@ class Pipeline:
 | 
			
		||||
        if add_isolated_node_eval:
 | 
			
		||||
            if params is None:
 | 
			
		||||
                params = {}
 | 
			
		||||
            else:
 | 
			
		||||
                params = params.copy()
 | 
			
		||||
            params["add_isolated_node_eval"] = True
 | 
			
		||||
 | 
			
		||||
        # if documents is None, set docs_per_label to None for each label
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user