File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ async def _run_as_async(self, coro: Awaitable[T]) -> T:
119119 return await coro
120120 # Otherwise, run in the background thread
121121 return await asyncio .wrap_future (
122- asyncio .run_coroutine_threadsafe (coro , self ._loop )
122+ asyncio .run_coroutine_threadsafe (coro , self ._loop ) # type: ignore[arg-type]
123123 )
124124
125125 def _run_as_sync (self , coro : Awaitable [T ]) -> T :
@@ -128,7 +128,7 @@ def _run_as_sync(self, coro: Awaitable[T]) -> T:
128128 raise Exception (
129129 "Engine was initialized without a background loop and cannot call sync methods."
130130 )
131- return asyncio .run_coroutine_threadsafe (coro , self ._loop ).result ()
131+ return asyncio .run_coroutine_threadsafe (coro , self ._loop ).result () # type: ignore[arg-type]
132132
133133 async def close (self ) -> None :
134134 """Dispose of connection pool"""
You can’t perform that action at this time.
0 commit comments