diff --git a/docs/book/component-guide/experiment-trackers/comet.md b/docs/book/component-guide/experiment-trackers/comet.md index d97c41de056..1e56762411d 100644 --- a/docs/book/component-guide/experiment-trackers/comet.md +++ b/docs/book/component-guide/experiment-trackers/comet.md @@ -142,7 +142,7 @@ You can find the URL of the Comet experiment linked to a specific ZenML run via from zenml.client import Client last_run = client.get_pipeline("").last_run -trainer_step = last_run.get_step("") +trainer_step = last_run.steps[""] tracking_url = trainer_step.run_metadata["experiment_tracker_url"].value print(tracking_url) ``` diff --git a/docs/book/component-guide/experiment-trackers/mlflow.md b/docs/book/component-guide/experiment-trackers/mlflow.md index faa73f39eed..2f0ce6109fb 100644 --- a/docs/book/component-guide/experiment-trackers/mlflow.md +++ b/docs/book/component-guide/experiment-trackers/mlflow.md @@ -168,7 +168,7 @@ You can find the URL of the MLflow experiment linked to a specific ZenML run via from zenml.client import Client last_run = client.get_pipeline("").last_run -trainer_step = last_run.get_step("") +trainer_step = last_run.steps[""] tracking_url = trainer_step.run_metadata["experiment_tracker_url"].value print(tracking_url) ``` diff --git a/docs/book/component-guide/experiment-trackers/wandb.md b/docs/book/component-guide/experiment-trackers/wandb.md index a98bd28bd66..b2a33134ae8 100644 --- a/docs/book/component-guide/experiment-trackers/wandb.md +++ b/docs/book/component-guide/experiment-trackers/wandb.md @@ -152,7 +152,7 @@ You can find the URL of the Weights & Biases experiment linked to a specific Zen from zenml.client import Client last_run = client.get_pipeline("").last_run -trainer_step = last_run.get_step("") +trainer_step = last_run.steps[""] tracking_url = trainer_step.run_metadata["experiment_tracker_url"].value print(tracking_url) ``` diff --git a/docs/book/how-to/popular-integrations/mlflow.md b/docs/book/how-to/popular-integrations/mlflow.md index 3a1efce1d0c..44124606354 100644 --- a/docs/book/how-to/popular-integrations/mlflow.md +++ b/docs/book/how-to/popular-integrations/mlflow.md @@ -71,7 +71,7 @@ You can find the URL to the MLflow experiment for a ZenML run: ```python last_run = client.get_pipeline("").last_run -trainer_step = last_run.get_step("") +trainer_step = last_run.steps[""] tracking_url = trainer_step.run_metadata["experiment_tracker_url"].value ```