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

Method flight_request

dev/archery/archery/integration/tester_cpp.py:131–142  ·  view source on GitHub ↗
(self, port, json_path=None, scenario_name=None)

Source from the content-addressed store, hash-verified

129 server.wait(5)
130
131 def flight_request(self, port, json_path=None, scenario_name=None):
132 cmd = _FLIGHT_CLIENT_CMD + [f'-port={port}']
133 if json_path:
134 cmd.extend(('-path', json_path))
135 elif scenario_name:
136 cmd.extend(('-scenario', scenario_name))
137 else:
138 raise TypeError("Must provide one of json_path or scenario_name")
139
140 if self.debug:
141 log(' '.join(cmd))
142 run_cmd(cmd)
143
144 def make_c_data_exporter(self):
145 return CppCDataExporter(self.debug, self.args)

Callers

nothing calls this directly

Calls 4

extendMethod · 0.80
run_cmdFunction · 0.70
TypeErrorFunction · 0.50
joinMethod · 0.45

Tested by

no test coverage detected