-
-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: improve annotations Signed-off-by: Aaron Pham <[email protected]> * type: supports converters and gen type hint A few notes: - Use UnionType when cattrs decides to support 3.11 since in 3.11 @Final has a different implementation, which inherently affects UnionType support in _compat.py For cattrs to support it we might need to update typing_extensions version - Making generated function a generic type alias now. This should make it easiert to type hint any future works that involves the given make and gen function. revert: changes from upstream Signed-off-by: Aaron Pham <[email protected]> Signed-off-by: Aaron Pham <[email protected]> Co-authored-by: Tin Tvrtković <[email protected]>
- Loading branch information
Showing
3 changed files
with
122 additions
and
50 deletions.
There are no files selected for viewing
This file contains 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 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.