We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4143b8a commit 0d7f413Copy full SHA for 0d7f413
python/datafusion/user_defined.py
@@ -33,9 +33,8 @@
33
overload,
34
)
35
36
-from typing_extensions import TypeGuard
37
-
38
import pyarrow as pa
+from typing_extensions import TypeGuard
39
40
import datafusion._internal as df_internal
41
from datafusion.expr import Expr
@@ -101,7 +100,6 @@ def __datafusion_scalar_udf__(self) -> object: ... # noqa: D105
101
100
102
def _is_pycapsule(value: object) -> TypeGuard[_PyCapsule]:
103
"""Return ``True`` when ``value`` is a CPython ``PyCapsule``."""
104
105
return value.__class__.__name__ == "PyCapsule"
106
107
0 commit comments