diff options
author | Viicos <65306057+Viicos@users.noreply.github.com> | 2023-01-03 14:22:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-03 19:22:28 +0600 |
commit | 45fff3ae19ae2930f92929e48d4ad45f41502f31 (patch) | |
tree | fda19685dac355ce8624fbfa35aabd2052e71439 /jwt/types.py | |
parent | 701e8d9d3b8389e13ad6371a331e600b503c2550 (diff) | |
download | pyjwt-45fff3ae19ae2930f92929e48d4ad45f41502f31.tar.gz |
Add more types (#843)
* Add return types in `JWKSetCache`
* Add types for hash algorithms
* Add missing type annotation in `ECAlgorithm`
Diffstat (limited to 'jwt/types.py')
-rw-r--r-- | jwt/types.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jwt/types.py b/jwt/types.py index 830b185..7d99352 100644 --- a/jwt/types.py +++ b/jwt/types.py @@ -1,3 +1,5 @@ -from typing import Any, Dict +from typing import Any, Callable, Dict JWKDict = Dict[str, Any] + +HashlibHash = Callable[..., Any] |