Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

♻️ Import Literal from the typing module directly - #1699

#1699
Merged
svlandeg merged 1 commit into
fastapi:mainfastapi/sqlmodel:mainfrom
svlandeg:fix/importsvlandeg/sqlmodel:fix/importCopy head branch name to clipboard
Jan 13, 2026
Merged

♻️ Import Literal from the typing module directly#1699
svlandeg merged 1 commit into
fastapi:mainfastapi/sqlmodel:mainfrom
svlandeg:fix/importsvlandeg/sqlmodel:fix/importCopy head branch name to clipboard

Conversation

@svlandeg

Copy link
Copy Markdown
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.