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

Method PyExtensionType

python/pyarrow/src/arrow/python/extension_type.cc:86–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86PyExtensionType::PyExtensionType(std::shared_ptr<DataType> storage_type, PyObject* typ,
87 PyObject* inst)
88 : ExtensionType(storage_type),
89 extension_name_(kExtensionName),
90 type_class_(typ),
91 type_instance_(inst) {}
92
93PyExtensionType::PyExtensionType(std::shared_ptr<DataType> storage_type,
94 std::string extension_name, PyObject* typ,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected