fea39d86d8522bfe77d34c7513defe509658f48a,mlflow/azureml/__init__.py,,_load_pyfunc_conf,#Any#,288
Before Change
model_path = os.path.abspath(model_path)
model = Model.load(os.path.join(model_path, "MLmodel"))
if pyfunc.FLAVOR_NAME not in model.flavors:
raise MlflowException(
message=("The specified model does not contain the `python_function` flavor. This "
" flavor is required for model deployment required for model deployment."),
error_code=INVALID_PARAMETER_VALUE)
return model.flavors[pyfunc.FLAVOR_NAME]
def _get_mlflow_azure_resource_name():
After Change
:param model_path: The absolute path to the model.
:return: The model"s `python_function` flavor configuration.
(name, _) = _load_pyfunc_conf_with_model(model_path)
return name
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: mlflow/mlflow
Commit Name: fea39d86d8522bfe77d34c7513defe509658f48a
Time: 2020-04-16
Author: cverstee@gmail.com
File Name: mlflow/azureml/__init__.py
Class Name:
Method Name: _load_pyfunc_conf
Project Name: mlflow/mlflow
Commit Name: 0539a16f841f990717b3d1260e9670074e30a71c
Time: 2019-07-03
Author: aaron@databricks.com
File Name: mlflow/store/sqlalchemy_store.py
Class Name: SqlAlchemyStore
Method Name: _search_runs
Project Name: mlflow/mlflow
Commit Name: 0539a16f841f990717b3d1260e9670074e30a71c
Time: 2019-07-03
Author: aaron@databricks.com
File Name: mlflow/store/file_store.py
Class Name: FileStore
Method Name: _search_runs