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

Method __init__

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected