Skip to content

Commit 7587744

Browse files
committed
Remove type annotation
1 parent 8e980fc commit 7587744

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scrapy_playwright/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import functools
22
import inspect
3-
from typing import Awaitable, Callable
3+
from typing import Callable
44

55
from ._utils import _ThreadedLoopAdapter
66

@@ -10,7 +10,7 @@ async def _run_async_gen(asyncgen):
1010
yield item
1111

1212

13-
def use_threaded_loop(callback: Awaitable) -> Callable:
13+
def use_threaded_loop(callback) -> Callable:
1414
"""Wrap a coroutine callback so that Playwright coroutines are executed in
1515
the threaded event loop.
1616

0 commit comments

Comments
 (0)