Skip to content

♻️ Import Literal from the typing module directly#1699

Merged
svlandeg merged 1 commit intofastapi:mainfrom
svlandeg:fix/import
Jan 13, 2026
Merged

♻️ Import Literal from the typing module directly#1699
svlandeg merged 1 commit intofastapi:mainfrom
svlandeg:fix/import

Conversation

@svlandeg
Copy link
Member

Now that Python 3.8 is dropped, we can import Literal from typing.

@svlandeg svlandeg merged commit 99d8b0b into fastapi:main Jan 13, 2026
26 of 27 checks passed
@svlandeg svlandeg deleted the fix/import branch January 13, 2026 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant