You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/06/10 18:48:20 UTC
[GitHub] [arrow] lidavidm commented on a diff in pull request #13365: MINOR: [Python] Fix FlightServerBase docstring
lidavidm commented on code in PR #13365:
URL: https://github.com/apache/arrow/pull/13365#discussion_r894809781
##########
python/pyarrow/_flight.pyx:
##########
@@ -2577,7 +2577,7 @@ cdef class FlightServerBase(_Weakrefable):
root_certificates : bytes optional, default None
If enabling mutual TLS, this specifies the PEM-encoded root
certificate used to validate client certificates.
- middleware : list optional, default None
+ middleware : dict optional, default None
A dictionary of :class:`ServerMiddlewareFactory` items. The
keys are used to retrieve the middleware instance during calls
(see :meth:`ServerCallContext.get_middleware`).
Review Comment:
```suggestion
middleware : dict optional, default None
A dictionary of :class:`ServerMiddlewareFactory` instances. The
keys are used to retrieve the middleware instance during calls
(see :meth:`ServerCallContext.get_middleware`).
```
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org