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

Method __init__

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected