FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

✏️ Fix typos in inline comment in `expression.py` by veeceey · Pull Request #1747 · fastapi/sqlmodel · GitHub

Repository navigation

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

Merged
svlandeg merged 1 commit into
fastapi:mainfrom
veeceey:fix/typo-operators-expression-comment
Feb 9, 2026
Merged

svlandeg merged 1 commit into
fastapi:mainfrom
veeceey:fix/typo-operators-expression-comment

Conversation

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 added the docs Improvements or additions to documentation label Feb 9, 2026
svlandeg changed the title Fix typos in expression.py comment ✏️ Fix typos in inline comment in expression.py Feb 9, 2026

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks!

svlandeg merged commit 2dec44b into fastapi:main Feb 9, 2026
26 of 27 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL