mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-05-24 17:28:41 +08:00
reformat with black
This commit is contained in:
@@ -10,6 +10,7 @@ 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
|
||||
|
||||
class InvalidTemplateEngineError(ImproperlyConfigured): ...
|
||||
|
||||
class EngineHandler:
|
||||
@@ -19,6 +20,8 @@ class EngineHandler:
|
||||
def templates(self) -> OrderedDict: ...
|
||||
def __getitem__(self, alias: str) -> BaseEngine: ...
|
||||
def __iter__(self): ...
|
||||
def all(self) -> Union[List[BaseEngine], List[TemplateStrings], List[DjangoTemplates]]: ...
|
||||
def all(
|
||||
self
|
||||
) -> Union[List[BaseEngine], List[TemplateStrings], List[DjangoTemplates]]: ...
|
||||
|
||||
def get_app_template_dirs(dirname: str) -> Tuple: ...
|
||||
|
||||
Reference in New Issue
Block a user