mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-08 21:14:49 +08:00
24 lines
580 B
Python
24 lines
580 B
Python
from typing import (
|
|
Any,
|
|
Callable,
|
|
Dict,
|
|
List,
|
|
)
|
|
|
|
|
|
class LazyObject:
|
|
def __delattr__(self, name: str) -> None: ...
|
|
def __init__(self) -> None: ...
|
|
def __reduce__(self) -> Any: ...
|
|
def __setattr__(self, name: str, value: object) -> None: ...
|
|
|
|
|
|
class SimpleLazyObject:
|
|
def __copy__(self) -> object: ...
|
|
def __deepcopy__(self, memo: Dict[Any, Any]) -> List[int]: ...
|
|
def __init__(self, func: Callable) -> None: ...
|
|
def _setup(self) -> None: ...
|
|
|
|
|
|
class cached_property:
|
|
def __get__(self, instance: Any, cls: Any = ...) -> Any: ... |