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

Function RegisterPyExtensionType

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

Source from the content-addressed store, hash-verified

206}
207
208Status RegisterPyExtensionType(const std::shared_ptr<DataType>& type) {
209 ARROW_DCHECK_EQ(type->id(), Type::EXTENSION);
210 auto ext_type = std::dynamic_pointer_cast<ExtensionType>(type);
211 return RegisterExtensionType(ext_type);
212}
213
214Status UnregisterPyExtensionType(const std::string& type_name) {
215 return UnregisterExtensionType(type_name);

Callers

nothing calls this directly

Calls 2

RegisterExtensionTypeFunction · 0.85
idMethod · 0.45

Tested by

no test coverage detected