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

Method to_string

cpp/gdb_arrow.py:2194–2200  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2192 self.val = val
2193
2194 def to_string(self):
2195 f = Field(self.val)
2196 nullable = f.nullable
2197 if nullable:
2198 return f'arrow::field({f.name}, {f.type})'
2199 else:
2200 return f'arrow::field({f.name}, {f.type}, nullable=false)'
2201
2202
2203class MetadataPrinter:

Callers

nothing calls this directly

Calls 1

FieldClass · 0.70

Tested by

no test coverage detected