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

Function GetUuidClass

python/pyarrow/src/arrow/python/helpers.cc:342–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340static ModuleOnceRunner uuid_runner("uuid");
341
342PyObject* GetUuidClass() {
343 uuid_runner.RunOnce([](OwnedRef& module) {
344 OwnedRef ref;
345 if (ImportFromModule(module.obj(), "UUID", &ref).ok()) {
346 uuid_UUID = ref.obj();
347 }
348 });
349 return uuid_UUID;
350}
351
352} // namespace
353

Callers 2

IsPyUuidFunction · 0.85
UuidFromBytesFunction · 0.85

Calls 3

ImportFromModuleFunction · 0.85
RunOnceMethod · 0.80
okMethod · 0.45

Tested by

no test coverage detected