lidavidm commented on a change in pull request #7224:
URL: https://github.com/apache/arrow/pull/7224#discussion_r428637185
##########
File path: python/pyarrow/tests/test_flight.py
##########
@@ -452,6 +453,17 @@ def do_action(self, context, action):
return iter([flight.Result(b"")])
+class MultiHeaderFlightServer(FlightServerBase):
+ """Test sending/receiving multiple (binary-valued) headers."""
+
+ def do_action(self, context, action):
+ middleware = context.get_middleware("test")
+ if middleware:
+ headers = repr(middleware.client_headers).encode("utf-8")
+ return iter([flight.Result(headers)])
Review comment:
It was before but I've changed it now so that it's not.
##########
File path: python/pyarrow/tests/test_flight.py
##########
@@ -452,6 +453,17 @@ def do_action(self, context, action):
return iter([flight.Result(b"")])
+class MultiHeaderFlightServer(FlightServerBase):
+ """Test sending/receiving multiple (binary-valued) headers."""
+
+ def do_action(self, context, action):
+ middleware = context.get_middleware("test")
+ if middleware:
Review comment:
It's not useful, thanks.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]