Skip to content

Commit

Permalink
add template example, add tests, idempotency still fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Galileo-Galilei committed Oct 30, 2023
1 parent 6a17456 commit 7c5f9ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion kedro_mlflow/config/resolvers.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from mlflow.utils.name_utils import _generate_random_name


def resolve_random_name():
def resolve_random_name(x=None):
# a resolver must have an argument, see: https://github.com/omry/omegaconf/issues/1060
return _generate_random_name()
2 changes: 1 addition & 1 deletion kedro_mlflow/template/project/mlflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ tracking:
pipelines: []

experiment:
name: {{ python_package }}
name: {{ python_package }} # you can use "${km.random_name:null}" to generate a random name (mlflow's default)
restore_if_deleted: True # if the experiment`name` was previously deleted experiment, should we restore it?

run:
Expand Down

0 comments on commit 7c5f9ab

Please sign in to comment.