mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-07 12:44:29 +08:00
18 lines
379 B
Python
18 lines
379 B
Python
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]]]]]]: ... |