fix(downloader): add missing Callable import
Callable was used in string annotations but never imported, causing NameError with typing.get_type_hints().
This commit is contained in:
1 parent
1fcf8c6644
commit
2466ef5fa8
1 file changed
+1
-1
@@ -26,7 +26,7 @@ logger = logging.getLogger(__name__)
|
|||||||
|
|
||||||
|
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from typing import Literal
|
from typing import Callable, Literal
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True)
|
@dataclass(frozen=True)
|
||||||
|
|||||||
Reference in new issue
Block a user