Skip to content
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

[FEEDBACK] Return the data immediately as response from the API #101

Closed
Tracked by #24
philkra opened this issue Jun 6, 2023 · 0 comments · Fixed by #126
Closed
Tracked by #24

[FEEDBACK] Return the data immediately as response from the API #101

philkra opened this issue Jun 6, 2023 · 0 comments · Fixed by #126
Labels
breaking change enhancement New feature or request

Comments

@philkra
Copy link
Contributor

philkra commented Jun 6, 2023

Every API call returns a requests.Response instance, while this is convenient to get all the information about the HTTP response, it is also clunky to handle. The expectation is to respond with the data (dict) shortcutting the .json() method. Nevertheless, should the response provide access to the status code and headers.

@philkra philkra mentioned this issue Jun 6, 2023
@philkra philkra added enhancement New feature or request breaking change labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant