-
-
Notifications
You must be signed in to change notification settings - Fork 763
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
Pass query and body parameters as keyword arguments to handler function #59
Labels
Comments
This could be done in a "smart" and backwards-compatible way by inspecting the handler function with "inspect.signature" (https://docs.python.org/3/library/inspect.html#inspect.signature) --- i.e. automatically map keyword arguments if the function signature contains them. |
jmcs
added a commit
that referenced
this issue
Sep 21, 2015
jmcs
added a commit
that referenced
this issue
Sep 21, 2015
jmcs
added a commit
that referenced
this issue
Sep 22, 2015
jmcs
added a commit
to zalando-stups/lizzy
that referenced
this issue
Sep 23, 2015
jmcs
added a commit
to zalando-stups/lizzy
that referenced
this issue
Sep 23, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Connexion should actually map query parameters (flask.request.args) and body parameters to keyword arguments (including type conversion) and pass them to the handler function directly.
The text was updated successfully, but these errors were encountered: