fix: Transformer tags pydantic validation and shape compatibility#6103
Open
wasim-builds wants to merge 4 commits into
Open
fix: Transformer tags pydantic validation and shape compatibility#6103wasim-builds wants to merge 4 commits into
wasim-builds wants to merge 4 commits into
Conversation
wasim-builds
requested a deployment
to
manual-approval
July 25, 2026 10:08 — with
GitHub Actions
Waiting
wasim-builds
requested a deployment
to
manual-approval
July 25, 2026 10:08 — with
GitHub Actions
Waiting
wasim-builds
requested a deployment
to
manual-approval
July 25, 2026 10:08 — with
GitHub Actions
Waiting
Author
|
By the way, I've really been enjoying contributing to this project! My goal is to get more involved in open source to help maintain projects and learn from great engineering teams. Is there a process or pathway for becoming a member of the aws GitHub organization? I'd love to continue helping out where I can! |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes #6090.
This PR fixes two issues with how tags are handled in
Transformer.transform()insagemaker-core:tagsandTagsfrom thetransformeddictionary before constructing thesagemaker.core.resources.TransformJobobject.TransformJobdoes not expect or allow extra fields, so this prevents apydantic.ValidationError(extra_forbidden).KeyandValue) before passing them in the CreateTransformJob API request. This prevents incompatibility when tags are passed in a format like[{"key": "foo", "value": "bar"}], whichModelTraineraccepts but backend APIs reject as invalid shape.