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

Method __init__

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

Source from the content-addressed store, hash-verified

338 """A Flight server that compares the given ticket to an expected value."""
339
340 def __init__(self, expected_ticket, location=None, **kwargs):
341 super().__init__(location, **kwargs)
342 self.expected_ticket = expected_ticket
343
344 def do_get(self, context, ticket):
345 assert self.expected_ticket == ticket.ticket

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected