From f330b49bf961493c3bc12359f3e8ed4e52a1765c Mon Sep 17 00:00:00 2001 From: Jordan Shatford Date: Mon, 23 Oct 2023 14:13:12 +1100 Subject: [PATCH] chore(core): proper typing on eta in yt-dlp progress hook Signed-off-by: Jordan Shatford --- core/ydcore/config/ytdlp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/ydcore/config/ytdlp.py b/core/ydcore/config/ytdlp.py index 619473cb..8a15ccc4 100644 --- a/core/ydcore/config/ytdlp.py +++ b/core/ydcore/config/ytdlp.py @@ -23,7 +23,7 @@ class ProgressHookInfo(TypedDict): total_bytes: NotRequired[int | None] total_bytes_estimate: NotRequired[int | None] elapsed: NotRequired[float | None] - eta: NotRequired[int | None] + eta: NotRequired[float | None] speed: NotRequired[float | None] fragment_index: NotRequired[int | None] fragment_count: NotRequired[int | None]