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

Function UnwrapError

python/pyarrow/src/arrow/python/pyarrow.cc:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36namespace py {
37
38static Status UnwrapError(PyObject* obj, const char* expected_type) {
39 return Status::TypeError("Could not unwrap ", expected_type,
40 " from Python object of type '", Py_TYPE(obj)->tp_name, "'");
41}
42
43int import_pyarrow() {
44#ifdef PYPY_VERSION

Callers

nothing calls this directly

Calls 1

TypeErrorFunction · 0.50

Tested by

no test coverage detected