mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-09-21 11:13:18 +08:00
merge with stubgen output
This commit is contained in:
@@ -1,18 +1,23 @@
|
||||
from typing import (
|
||||
Callable,
|
||||
Dict,
|
||||
Optional,
|
||||
Tuple,
|
||||
Union,
|
||||
)
|
||||
# Stubs for django.utils.termcolors (Python 3.6)
|
||||
#
|
||||
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
||||
|
||||
from typing import Any
|
||||
|
||||
def colorize(text: str = ..., opts: Union[str, Tuple] = ..., **kwargs) -> str: ...
|
||||
from typing import Callable, Dict, Optional, Tuple, Union
|
||||
color_names: Any
|
||||
foreground: Any
|
||||
background: Any
|
||||
RESET: str
|
||||
opt_dict: Any
|
||||
|
||||
def colorize(text: str = ..., opts: Union[str, Tuple] = ..., **kwargs: Any) -> str: ...
|
||||
def make_style(opts: Tuple = ..., **kwargs: Any) -> Callable: ...
|
||||
|
||||
def make_style(opts: Tuple = ..., **kwargs) -> Callable: ...
|
||||
NOCOLOR_PALETTE: str
|
||||
DARK_PALETTE: str
|
||||
LIGHT_PALETTE: str
|
||||
PALETTES: Any
|
||||
DEFAULT_PALETTE = DARK_PALETTE
|
||||
|
||||
|
||||
def parse_color_setting(
|
||||
config_string: str
|
||||
) -> Optional[Union[Dict[str, Dict[str, Union[str, Tuple[str]]]], Dict[str, Dict[str, str]]]]: ...
|
||||
def parse_color_setting(config_string: str) -> Optional[Union[Dict[str, Dict[str, Union[str, Tuple[str]]]], Dict[str, Dict[str, str]]]]: ...
|
||||
|
||||
Reference in New Issue
Block a user