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

Method __init__

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

Source from the content-addressed store, hash-verified

845 """
846
847 def __init__(self, val):
848 self.ptr = SharedPtr(val).get()
849 self.is_null = int(self.ptr) == 0
850 self.md = None if self.is_null else Metadata(self.ptr.dereference())
851
852 def __len__(self):
853 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