lidavidm commented on issue #34016: URL: https://github.com/apache/arrow/issues/34016#issuecomment-1423315187
> The middleware callback interface is already in Python (if there's ever a performance argument it might make sense to allow two types of middleware objects where the Flight implementation detects whether there's a pure-C++ one and dynamically wires in the callbacks that way), so using C++ code for this small component would make extension or modification by Python app authors much more difficult. Basically, I'm confused here. The middleware interface is in C++. Python middleware is actually a special C++ middleware that makes FFI calls back into Python. What I'm saying is you can mostly avoid that dance: just allow directly adding the C++ cookie middleware to the client from Python. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
