initial commit

This commit is contained in:
Maxim Kurnikov committed 2018-07-29 18:12:23 +03:00
commit a9f215bf64
311 files changed
+13433

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
from django.core.handlers.wsgi import WSGIRequest
from django.http.response import HttpResponse
from typing import (
Any,
Callable,
Dict,
Optional,
Tuple,
)
class XViewMiddleware:
def process_view(
self,
request: WSGIRequest,
view_func: Callable,
view_args: Tuple,
view_kwargs: Dict[Any, Any]
) -> Optional[HttpResponse]: ...
+10
View File
@@ -0,0 +1,10 @@
from typing import Callable
def get_view_name(view_func: Callable) -> str: ...
def replace_named_groups(pattern: str) -> str: ...
def replace_unnamed_groups(pattern: str) -> str: ...
+4
View File
@@ -0,0 +1,4 @@
from django.db.models.fields import Field
def get_readable_field_data_type(field: Field) -> str: ...