mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-10-01 14:04:54 +02:00
fix bug: hadn't properly renamed the write_data method name
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user