We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We want the response interface to automatically server dictionary if it is json compatible but
if has fields that are causing collision then
{"body": dictionary }
The text was updated successfully, but these errors were encountered:
Thinking of a better interface
we can return a tuple/named tuple
that would allow us to return something like the following
return ( response, headers, metadata )
or
return response, headers, metadata
But I am also thinking this would be inconvenient if someone would like to return a dictionary
Sorry, something went wrong.
@sansyrox can I pick this up??
https://discuss.python.org/t/an-idea-to-allow-implicit-return-of-namedtuples/37546/11
This will help
No branches or pull requests
We want the response interface to automatically server dictionary if it is json compatible but
if has fields that are causing collision then
{"body": dictionary }
The text was updated successfully, but these errors were encountered: