Skip to content

Conversation

@veeceey
Copy link
Contributor

@veeceey veeceey commented Feb 8, 2026

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
Copy link
Member

@svlandeg svlandeg left a comment

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.

2 participants