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

Method error_cases

python/pyarrow/tests/test_flight.py:414–424  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

412
413 @staticmethod
414 def error_cases():
415 return {
416 "internal": flight.FlightInternalError,
417 "timedout": flight.FlightTimedOutError,
418 "cancel": flight.FlightCancelledError,
419 "unauthenticated": flight.FlightUnauthenticatedError,
420 "unauthorized": flight.FlightUnauthorizedError,
421 "notimplemented": NotImplementedError,
422 "invalid": pa.ArrowInvalid,
423 "key": KeyError,
424 }
425
426 def do_action(self, context, action):
427 error_cases = ErrorFlightServer.error_cases()

Callers 2

do_actionMethod · 0.80
test_roundtrip_errorsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected