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

Method run

python/pyarrow/tests/test_ipc.py:878–891  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

876 return port
877
878 def run(self):
879 connection, client_address = self._sock.accept()
880 try:
881 source = connection.makefile(mode='rb')
882 reader = pa.ipc.open_stream(source)
883 self._schema = reader.schema
884 if self._do_read_all:
885 self._table = reader.read_all()
886 else:
887 for i, batch in enumerate(reader):
888 self._batches.append(batch)
889 finally:
890 connection.close()
891 self._sock.close()
892
893 def get_result(self):
894 return (self._schema, self._table if self._do_read_all

Callers 11

run_with_env_varFunction · 0.45
test_timezone_absentFunction · 0.45
is_gdb_availableFunction · 0.45
test_get_flight_infoFunction · 0.45
check_env_varFunction · 0.45
run_debug_memory_poolFunction · 0.45
test_print_statsFunction · 0.45

Calls 2

appendMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected