-
Notifications
You must be signed in to change notification settings - Fork 137
Added initial typehints #494
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
Merged
Merged
Changes from 14 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
3603881
Removed support for Python 3.6/3.7 missing ContextVar
danielmorell 2414d2a
Initial work on adding typing.
danielmorell 4813578
Merge branch 'master' into added/typehints
danielmorell 57d5945
Added type stubs and typed imports where possible ignored the rest
danielmorell eb58125
Merge branch 'master' into added/typehints
danielmorell 93194dc
Merge branch 'master' into added/typehints
danielmorell 9ef5009
Added initial round of typehints
danielmorell 158f79e
Fixed missing route passed to app init.
danielmorell 2312565
Fixed check_level function to allow custom levels.
danielmorell a8102b7
Removed commented code.
danielmorell 83434fc
Address review comments.
danielmorell a02b8c0
Fixed deprecated Starlette routing in tests.
danielmorell 1a3c08d
More code review fixes.
danielmorell e15edf1
Removed unnecessary missing contextvar test.
danielmorell 6318c76
Addressed code review comments.
danielmorell 3fe9121
Dropped support for Python 3.9
danielmorell f347608
Updated 3.9 Unions and Optional to modern syntax
danielmorell 50e8438
Moved type only imports to behind typing.TYPE_CHECKING.
danielmorell fba47bd
Require mypy < 2.0 until it is more stable.
danielmorell 944c701
Fixed FastAPI tests skipped because of incorrect version.
danielmorell 2557198
Fixed tests and addressed review comments.
danielmorell 98944e5
Fixed httpx JSON encoding in FastAPI tests.
danielmorell ed68dc9
Fixed adjustment to JSON body in FastAPI tests.
danielmorell ac38287
Fixed custom traversal and typehints in tests.
danielmorell ea5823a
Updated handler typehints
danielmorell 982f9c4
Added py.typed file to expose types.
danielmorell File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.