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

Add example of how to continue from computed intermediate result #97

Closed
SimonHeybrock opened this issue Jan 10, 2024 · 0 comments · Fixed by #101
Closed

Add example of how to continue from computed intermediate result #97

SimonHeybrock opened this issue Jan 10, 2024 · 0 comments · Fixed by #101
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@SimonHeybrock
Copy link
Member

After computing an intermediate result, we can use Pipeline.__setitem__ to replace the provider with the intermediate result (as a param):

data = pipeline.compute(Intermediate)
pipeline[Intermediate] = data
result = pipeline.compute(Final)

This may not be obvious to users, we should document this in an example.

@SimonHeybrock SimonHeybrock added the documentation Improvements or additions to documentation label Jan 10, 2024
@SimonHeybrock SimonHeybrock moved this from Next to Selected in Development Board Jan 15, 2024
@jokasimr jokasimr self-assigned this Jan 16, 2024
@jokasimr jokasimr moved this from Selected to In progress in Development Board Jan 16, 2024
@github-project-automation github-project-automation bot moved this from In progress to Done in Development Board Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants