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

fix: correctly deserialize/render input values for smoke tests #1181

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ianbotsf
Copy link
Contributor

Issue #

(none)

Description of changes

This change replaces the codegen for smoke test input params with the ShapeValueGenerator and also makes small changes to use imported symbols rather than fully qualified ones.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ianbotsf ianbotsf added the no-changelog Indicates that a changelog entry isn't required for a pull request. Use sparingly. label Nov 14, 2024
@ianbotsf ianbotsf requested a review from a team as a code owner November 14, 2024 22:35

This comment has been minimized.

1 similar comment
Copy link

Affected Artifacts

No artifacts changed size

} else {
withBlock("(", ")") {
val inputShape = model.expectShape(operation.input.get())
ShapeValueGenerator(model, symbolProvider).instantiateShapeInline(writer, inputShape, inputParams)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, nice simplification!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Indicates that a changelog entry isn't required for a pull request. Use sparingly.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants