initial commit

This commit is contained in:
Maxim Kurnikov
2018-07-29 18:12:23 +03:00
commit a9f215bf64
311 changed files with 13433 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
from django.db.backends.base.base import BaseDatabaseWrapper
from django.db.backends.utils import CursorWrapper
from typing import (
Dict,
List,
Optional,
Tuple,
Union,
)
class BaseDatabaseIntrospection:
def __init__(self, connection: BaseDatabaseWrapper) -> None: ...
def column_name_converter(self, name: str) -> str: ...
def django_table_names(self, only_existing: bool = ..., include_views: bool = ...) -> List[str]: ...
def get_field_type(
self,
data_type: str,
description: FieldInfo
) -> Union[str, Tuple[str, Dict[str, int]]]: ...
def table_name_converter(self, name: str) -> str: ...
def table_names(
self,
cursor: Optional[CursorWrapper] = ...,
include_views: bool = ...
) -> List[str]: ...