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

Method __init__

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

Source from the content-addressed store, hash-verified

147 CRITERIA = b"the expected criteria"
148
149 def __init__(self, location=None, options=None, **kwargs):
150 super().__init__(location, **kwargs)
151 # Ticket -> Table
152 self.table_factories = {
153 b'ints': simple_ints_table,
154 b'dicts': simple_dicts_table,
155 b'multi': multiple_column_table,
156 }
157 self.options = options
158
159 def list_flights(self, context, criteria):
160 if criteria == self.CRITERIA:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected