From 118d5c7a91b0622407719cab7054b60467b1e111 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Wed, 9 Nov 2022 09:45:33 +0000 Subject: [PATCH] Remove GeoFuncMixin overrides --- django-stubs/contrib/gis/db/models/functions.pyi | 6 ------ 1 file changed, 6 deletions(-) diff --git a/django-stubs/contrib/gis/db/models/functions.pyi b/django-stubs/contrib/gis/db/models/functions.pyi index a9506e52b..acec5d1ab 100644 --- a/django-stubs/contrib/gis/db/models/functions.pyi +++ b/django-stubs/contrib/gis/db/models/functions.pyi @@ -7,15 +7,9 @@ from django.db.models.sql.compiler import _AsSqlType NUMERIC_TYPES: Any class GeoFuncMixin: - function: Any = ... geom_param_pos: Any = ... - def __init__(self, *expressions: Any, **extra: Any) -> None: ... @property def geo_field(self) -> Any: ... - def as_sql( - self, compiler: Any, connection: Any, function: Optional[Any] = ..., **extra_context: Any - ) -> _AsSqlType: ... - def resolve_expression(self, *args: Any, **kwargs: Any) -> Any: ... class GeoFunc(GeoFuncMixin, Func): ...