Skip to content

Typing issue #509

@eMaerthin

Description

@eMaerthin

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].

I can prepare a quick fix if you like.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions