Method
__init__
(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
Tested by
no test coverage detected