Skip to content

Commit

Permalink
Fix the Serializer init type hinting
Browse files Browse the repository at this point in the history
The latest versions highlight this is incorrect.
  • Loading branch information
pgjones committed Jan 28, 2024
1 parent 0ae2c65 commit a831132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quart_auth/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Action(Enum):


class _AuthSerializer(URLSafeTimedSerializer):
def __init__(self, secret: str, salt: str) -> None:
def __init__(self, secret: str | bytes, salt: str) -> None:
super().__init__(secret, salt, signer_kwargs={"digest_method": sha512})


Expand Down

0 comments on commit a831132

Please sign in to comment.