Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove link_artifact from docs for MCP #2272

Merged
merged 1 commit into from
Jan 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>