Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions stdlib/asyncio/taskgroups.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,14 @@

async def __aenter__(self) -> Self: ...
async def __aexit__(self, et: type[BaseException] | None, exc: BaseException | None, tb: TracebackType | None) -> None: ...
def create_task(self, coro: _CoroutineLike[_T], *, name: str | None = None, context: Context | None = None) -> Task[_T]: ...
def _on_task_done(self, task: Task[object]) -> None: ...

def create_task(
self,

Check failure on line 27 in stdlib/asyncio/taskgroups.pyi

View workflow job for this annotation

GitHub Actions / pyright: Run test cases (Linux, 3.13)

Type annotation is missing for parameter "self" (reportMissingParameterType)

Check failure on line 27 in stdlib/asyncio/taskgroups.pyi

View workflow job for this annotation

GitHub Actions / pyright: Run test cases (Linux, 3.13)

Type of parameter "self" is unknown (reportUnknownParameterType)
coro: _CoroutineLike[_T],
*,
name: str | None = None,
context: Context | None = None,
eager_start: bool | None = None,
**kwargs: Any,
) -> Task[_T]: ...
def _on_task_done(self, task: Task[object]) -> None: ...

Check failure on line 35 in stdlib/asyncio/taskgroups.pyi

View workflow job for this annotation

GitHub Actions / pyright: Run test cases (Linux, 3.13)

Type annotation is missing for parameter "self" (reportMissingParameterType)

Check failure on line 35 in stdlib/asyncio/taskgroups.pyi

View workflow job for this annotation

GitHub Actions / pyright: Run test cases (Linux, 3.13)

Type of parameter "self" is unknown (reportUnknownParameterType)
Loading