Lines Matching defs:str
25 def split_template_path(template: str) -> t.List[str]:
76 self, environment: "Environment", template: str
111 name: str,
112 globals: t.Optional[t.MutableMapping[str, t.Any]] = None,
181 searchpath: t.Union[str, os.PathLike, t.Sequence[t.Union[str, os.PathLike]]],
182 encoding: str = "utf-8",
193 self, environment: "Environment", template: str
273 package_name: str,
274 package_path: "str" = "templates",
275 encoding: str = "utf-8",
331 self, environment: "Environment", template: str
413 def __init__(self, mapping: t.Mapping[str, str]) -> None: argument
417 self, environment: "Environment", template: str
448 load_func: t.Callable[
451 t.Union[
452 str, t.Tuple[str, t.Optional[str], t.Optional[t.Callable[[], bool]]]
460 self, environment: "Environment", template: str
489 self, mapping: t.Mapping[str, BaseLoader], delimiter: str = "/"
494 def get_loader(self, template: str) -> t.Tuple[BaseLoader, str]:
503 self, environment: "Environment", template: str
517 name: str,
518 globals: t.Optional[t.MutableMapping[str, t.Any]] = None,
554 self, environment: "Environment", template: str
567 name: str,
568 globals: t.Optional[t.MutableMapping[str, t.Any]] = None,
604 self, path: t.Union[str, os.PathLike, t.Sequence[t.Union[str, os.PathLike]]]
628 def get_template_key(name: str) -> str:
632 def get_module_filename(name: str) -> str:
639 name: str,
640 globals: t.Optional[t.MutableMapping[str, t.Any]] = None,