| 291 | } |
| 292 | |
| 293 | void PyServerMiddleware::SendingHeaders(arrow::flight::AddCallHeaders* outgoing_headers) { |
| 294 | const Status& status = SafeCallIntoPython([&] { |
| 295 | const Status status = vtable_.sending_headers(middleware_.obj(), outgoing_headers); |
| 296 | RETURN_NOT_OK(CheckPyError()); |
| 297 | return status; |
| 298 | }); |
| 299 | |
| 300 | ARROW_WARN_NOT_OK(status, "Python server middleware failed in SendingHeaders"); |
| 301 | } |
| 302 | |
| 303 | void PyServerMiddleware::CallCompleted(const Status& call_status) { |
| 304 | const Status& status = SafeCallIntoPython([&] { |
nothing calls this directly
no test coverage detected