mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-18 09:56:00 +08:00
* Fill remaining missing hints with Any & disallow partial hints * ModelFormatDict -> _ModelFormatDict * Fixes * Add __init__ return hints * Add suppression
29 lines
797 B
Python
29 lines
797 B
Python
from typing import Any, Optional
|
|
|
|
from django.contrib.gis.geos.geometry import GEOSGeometry as GEOSGeometry
|
|
|
|
class Point(GEOSGeometry):
|
|
has_cs: bool = ...
|
|
def __init__(
|
|
self, x: Optional[Any] = ..., y: Optional[Any] = ..., z: Optional[Any] = ..., srid: Optional[Any] = ...
|
|
) -> None: ...
|
|
def __iter__(self) -> Any: ...
|
|
def __len__(self) -> Any: ...
|
|
@property
|
|
def x(self) -> Any: ...
|
|
@x.setter
|
|
def x(self, value: Any) -> None: ...
|
|
@property
|
|
def y(self) -> Any: ...
|
|
@y.setter
|
|
def y(self, value: Any) -> None: ...
|
|
@property
|
|
def z(self) -> Any: ...
|
|
@z.setter
|
|
def z(self, value: Any) -> None: ...
|
|
@property
|
|
def tuple(self) -> Any: ...
|
|
@tuple.setter
|
|
def tuple(self, tup: Any) -> None: ...
|
|
coords: Any = ...
|