Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #871 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 49 49
Lines 1940 1932 -8
=========================================
- Hits 1940 1932 -8 ☔ View full report in Codecov by Sentry. |
6b33cdf to
c85bf68
Compare
e95f485 to
8a875c2
Compare
4446aac to
917df5b
Compare
a59a8fc to
f6c0a0a
Compare
b6a2f2c to
10c2103
Compare
2621e6e to
afecc96
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was created by Knope. Merging it will create a new release
Breaking Changes
Switch from Black to Ruff for formatting
blackis no longer a runtime dependency, so if you have them set in custompost_hooksin a config file, you'll need to make sure they're being installed manually.ruffis now installed and used by default instead.Use Ruff instead of isort + autoflake at runtime
isortandautoflakeare no longer runtime dependencies, so if you have them set in custompost_hooksin a config file, you'll need to make sure they're being installed manually.ruffis now installed and used by default instead.Features
Support all
text/*content types in responsesWithin an API response, any content type which starts with
text/will now be treated the same astext/htmlalready was—they will return theresponse.textattribute from the httpx Response.Thanks to @fdintino for the initial implementation, and thanks for the discussions from @kairntech, @rubenfiszel, and @antoneladestito.
Closes #797 and #821.
Support
application/octet-streamrequest bodiesEndpoints that accept
application/octet-streamrequest bodies are now supported using the sameFiletype as octet-stream responses.Thanks to @kgutwin for the implementation and @rtaycher for the discussion!
PR #899 closes #588
Fixes
Remove useless
passstatements from generated code