Files
django-stubs/django/db/models/options.pyi
Maxim Kurnikov a9f215bf64 initial commit
2018-07-29 18:12:23 +03:00

24 lines
746 B
Python

from django.utils.datastructures import ImmutableList
from typing import (
Any,
Dict,
)
class Options:
def __init__(self, meta: Any, app_label: str = ...) -> None: ...
def __repr__(self) -> str: ...
def __str__(self) -> str: ...
def _expire_cache(self, forward: bool = ..., reverse: bool = ...) -> None: ...
@cached_property
def _forward_fields_map(self) -> Dict[str, Any]: ...
def _get_fields(
self,
forward: bool = ...,
reverse: bool = ...,
include_parents: object = ...,
include_hidden: bool = ...,
seen_models: Any = ...
) -> ImmutableList: ...
def _populate_directed_relation_graph(self) -> Any: ...
def _prepare(self, model: Any) -> None: ...