mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-15 00:07:09 +08:00
initial commit
This commit is contained in:
14
django/template/loaders/filesystem.pyi
Normal file
14
django/template/loaders/filesystem.pyi
Normal file
@@ -0,0 +1,14 @@
|
||||
from django.template.base import Origin
|
||||
from django.template.engine import Engine
|
||||
from typing import (
|
||||
Iterator,
|
||||
List,
|
||||
Union,
|
||||
)
|
||||
|
||||
|
||||
class Loader:
|
||||
def __init__(self, engine: Engine, dirs: None = ...) -> None: ...
|
||||
def get_contents(self, origin: Origin): ...
|
||||
def get_dirs(self) -> List[str]: ...
|
||||
def get_template_sources(self, template_name: Union[str, bytes]) -> Iterator[Origin]: ...
|
||||
Reference in New Issue
Block a user