Skip to content

Commit

Permalink
Remove manual linkage from docs (zenml-io#2272) (zenml-io#2273)
Browse files Browse the repository at this point in the history
(cherry picked from commit 625c46c)
  • Loading branch information
strickvl authored Jan 12, 2024
1 parent 1648d6a commit d7e58bc
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<!-- For scarf -->
<figure><img alt="ZenML Scarf" referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=f0b4f458-0a54-4fcd-aa95-d5ee424815bc" /></figure>

0 comments on commit d7e58bc

Please sign in to comment.