- Notifications
You must be signed in to change notification settings - Fork3.4k
Support dict[...] syntax in ApiClient.__deserialize#2467
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Support dict[...] syntax in ApiClient.__deserialize#2467
Conversation
…upport)Adds post-gen patch; aligns with list[...] and pydantic adapters; no behavior change for legacy types.Fixeskubernetes-client#2463
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow ourrelease note process to remove it. Instructions for interacting with me using PR comments are availablehere. If you have questions or suggestions related to my behavior, please file an issue against thekubernetes-sigs/prow repository. |
Keywords which can automatically close issues and at(@) or hashtag(#) mentions are not allowed in commit messages. The list of commits with invalid commit messages:
Instructions for interacting with me using PR comments are availablehere. If you have questions or suggestions related to my behavior, please file an issue against thekubernetes-sigs/prow repository. I understand the commands that are listedhere. |
[APPROVALNOTIFIER] This PR isNOT APPROVED This pull-request has been approved by:mohsinm-dev The full list of commands accepted by this bot can be foundhere. Needs approval from an approver in each of these files: Approvers can indicate their approval by writing |
Summary
dict[str, str]syntax inApiClient.__deserialize()dict(str, str)syntaxopenapi_typesChanges
scripts/api_client_dict_syntax.diffscripts/update-client.shto apply patch during client generationTest plan
test_deserialize_dict_syntax_compatibilitypassesdict(str, str)syntax continues to workdict[str, str]syntax works correctlydict[str, dict[str, str]]syntax worksFixes#2463