mlflow.utils
-
class
mlflow.utils.async_logging.run_operations.
RunOperations
(operation_futures)[source] Represents a collection of operations on one or more MLflow Runs, such as run creation or metric logging.
-
wait
()[source] Blocks on completion of the MLflow Run operations.
-
-
mlflow.utils.async_logging.run_operations.
get_combined_run_operations
(run_operations_list: [<class 'mlflow.utils.async_logging.run_operations.RunOperations'>]) → mlflow.utils.async_logging.run_operations.RunOperations[source] Given a list of RunOperations, returns a single RunOperations object that represents the combined set of operations. If the input list is empty, returns None. If the input list contains only one element, returns that element. Otherwise, creates a new RunOperations object that combines the operation futures from each input RunOperations object.
- Parameters
run_operations_list (list[RunOperations]) – A list of RunOperations objects to combine.
- Returns
A single RunOperations object that represents the combined set of operations.
- Return type