Skip to content

Fix/string annotations preserve cli values 733 - #736

Open
mehulikhanra904-prog wants to merge 2 commits into
google:masterfrom
mehulikhanra904-prog:fix/string-annotations-preserve-cli-values-733
Open

mehulikhanra904-prog wants to merge 2 commits into
google:masterfrom
mehulikhanra904-prog:fix/string-annotations-preserve-cli-values-733

Conversation

@mehulikhanra904-prog

Copy link
Copy Markdown

Summary

This PR addresses the numeric-string parsing issue reported in #733.

Changes Made

  • Preserve original command-line values when function parameters are explicitly annotated as str.
  • Apply the behavior to both positional and named arguments.
  • Add regression tests covering numeric-looking string values such as 1.10.

Related Issue

Related to #733.

Testing

  • Added regression tests for positional and named arguments.
  • Test execution is pending.
  • CI validation is required.

@google-cla

google-cla Bot commented Nov 18, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant