utils.pyi
1 import collections 2 from typing import Any, Dict, List, Tuple 3 4 from django.core.exceptions import ImproperlyConfigured 5 from django.template.backends.base import BaseEngine 6 7 class InvalidTemplateEngineError(ImproperlyConfigured): ... 8 9 class EngineHandler: 10 templates: collections.OrderedDict 11 def __init__(self, templates: List[Dict[str, Any]] = ...) -> None: ... 12 def __getitem__(self, alias: str) -> BaseEngine: ... 13 def __iter__(self) -> Any: ... 14 def all(self) -> List[BaseEngine]: ... 15 16 def get_app_template_dirs(dirname: str) -> Tuple: ...