mirror of
				https://github.com/clearml/clearml
				synced 2025-06-26 18:16:07 +00:00 
			
		
		
		
	Fix Python <3.5 compatibility
This commit is contained in:
		
							parent
							
								
									17a5ca91d8
								
							
						
					
					
						commit
						d54657c27e
					
				| @ -2965,7 +2965,7 @@ class PipelineDecorator(PipelineController): | ||||
|             monitor_metrics=None,  # type: Optional[List[Union[Tuple[str, str], Tuple[(str, str), (str, str)]]]] | ||||
|             monitor_artifacts=None,  # type: Optional[List[Union[str, Tuple[str, str]]]] | ||||
|             monitor_models=None,  # type: Optional[List[Union[str, Tuple[str, str]]]] | ||||
|             retry_on_failure=None,  # type: Optional[Union[int, Callable[[PipelineController, PipelineController.Node, int], bool]]]   # noqa | ||||
|             retry_on_failure=None  # type: Optional[Union[int, Callable[[PipelineController, PipelineController.Node, int], bool]]]   # noqa | ||||
|     ): | ||||
|         # type: (...) -> Callable | ||||
|         """ | ||||
| @ -3290,7 +3290,7 @@ class PipelineDecorator(PipelineController): | ||||
|             add_run_number=True,  # type: bool | ||||
|             args_map=None,  # type: dict[str, List[str]] | ||||
|             start_controller_locally=False,  # type: bool | ||||
|             retry_on_failure=None,  # type: Optional[Union[int, Callable[[PipelineController, PipelineController.Node, int], bool]]]   # noqa | ||||
|             retry_on_failure=None  # type: Optional[Union[int, Callable[[PipelineController, PipelineController.Node, int], bool]]]   # noqa | ||||
|     ): | ||||
|         # type: (...) -> Callable | ||||
|         """ | ||||
| @ -3435,7 +3435,7 @@ class PipelineDecorator(PipelineController): | ||||
|                     target_project=target_project, | ||||
|                     abort_on_failure=abort_on_failure, | ||||
|                     add_run_number=add_run_number, | ||||
|                     retry_on_failure=retry_on_failure, | ||||
|                     retry_on_failure=retry_on_failure | ||||
|                 ) | ||||
| 
 | ||||
|                 a_pipeline._args_map = args_map or {} | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 allegroai
						allegroai