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

Method __init__

cpp/gdb_arrow.py:845–848  ·  view source on GitHub ↗
(self, val)

Source from the content-addressed store, hash-verified

843 """
844
845 def __init__(self, val):
846 self.ptr = SharedPtr(val).get()
847 self.is_null = int(self.ptr) == 0
848 self.md = None if self.is_null else Metadata(self.ptr.dereference())
849
850 def __len__(self):
851 return 0 if self.is_null else len(self.md)

Callers

nothing calls this directly

Calls 3

SharedPtrClass · 0.85
MetadataClass · 0.85
getMethod · 0.45

Tested by

no test coverage detected