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

Method __init__

python/pyarrow/tests/test_flight.py:216–219  ·  view source on GitHub ↗
(self, location=None, expected_schema=None, **kwargs)

Source from the content-addressed store, hash-verified

214 """A Flight server that returns the last data uploaded."""
215
216 def __init__(self, location=None, expected_schema=None, **kwargs):
217 super().__init__(location, **kwargs)
218 self.last_message = None
219 self.expected_schema = expected_schema
220
221 def do_get(self, context, ticket):
222 return flight.RecordBatchStream(self.last_message)

Callers 11

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected