make pep561 compliant

This commit is contained in:
Maxim Kurnikov
2018-07-29 20:19:43 +03:00
parent 89bb6eac75
commit f471b7b1bf
372 changed files with 51 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
from collections import OrderedDict
from django.template.backends.base import BaseEngine
from django.template.backends.django import DjangoTemplates
from django.template.backends.dummy import TemplateStrings
from typing import (
List,
Tuple,
Union,
)
def get_app_template_dirs(dirname: str) -> Tuple: ...
class EngineHandler:
def __getitem__(self, alias: str) -> BaseEngine: ...
def __iter__(self): ...
def all(
self
) -> Union[List[BaseEngine], List[TemplateStrings], List[DjangoTemplates]]: ...
@cached_property
def templates(self) -> OrderedDict: ...