fix bug: hadn't properly renamed the write_data method name

This commit is contained in:
Kyrre-Wahl-Kongsgard
2025-07-21 13:38:54 +02:00
parent 0f32bec263
commit 72422d0db9
@@ -71,9 +71,9 @@ class ArrowRenderer(CLIRenderer):
"""Outputs the JSON data to a file in a particular format"""
t = pa.Table.from_pylist(result, schema=schema)
self.write_data(t, outfd)
self.write_table(t, outfd)
def write_data(self, t: "pa.Table", outfd: TextIO) -> None:
def write_table(self, t: "pa.Table", outfd: TextIO) -> None:
buf = pa.BufferOutputStream()
writer = pa.ipc.new_stream(buf, t.schema)