Skip to content

Commit 0a10e48

Browse files
committed
Remove unnecessary _PyCapsule class definition and import for clarity
1 parent 712d7d7 commit 0a10e48

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

python/datafusion/user_defined.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,8 @@
4141
from datafusion.expr import Expr
4242

4343
if TYPE_CHECKING:
44-
from _typeshed import CapsuleType as _PyCapsule
45-
4644
_R = TypeVar("_R", bound=pa.DataType)
47-
else:
4845

49-
class _PyCapsule:
50-
"""Lightweight typing proxy for CPython ``PyCapsule`` objects."""
5146

5247

5348
class Volatility(Enum):

0 commit comments

Comments
 (0)