@@ -6,7 +6,7 @@ from django.db.backends.base.base import BaseDatabaseWrapper
6
6
from django .db .models import BinaryField , BooleanField , FloatField , Func , IntegerField , TextField
7
7
from django .db .models import Transform as StandardTransform
8
8
from django .db .models .sql .compiler import SQLCompiler , _AsSqlType
9
- from utils .functional import cached_property
9
+ from django . utils .functional import cached_property
10
10
11
11
NUMERIC_TYPES : Any
12
12
@@ -84,7 +84,7 @@ class DistanceResultMixin:
84
84
def output_field (self ) -> DistanceField : ...
85
85
def source_is_geography (self ) -> Any : ...
86
86
87
- class Distance (DistanceResultMixin , OracleToleranceMixin , GeoFunc ):
87
+ class Distance (DistanceResultMixin , OracleToleranceMixin , GeoFunc ): # type: ignore[misc]
88
88
geom_param_pos : Any
89
89
spheroid : Any
90
90
def __init__ (self , expr1 : Any , expr2 : Any , spheroid : Any | None = ..., ** extra : Any ) -> None : ...
@@ -132,7 +132,7 @@ class IsValid(OracleToleranceMixin, GeoFuncMixin, StandardTransform):
132
132
output_field : ClassVar [BooleanField ] # type: ignore[assignment]
133
133
def as_oracle (self , compiler : SQLCompiler , connection : BaseDatabaseWrapper , ** extra_context : Any ) -> _AsSqlType : ...
134
134
135
- class Length (DistanceResultMixin , OracleToleranceMixin , GeoFunc ):
135
+ class Length (DistanceResultMixin , OracleToleranceMixin , GeoFunc ): # type: ignore[misc]
136
136
spheroid : Any
137
137
def __init__ (self , expr1 : Any , spheroid : bool = ..., ** extra : Any ) -> None : ...
138
138
def as_postgresql (
@@ -159,7 +159,7 @@ class NumPoints(GeoFunc):
159
159
output_field : ClassVar [IntegerField ] # type: ignore[assignment]
160
160
arity : int
161
161
162
- class Perimeter (DistanceResultMixin , OracleToleranceMixin , GeoFunc ):
162
+ class Perimeter (DistanceResultMixin , OracleToleranceMixin , GeoFunc ): # type: ignore[misc]
163
163
arity : int
164
164
def as_postgresql (
165
165
self , compiler : SQLCompiler , connection : BaseDatabaseWrapper , ** extra_context : Any
0 commit comments