Skip to content

Commit 09f1ecf

Browse files
committed
Update __init__.pyi
oops
1 parent 132429c commit 09f1ecf

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

stubs/yt-dlp/yt_dlp/__init__.pyi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import optparse
2-
from collections.abc import Callable, Collection, Iterator, Mapping
2+
from _typeshed import Incomplete
3+
from collections.abc import Callable, Collection, Iterable, Iterator, Mapping
34
from typing import Any, Literal, NamedTuple, Protocol, TypedDict, type_check_only
45
from typing_extensions import NotRequired
56

@@ -231,7 +232,7 @@ class _Params(TypedDict, total=False):
231232
useid: bool | None
232233
compat_opts: dict[str, Any] | None
233234
logger: _LoggerProtocol
234-
post_hooks: Iterable[Callable[[Incomplete], object]
235+
post_hooks: Iterable[Callable[[Incomplete], object]]
235236
# Undocumented fields below.
236237
_deprecation_warnings: Collection[str] | None
237238
_warnings: Collection[str] | None

0 commit comments

Comments
 (0)