From 764f247dadb6d02d97022a42393e3ddcf5990c8d Mon Sep 17 00:00:00 2001 From: Alex Strick van Linschoten Date: Tue, 6 Aug 2024 15:09:41 +0200 Subject: [PATCH] Fix/update docs imports for `Model` (#2907) --- .../associate-a-pipeline-with-a-model.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/book/how-to/use-the-model-control-plane/associate-a-pipeline-with-a-model.md b/docs/book/how-to/use-the-model-control-plane/associate-a-pipeline-with-a-model.md index c2cce5cf56b..3b1eebb3a6a 100644 --- a/docs/book/how-to/use-the-model-control-plane/associate-a-pipeline-with-a-model.md +++ b/docs/book/how-to/use-the-model-control-plane/associate-a-pipeline-with-a-model.md @@ -3,7 +3,7 @@ The most common use-case for a Model is to associate it with a pipeline.
from zenml import pipeline
-from zenml.model.model import Model
+from zenml import Model
 
 @pipeline(
     model=Model(
@@ -21,7 +21,7 @@ In case you want to attach the pipeline to an existing model version, specify th
 
 ```python
 from zenml import pipeline
-from zenml.model.model import Model
+from zenml import Model
 from zenml.enums import ModelStages
 
 @pipeline(