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

Method to_string

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

Source from the content-addressed store, hash-verified

2175 self.val = val
2176
2177 def to_string(self):
2178 f = Field(self.val)
2179 nullable = f.nullable
2180 if nullable:
2181 return f'arrow::field({f.name}, {f.type})'
2182 else:
2183 return f'arrow::field({f.name}, {f.type}, nullable=false)'
2184
2185
2186class MetadataPrinter:

Callers

nothing calls this directly

Calls 1

FieldClass · 0.70

Tested by

no test coverage detected