diff --git a/django-stubs/contrib/gis/gdal/layer.pyi b/django-stubs/contrib/gis/gdal/layer.pyi index 61536322f..da3884579 100644 --- a/django-stubs/contrib/gis/gdal/layer.pyi +++ b/django-stubs/contrib/gis/gdal/layer.pyi @@ -41,7 +41,7 @@ class Layer(GDALBase): spatial_filter: OGRGeometry | None def get_fields(self, field_name: str) -> list[Any]: ... @overload - def get_geoms(self, geos: Literal[True] = ...) -> OGRGeometry: ... + def get_geoms(self, geos: Literal[True] = ...) -> list[GEOSGeometry]: ... @overload - def get_geoms(self, geos: Literal[False]) -> GEOSGeometry: ... + def get_geoms(self, geos: Literal[False]) -> list[OGRGeometry]: ... def test_capability(self, capability: AnyStr) -> bool: ...