mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-18 17:14:39 -04:00
refactor: Change typing for new stubs
This commit is contained in:
parent
c12fe0e3d7
commit
14f56a868a
1 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
||||||
from pathlib import Path
|
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
|
from mypy_extensions import TypedDict
|
||||||
|
|
||||||
|
|
||||||
|
@ -94,10 +94,10 @@ class ConfigDict(BaseConfig, total=False):
|
||||||
YOUTUBEDL_BINARY: str
|
YOUTUBEDL_BINARY: str
|
||||||
CHROME_BINARY: Optional[str]
|
CHROME_BINARY: Optional[str]
|
||||||
|
|
||||||
YOUTUBEDL_ARGS: Optional[str]
|
YOUTUBEDL_ARGS: List[str]
|
||||||
WGET_ARGS: Optional[str]
|
WGET_ARGS: List[str]
|
||||||
CURL_ARGS: Optional[str]
|
CURL_ARGS: List[str]
|
||||||
GIT_ARGS: Optional[str]
|
GIT_ARGS: List[str]
|
||||||
|
|
||||||
|
|
||||||
ConfigDefaultValueGetter = Callable[[ConfigDict], ConfigValue]
|
ConfigDefaultValueGetter = Callable[[ConfigDict], ConfigValue]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue