mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-08 04:54:48 +08:00
* adding missing db.backends typings and updated test * added missing stubs * reformatted files * removed contrib.postgres.forms * fixed test
34 lines
731 B
Python
34 lines
731 B
Python
from typing import Any
|
|
|
|
class SpatialRefSysMixin:
|
|
@property
|
|
def srs(self): ...
|
|
@property
|
|
def ellipsoid(self): ...
|
|
@property
|
|
def name(self): ...
|
|
@property
|
|
def spheroid(self): ...
|
|
@property
|
|
def datum(self): ...
|
|
@property
|
|
def projected(self): ...
|
|
@property
|
|
def local(self): ...
|
|
@property
|
|
def geographic(self): ...
|
|
@property
|
|
def linear_name(self): ...
|
|
@property
|
|
def linear_units(self): ...
|
|
@property
|
|
def angular_name(self): ...
|
|
@property
|
|
def angular_units(self): ...
|
|
@property
|
|
def units(self): ...
|
|
@classmethod
|
|
def get_units(cls, wkt: Any): ...
|
|
@classmethod
|
|
def get_spheroid(cls, wkt: Any, string: bool = ...): ...
|