469d93a7430bbb3e79140dfa31bd016b3b221c8a,mlflow/store/artifact/dbfs_artifact_repo.py,,dbfs_artifact_repo_factory,#Any#,159

Before Change


    cleaned_artifact_uri = artifact_uri.rstrip("/")
    uri_scheme = get_uri_scheme(artifact_uri)
    if uri_scheme != "dbfs":
        raise MlflowException("DBFS URI must be of the form "
                              "dbfs:/<path>, but received {uri}".format(uri=artifact_uri))
    if is_databricks_acled_artifacts_uri(artifact_uri):
        return DatabricksArtifactRepository(cleaned_artifact_uri)
    elif mlflow.utils.databricks_utils.is_dbfs_fuse_available() \
            and os.environ.get(USE_FUSE_ENV_VAR, "").lower() != "false" \

After Change


    :return: Subclass of ArtifactRepository capable of storing artifacts on DBFS.
    
    if not is_valid_dbfs_uri(artifact_uri):
        raise MlflowException("DBFS URI must be of the form dbfs:/<path> or " +
                              "dbfs://profile@databricks/<path>, but received " + artifact_uri)

    cleaned_artifact_uri = artifact_uri.rstrip("/")
    db_profile_uri = get_databricks_profile_uri_from_artifact_uri(cleaned_artifact_uri)
    if is_databricks_acled_artifacts_uri(artifact_uri):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: mlflow/mlflow
Commit Name: 469d93a7430bbb3e79140dfa31bd016b3b221c8a
Time: 2020-08-03
Author: sueann@databricks.com
File Name: mlflow/store/artifact/dbfs_artifact_repo.py
Class Name:
Method Name: dbfs_artifact_repo_factory


Project Name: mlflow/mlflow
Commit Name: 7779b87540ea57ec56d1b7ac42e420a6a6f9df23
Time: 2020-07-20
Author: hkawamura0130@gmail.com
File Name: mlflow/store/model_registry/sqlalchemy_store.py
Class Name: SqlAlchemyStore
Method Name: _parse_search_registered_models_order_by


Project Name: mlflow/mlflow
Commit Name: 7779b87540ea57ec56d1b7ac42e420a6a6f9df23
Time: 2020-07-20
Author: hkawamura0130@gmail.com
File Name: mlflow/store/model_registry/sqlalchemy_store.py
Class Name: SqlAlchemyStore
Method Name: search_registered_models