Hi,
I can see that there is a little inconsistency on typing of the expires_delta argument in create_access_token. In utils it is Optional[datetime.timedelta] while as per jwt_manager and as mentioned in docstrings its type should be rather Optional[ExpiresDelta].
Hi, I can see that there is a little inconsistency on
typing
of theexpires_delta
argument increate_access_token
. In utils it isOptional[datetime.timedelta]
while as per jwt_manager and as mentioned in docstrings its type should be ratherOptional[ExpiresDelta]
.I can prepare a quick fix if you like.