Skip to content

Commit

Permalink
Remove typing checking guard
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke committed Mar 6, 2024
1 parent 50c5f41 commit 97b9cca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions python/cuspatial/cuspatial/core/geodataframe.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
# Copyright (c) 2020-2022, NVIDIA CORPORATION
from typing import TYPE_CHECKING, Dict, Tuple, TypeVar, Union
from typing import Dict, Tuple, TypeVar, Union

import pandas as pd
from geopandas import GeoDataFrame as gpGeoDataFrame
from geopandas.geoseries import is_geometry_type as gp_is_geometry_type

import cudf
from cudf.core.copy_types import BooleanMask, GatherMap

from cuspatial.core._column.geocolumn import GeoColumn, GeoMeta
from cuspatial.core.geoseries import GeoSeries
from cuspatial.io.geopandas_reader import GeoPandasReader

if TYPE_CHECKING:
from cudf.core.copy_types import BooleanMask, GatherMap

T = TypeVar("T", bound="GeoDataFrame")


Expand Down
6 changes: 2 additions & 4 deletions python/cuspatial/cuspatial/core/geoseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from functools import cached_property
from numbers import Integral
from typing import TYPE_CHECKING, Optional, Tuple, TypeVar, Union
from typing import Optional, Tuple, TypeVar, Union

import cupy as cp
import geopandas as gpd
Expand All @@ -23,6 +23,7 @@
import cudf
from cudf._typing import ColumnLike
from cudf.core.column.column import as_column
from cudf.core.copy_types import GatherMap

import cuspatial.io.pygeoarrow as pygeoarrow
from cuspatial.core._column.geocolumn import ColumnType, GeoColumn
Expand All @@ -47,9 +48,6 @@
contains_only_polygons,
)

if TYPE_CHECKING:
from cudf.core.copy_types import GatherMap

T = TypeVar("T", bound="GeoSeries")


Expand Down

0 comments on commit 97b9cca

Please sign in to comment.