Skip to content

Commit 59717f4

Browse files
authored
Fix override issue in GeoDataFrame.astype return type (#13606)
1 parent ab46a26 commit 59717f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/geopandas/geopandas/geodataframe.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ class GeoDataFrame(GeoPandasBase, pd.DataFrame): # type: ignore[misc]
315315
dtype: AstypeArg | Mapping[Any, Dtype] | pd.Series[Any], # any because of mapping invariance and series typevar bounds
316316
copy: bool | None = None,
317317
errors: Literal["ignore", "raise"] = "raise",
318-
) -> GeoDataFrame | pd.DataFrame: ...
318+
) -> GeoDataFrame: ...
319319
def to_postgis(
320320
self,
321321
name: str,

0 commit comments

Comments
 (0)