From 625c46c73906454c9a554688b914b37ee1ad425b Mon Sep 17 00:00:00 2001 From: Alex Strick van Linschoten Date: Fri, 12 Jan 2024 09:47:27 +0100 Subject: [PATCH] remove manual linkage from docs (#2272) --- .../data-management/model-management.md | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/docs/book/user-guide/advanced-guide/data-management/model-management.md b/docs/book/user-guide/advanced-guide/data-management/model-management.md index 7140685dde4..48d868c2aa4 100644 --- a/docs/book/user-guide/advanced-guide/data-management/model-management.md +++ b/docs/book/user-guide/advanced-guide/data-management/model-management.md @@ -323,17 +323,5 @@ artifact, and you specify whether it's for a model or deployment by using the `is_model_artifact` and `is_deployment_artifact` flags (as shown above) else it will be assumed to be a data artifact. -### Manual Linkage - -Finally, artifacts can be linked to an existing model version manually using the -SDK: - -```python -model_version = ModelVersion(name="my_model", version="1.0.0") -model_version.link_artifact(my_artifact, name="new_artifact") -``` - -The `link_artifact` method handles creating this connection. -
ZenML Scarf