You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 30, 2024. It is now read-only.
Is your feature request related to a problem? Please describe.
Some engineers prefer that endpoint methods/fns be named using the original operationId spec case
Can this feature be added to python-experimental? @rm3l
Describe the solution you'd like
Using the original case is possible but awkward because operationIds can be any string, even invalid python variable names like:
" "
"123"
"A-B"
So to implement this, the api classes would:
be an instance of TypedDict going from operationId to endpoint fn OR
assign the operationId in the class __dict__
Whichever one best works with type hints would be chosen.
To do this, api_client may have to be passed in to each endpoint call.
Pseudocode would look like: