mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-27 08:14:38 +02:00
refactor: Change typing for new stubs
This commit is contained in:
committed by
Cristian Vargas
parent
c12fe0e3d7
commit
14f56a868a
@@ -1,5 +1,5 @@
|
||||
from pathlib import Path
|
||||
from typing import Optional, Dict, Union, Tuple, Callable, Pattern, Type, Any
|
||||
from typing import Optional, Dict, Union, Tuple, Callable, Pattern, Type, Any, List
|
||||
from mypy_extensions import TypedDict
|
||||
|
||||
|
||||
@@ -94,10 +94,10 @@ class ConfigDict(BaseConfig, total=False):
|
||||
YOUTUBEDL_BINARY: str
|
||||
CHROME_BINARY: Optional[str]
|
||||
|
||||
YOUTUBEDL_ARGS: Optional[str]
|
||||
WGET_ARGS: Optional[str]
|
||||
CURL_ARGS: Optional[str]
|
||||
GIT_ARGS: Optional[str]
|
||||
YOUTUBEDL_ARGS: List[str]
|
||||
WGET_ARGS: List[str]
|
||||
CURL_ARGS: List[str]
|
||||
GIT_ARGS: List[str]
|
||||
|
||||
|
||||
ConfigDefaultValueGetter = Callable[[ConfigDict], ConfigValue]
|
||||
|
Reference in New Issue
Block a user