Skip to content

Cycling dependencies model_utils.py #220

Description

@JeremyTeichmann

Hello everyone I tried to run your script on my databricks projects and I found a big problem with Cycling dependencies model_utils.py
during creation of the HTTP Client in client_utils.py

see https://github.com/mlflow/mlflow-export-import/blob/master/mlflow_export_import/client/client_utils.py

and https://github.com/mlflow/mlflow-export-import/blob/master/mlflow_export_import/common/model_utils.py

Please move following functions to a seperated python file and adjust the imports

`
def is_unity_catalog_model(name):
return len(name.split(".")) == 3

def model_names_same_registry(name1, name2):
return
is_unity_catalog_model(name1) and is_unity_catalog_model(name2) or
not is_unity_catalog_model(name1) and not is_unity_catalog_model(name2)
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions