Skip to content

Commit 84bb766

Browse files
committed
fix(mypy): add explicit QueryResult type annotation
Add explicit type annotation to asyncio.wait_for result to satisfy mypy's no-any-return check.
1 parent 50bf63c commit 84bb766

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

db/executor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ async def execute(
234234

235235
try:
236236
# Execute with timeout
237-
result = await asyncio.wait_for(
237+
result: QueryResult = await asyncio.wait_for(
238238
self._execute_query(sql, params),
239239
timeout=timeout,
240240
)

0 commit comments

Comments
 (0)