Skip to content

Commit de41bd5

Browse files
authored
remove error message when import azureml-mlflow fails (Azure#38610)
1 parent 66db96d commit de41bd5

File tree

1 file changed

+0
-6
lines changed
  • sdk/ml/azure-ai-ml/azure/ai/ml/entities/_workspace

1 file changed

+0
-6
lines changed

sdk/ml/azure-ai-ml/azure/ai/ml/entities/_workspace/workspace.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -350,12 +350,6 @@ def _from_rest_object(
350350
mlflow_tracking_uri = rest_obj.ml_flow_tracking_uri
351351
except ImportError:
352352
mlflow_tracking_uri = rest_obj.ml_flow_tracking_uri
353-
error_msg = (
354-
"azureml.mlflow could not be imported. "
355-
"Please ensure that latest 'azureml-mlflow' has been installed in the current python environment"
356-
)
357-
print(error_msg)
358-
# warnings.warn(error_msg, UserWarning)
359353

360354
# TODO: Remove once Online Endpoints updates API version to at least 2023-08-01
361355
allow_roleassignment_on_rg = None

0 commit comments

Comments
 (0)