Skip to content

Commit

Permalink
Merge branch 'develop' into feature/PRD-586-ochestrator-urls
Browse files Browse the repository at this point in the history
  • Loading branch information
bcdurak authored Sep 24, 2024
2 parents a4647dc + 40e1990 commit 29652c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/zenml/integrations/mlflow/steps/mlflow_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ def mlflow_register_model_step(
metadata.zenml_pipeline_run_uuid = pipeline_run_uuid
if metadata.zenml_workspace is None:
metadata.zenml_workspace = zenml_workspace
if metadata.model_extra.get("mlflow_run_id", None) is None:
metadata.model_extra["mlflow_run_id"] = mlflow_run_id
if getattr(metadata, "mlflow_run_id", None) is None:
setattr(metadata, "mlflow_run_id", mlflow_run_id)

# Register model version
model_version = model_registry.register_model_version(
Expand Down

0 comments on commit 29652c5

Please sign in to comment.