mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-18 18:05:58 +08:00
improved version
This commit is contained in:
@@ -5,4 +5,4 @@ from typing import (
|
||||
|
||||
|
||||
class Loader:
|
||||
def get_dirs(self) -> Union[Tuple[str, str, str, str], Tuple[str, str, str], Tuple[str], Tuple[str, str]]: ...
|
||||
def get_dirs(self) -> Union[Tuple[str, str], Tuple[str, str, str], Tuple[str], Tuple[str, str, str, str]]: ...
|
||||
@@ -11,4 +11,4 @@ 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]: ...
|
||||
def get_template_sources(self, template_name: Union[bytes, str]) -> Iterator[Origin]: ...
|
||||
Reference in New Issue
Block a user