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

Method __init__

cpp/gdb_arrow.py:1747–1752  ·  view source on GitHub ↗
(self, name, val)

Source from the content-addressed store, hash-verified

1745 """
1746
1747 def __init__(self, name, val):
1748 ty = self.type
1749 self.precision = int(ty['precision_'])
1750 self.scale = int(ty['scale_'])
1751 self.decimal_class = decimal_type_to_class[self.type_name]
1752 self.byte_width = self.decimal_class.traits.bit_width // 8
1753
1754 def display_hint(self):
1755 return "array"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected