| 352 | } |
| 353 | |
| 354 | void PyClientMiddleware::ReceivedHeaders( |
| 355 | const arrow::flight::CallHeaders& incoming_headers) { |
| 356 | const Status& status = SafeCallIntoPython([&] { |
| 357 | const Status status = vtable_.received_headers(middleware_.obj(), incoming_headers); |
| 358 | RETURN_NOT_OK(CheckPyError()); |
| 359 | return status; |
| 360 | }); |
| 361 | |
| 362 | ARROW_WARN_NOT_OK(status, "Python client middleware failed in StartCall"); |
| 363 | } |
| 364 | |
| 365 | void PyClientMiddleware::CallCompleted(const Status& call_status) { |
| 366 | const Status& status = SafeCallIntoPython([&] { |
nothing calls this directly
no test coverage detected