mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-14 07:47:09 +08:00
better stubs
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
# Stubs for django.db.models.utils (Python 3.6)
|
||||
#
|
||||
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
||||
from typing import Any, Optional, Tuple, Type, Union
|
||||
|
||||
from typing import Any
|
||||
from django.db.models.base import Model
|
||||
|
||||
from typing import Any, Tuple
|
||||
|
||||
def make_model_tuple(model: Any) -> Tuple[str, str]: ...
|
||||
def make_model_tuple(model: Union[Type[Model], str]) -> Tuple[str, str]: ...
|
||||
|
||||
Reference in New Issue
Block a user