Source: PostProcessor.to_screen is defined as
# class PostProcessor
def to_screen(self, text, prefix=True, *args, **kwargs):
https://github.com/yt-dlp/yt-dlp/blob/fdec00e0bf530dc6c3cc7b1dd780e95d9ae460e9/yt_dlp/YoutubeDL.py#L1003
Typeshed: typeshed has correspond definition here, which does not meet above.
|
def to_screen( |
|
self, |
|
text: str, |
|
prefix: bool = True, |
|
*, |
|
message: str, |
|
skip_eol: bool = False, |
|
quiet: bool | None = None, |
|
only_once: bool = False, |
|
) -> None: ... |
details
PostProcessor.to_screen calls YoutubeDL.to_screen.
Since YoutubeDL.to_screen has the signature below, keyword args of PostProcessor.to_screen will be { skip_eol, quiet, only_once } and message is unnecessary.
# class YoutubeDL
def to_screen(self, message, skip_eol=False, quiet=None, only_once=False):
https://github.com/yt-dlp/yt-dlp/blob/fdec00e0bf530dc6c3cc7b1dd780e95d9ae460e9/yt_dlp/YoutubeDL.py#L1003
Source:
PostProcessor.to_screenis defined ashttps://github.com/yt-dlp/yt-dlp/blob/fdec00e0bf530dc6c3cc7b1dd780e95d9ae460e9/yt_dlp/YoutubeDL.py#L1003
Typeshed: typeshed has correspond definition here, which does not meet above.
typeshed/stubs/yt-dlp/yt_dlp/postprocessor/common.pyi
Lines 18 to 27 in 97e83f6
details
PostProcessor.to_screencallsYoutubeDL.to_screen.Since
YoutubeDL.to_screenhas the signature below, keyword args ofPostProcessor.to_screenwill be{ skip_eol, quiet, only_once }andmessageis unnecessary.https://github.com/yt-dlp/yt-dlp/blob/fdec00e0bf530dc6c3cc7b1dd780e95d9ae460e9/yt_dlp/YoutubeDL.py#L1003