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

Method do_get

python/pyarrow/tests/test_flight.py:392–394  ·  view source on GitHub ↗
(self, context, ticket)

Source from the content-addressed store, hash-verified

390 """A Flight server that delays its responses to test timeouts."""
391
392 def do_get(self, context, ticket):
393 return flight.GeneratorStream(pa.schema([('a', pa.int32())]),
394 self.slow_stream())
395
396 def do_action(self, context, action):
397 time.sleep(0.5)

Callers

nothing calls this directly

Calls 2

slow_streamMethod · 0.95
schemaMethod · 0.45

Tested by

no test coverage detected