Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ PyCapsule_IsValid
Function
PyCapsule_IsValid
python/pyarrow/tests/test_cffi.py:51–52 ·
view source on GitHub ↗
(capsule, name)
Source
from the content-addressed store, hash-verified
49
50
51
def
PyCapsule_IsValid(capsule, name):
52
return
ctypes.pythonapi.PyCapsule_IsValid(ctypes.py_object(capsule), name) == 1
53
54
55
@contextlib.contextmanager
Callers
7
test_roundtrip_schema_capsule
Function · 0.70
test_roundtrip_array_capsule
Function · 0.70
test_roundtrip_device_array_capsule
Function · 0.70
test_roundtrip_reader_capsule
Function · 0.70
test_roundtrip_batch_reader_capsule_requested_schema
Function · 0.70
test_roundtrip_batch_reader_capsule
Function · 0.70
test_roundtrip_chunked_array_capsule
Function · 0.70
Calls
1
py_object
Method · 0.80
Tested by
no test coverage detected