mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-08-15 12:21:05 +08:00
first version finished
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
from typing import (
|
||||
Callable,
|
||||
Dict,
|
||||
Optional,
|
||||
Tuple,
|
||||
Union,
|
||||
)
|
||||
|
||||
|
||||
def colorize(text: str = ..., opts: Union[str, Tuple] = ..., **kwargs) -> str: ...
|
||||
|
||||
|
||||
def make_style(opts: Tuple = ..., **kwargs) -> Callable: ...
|
||||
|
||||
|
||||
def parse_color_setting(
|
||||
config_string: str
|
||||
) -> Optional[Union[Dict[str, Dict[str, str]], Dict[str, Dict[str, Union[str, Tuple[str]]]]]]: ...
|
||||
Reference in New Issue
Block a user