Skip to content

Commit

Permalink
remove error message when import azureml-mlflow fails (#38610)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdhotems authored Nov 19, 2024
1 parent 66db96d commit de41bd5
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -350,12 +350,6 @@ def _from_rest_object(
mlflow_tracking_uri = rest_obj.ml_flow_tracking_uri
except ImportError:
mlflow_tracking_uri = rest_obj.ml_flow_tracking_uri
error_msg = (
"azureml.mlflow could not be imported. "
"Please ensure that latest 'azureml-mlflow' has been installed in the current python environment"
)
print(error_msg)
# warnings.warn(error_msg, UserWarning)

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

0 comments on commit de41bd5

Please sign in to comment.