MCPcopy Create free account
hub / github.com/apache/arrow / __init__

Method __init__

python/pyarrow/tests/test_dlpack.py:61–63  ·  view source on GitHub ↗
(self, obj, **forced)

Source from the content-addressed store, hash-verified

59 """
60
61 def __init__(self, obj, **forced):
62 self._obj = obj
63 self._forced = forced
64
65 def __dlpack__(self, **kwargs):
66 return self._obj.__dlpack__(**{**kwargs, **self._forced})

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected