-
Notifications
You must be signed in to change notification settings - Fork 515
Better input artifacts typing #3099
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
avishniakov
merged 67 commits into
develop
from
feature/PRD-668-better-input-artifacts-typing
Nov 7, 2024
Merged
Better input artifacts typing #3099
avishniakov
merged 67 commits into
develop
from
feature/PRD-668-better-input-artifacts-typing
Nov 7, 2024
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ttps://github.com/zenml-io/zenml into feature/PRD-663-multiple-output-versions-for-a-step
…ttps://github.com/zenml-io/zenml into feature/PRD-663-multiple-output-versions-for-a-step
…to feature/PRD-668-better-input-artifacts-typing
…to feature/PRD-668-better-input-artifacts-typing
This commit refactors the artifact saving logic in the `cacheable_multiple_versioned_producer` function. It introduces two new parameters, `is_model_artifact` and `is_deployment_artifact`, which allow specifying the type of the saved artifact. This change improves the flexibility and customization of the function. Related to #PRD-663
…to feature/PRD-668-better-input-artifacts-typing
schustmi
approved these changes
Nov 6, 2024
…to feature/PRD-668-better-input-artifacts-typing
…to feature/PRD-668-better-input-artifacts-typing
Base automatically changed from
feature/PRD-663-multiple-output-versions-for-a-step
to
develop
November 7, 2024 06:36
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe changes
I implemented helpers to define what is the actual input artifact type in a Step. It can be:
load_artifact
orClient().get_artifact_version
inside a stepStepRunResponse
is now equipped withinput_types
for DAG.I also extended
Client().get_artifact_version
to link the artifact back to the step as input of MANUAL type.Pre-requisites
Please ensure you have done the following:
develop
and the open PR is targetingdevelop
. If your branch wasn't based on develop read Contribution guide on rebasing branch to develop.Types of changes