Files
django-stubs/django-stubs/contrib/gis/geos/point.pyi
Marti Raudsepp 8f475fa0a6 Fill remaining missing hints with Any & disallow partial hints (#1206)
* Fill remaining missing hints with Any & disallow partial hints

* ModelFormatDict -> _ModelFormatDict

* Fixes

* Add __init__ return hints

* Add suppression
2022-10-31 14:33:59 +03:00

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 = ...