move generated stubs to separate directory, too messty

This commit is contained in:
Maxim Kurnikov
2018-11-10 17:49:18 +03:00
parent 7436d641e3
commit 96cd3ddb27
446 changed files with 58 additions and 71 deletions

View File

@@ -0,0 +1,46 @@
from datetime import date
from typing import Any, Optional, Union
from django.db.models.base import Model
class DjangoUnicodeDecodeError(UnicodeDecodeError):
obj: bytes = ...
def __init__(self, obj: bytes, *args: Any) -> None: ...
python_2_unicode_compatible: Any
def smart_text(
s: Union[Model, int, str],
encoding: str = ...,
strings_only: bool = ...,
errors: str = ...,
) -> str: ...
def is_protected_type(obj: Any) -> bool: ...
def force_text(
s: Optional[Union[bytes, Model, int, str]],
encoding: str = ...,
strings_only: bool = ...,
errors: str = ...,
) -> Optional[Union[int, str]]: ...
def smart_bytes(
s: Union[int, str],
encoding: str = ...,
strings_only: bool = ...,
errors: str = ...,
) -> bytes: ...
def force_bytes(
s: Any, encoding: str = ..., strings_only: bool = ..., errors: str = ...
) -> Union[bytes, date]: ...
smart_str = smart_text
force_str = force_text
def iri_to_uri(iri: Optional[str]) -> Optional[str]: ...
def uri_to_iri(uri: Optional[str]) -> Optional[str]: ...
def escape_uri_path(path: str) -> str: ...
def repercent_broken_unicode(path: bytes) -> bytes: ...
def filepath_to_uri(path: Optional[str]) -> Optional[str]: ...
def get_system_encoding() -> str: ...
DEFAULT_LOCALE_ENCODING: Any