Skip to content

Commit 536aeeb

Browse files
authored
[Authlib] Add default for generate_token(chars) (#15787)
1 parent d3889ed commit 536aeeb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stubs/Authlib/authlib/common/security.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ from typing import Final
22

33
UNICODE_ASCII_CHARACTER_SET: Final[str]
44

5-
def generate_token(length: int = 30, chars: str = ...) -> str: ...
5+
def generate_token(length: int = 30, chars: str = UNICODE_ASCII_CHARACTER_SET) -> str: ... # noqa: Y011
66
def is_secure_transport(uri: str) -> bool: ...

0 commit comments

Comments
 (0)