Skip to content

Fix typos in expression.py comment#1747

Open
veeceey wants to merge 1 commit intofastapi:mainfrom
veeceey:fix/typo-operators-expression-comment
Open

Fix typos in expression.py comment#1747
veeceey wants to merge 1 commit intofastapi:mainfrom
veeceey:fix/typo-operators-expression-comment

Conversation

@veeceey
Copy link

@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..."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant