Skip to content

Add helper method to quickly create run template from pipeline #3155

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

Merged
merged 7 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
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 @@ -27,6 +27,19 @@ You need to select **a pipeline run that was executed on a remote stack**
(i.e. at least a remote orchestrator, artifact store, and container registry)
{% endhint %}


You can also create a template directly from your pipeline definition by running the
following code while having a **remote stack** active:
```python
from zenml import pipeline

@pipeline
def my_pipeline():
...

template = my_pipeline.create_run_template(name=<TEMPLATE_NAME>)
```

## Run a template

You can use the ZenML client to run a template:
Expand Down
Loading
Loading