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

✏️ Fix typos in inline comment in expression.py - #1747

#1747
Merged
svlandeg merged 1 commit into
fastapi:mainfastapi/sqlmodel:mainfrom
veeceey:fix/typo-operators-expression-commentveeceey/sqlmodel:fix/typo-operators-expression-commentCopy head branch name to clipboard
Feb 9, 2026
Merged

✏️ Fix typos in inline comment in expression.py#1747
svlandeg merged 1 commit into
fastapi:mainfastapi/sqlmodel:mainfrom
veeceey:fix/typo-operators-expression-commentveeceey/sqlmodel:fix/typo-operators-expression-commentCopy head branch name to clipboard

Conversation

@veeceey

@veeceey veeceey commented Feb 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixed two typos in the comment on line 47-48 of sqlmodel/sql/expression.py:

  • "operatos" → "operators"
  • "expresion" → "expression"

Changes

The comment now correctly reads:

# Redefine operators that would only take a column expression to also take the (virtual)
# types of Pydantic models, e.g. str instead of only Mapped[str].

Test plan

  • ✅ Existing tests pass
  • This is a documentation-only change in a comment

Related

This is a simple typo fix that improves code readability.

Fixed two typos in the comment on line 47:
- "operatos" -> "operators"
- "expresion" -> "expression"

The comment now correctly reads: "Redefine operators that would only take a column expression..."
@svlandeg svlandeg added the docs Improvements or additions to documentation label Feb 9, 2026
@svlandeg svlandeg changed the title Fix typos in expression.py comment ✏️ Fix typos in inline comment in expression.py Feb 9, 2026

@svlandeg svlandeg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@svlandeg
svlandeg merged commit 2dec44b into fastapi:main Feb 9, 2026
26 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

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