mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-13 07:21:56 +08:00
Add UUIDField lookup types (#1178)
This commit is contained in:
@@ -516,6 +516,7 @@ class DateTimeField(DateField[_ST, _GT]):
|
|||||||
class UUIDField(Field[_ST, _GT]):
|
class UUIDField(Field[_ST, _GT]):
|
||||||
_pyi_private_set_type: Union[str, uuid.UUID]
|
_pyi_private_set_type: Union[str, uuid.UUID]
|
||||||
_pyi_private_get_type: uuid.UUID
|
_pyi_private_get_type: uuid.UUID
|
||||||
|
_pyi_lookup_exact_type: Union[uuid.UUID, str]
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
verbose_name: Optional[_StrOrPromise] = ...,
|
verbose_name: Optional[_StrOrPromise] = ...,
|
||||||
|
|||||||
Reference in New Issue
Block a user