Skip to content

Commit e08494f

Browse files
committed
add missing uvloop members to uvloop/__init__.pyi
1 parent 5ddf38b commit e08494f

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

Diff for: uvloop/__init__.pyi

+16-1
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,25 @@ from collections.abc import Callable, Coroutine
55
from contextvars import Context
66
from typing import Any, TypeVar
77

8-
98
_T = TypeVar('_T')
109

1110

11+
class Loop(AbstractEventLoop):
12+
...
13+
14+
15+
def new_event_loop() -> Loop:
16+
...
17+
18+
19+
def install() -> None:
20+
...
21+
22+
23+
class EventLoopPolicy(asyncio.AbstactEventLoopPolicy):
24+
...
25+
26+
1227
def run(
1328
main: Coroutine[Any, Any, _T],
1429
*,

0 commit comments

Comments
 (0)