Files
django-stubs/django-stubs-generated/utils/termcolors.pyi
2018-11-10 17:49:18 +03:00

23 lines
527 B
Python

from typing import Any, Callable, Dict, Optional, Tuple, Union
color_names: Any
foreground: Any
background: Any
RESET: str
opt_dict: Any
def colorize(
text: Optional[str] = ..., opts: Union[Tuple, str] = ..., **kwargs: Any
) -> str: ...
def make_style(opts: Tuple = ..., **kwargs: Any) -> Callable: ...
NOCOLOR_PALETTE: str
DARK_PALETTE: str
LIGHT_PALETTE: str
PALETTES: Any
DEFAULT_PALETTE = DARK_PALETTE
def parse_color_setting(
config_string: str
) -> Optional[Dict[str, Dict[str, Union[Tuple[str], str]]]]: ...