]> git.ipfire.org Git - thirdparty/fastapi/sqlmodel.git/commitdiff
✅ Remove unused type ignores since SQLAlchemy 2.0.44 (#1613)
authorSofie Van Landeghem <svlandeg@users.noreply.github.com>
Tue, 21 Oct 2025 09:29:39 +0000 (11:29 +0200)
committerGitHub <noreply@github.com>
Tue, 21 Oct 2025 09:29:39 +0000 (11:29 +0200)
sqlmodel/ext/asyncio/session.py
sqlmodel/orm/session.py

index 54488357bbed577fe672fcc037ee40aa2b1c3d42..ff99dff899d8ae7cb6c51eb7dfdf36624af2eae6 100644 (file)
@@ -129,7 +129,7 @@ class AsyncSession(_AsyncSession):
         ```
         """
     )
-    async def execute(  # type: ignore
+    async def execute(
         self,
         statement: _Executable,
         params: Optional[_CoreAnyExecuteParams] = None,
index dca4733d61600c5460b737c7958a462d05042056..9e82d48a73764476dccf9e748b4218e8a4d23be2 100644 (file)
@@ -113,7 +113,7 @@ class Session(_Session):
         """,
         category=None,
     )
-    def execute(  # type: ignore
+    def execute(
         self,
         statement: _Executable,
         params: Optional[_CoreAnyExecuteParams] = None,