Skip to content

add type hints for authlib.common.language#15789

Open
mrhx01 wants to merge 2 commits into
python:mainfrom
mrhx01:add-authlib-common-language
Open

add type hints for authlib.common.language#15789
mrhx01 wants to merge 2 commits into
python:mainfrom
mrhx01:add-authlib-common-language

Conversation

@mrhx01
Copy link
Copy Markdown
Contributor

@mrhx01 mrhx01 commented May 13, 2026

  • Add Final[Pattern[str]] for _LANGUAGE_TAG_RE constant
  • Add type hints for is_valid_language_tag(tag: str) -> bool

authlib.common.language

@github-actions
Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant