]> git.ipfire.org Git - thirdparty/fastapi/sqlmodel.git/commitdiff
✏️ Fix typos in inline comment in `expression.py` (#1747)
authorVarun Chawla <34209028+veeceey@users.noreply.github.com>
Mon, 9 Feb 2026 07:07:12 +0000 (23:07 -0800)
committerGitHub <noreply@github.com>
Mon, 9 Feb 2026 07:07:12 +0000 (08:07 +0100)
Fix typos in expression.py comment

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..."

sqlmodel/sql/expression.py

index 72d7b1de7d2ec12e1f06e81867e6c825de2b17a6..69a20d2801265f1d2851ad271245c39572c722f9 100644 (file)
@@ -44,7 +44,7 @@ _T = TypeVar("_T")
 
 _TypeEngineArgument = Union[type[TypeEngine[_T]], TypeEngine[_T]]
 
-# Redefine operatos that would only take a column expresion to also take the (virtual)
+# 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].