This is an automated email from the ASF dual-hosted git repository.

yibocai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new d449d1576c MINOR: [Python] Fix FlightServerBase docstring (#13365)
d449d1576c is described below

commit d449d1576c82502bb0c52e97e41b12ccf7fb1d76
Author: David Li <[email protected]>
AuthorDate: Sun Jun 12 21:51:40 2022 -0400

    MINOR: [Python] Fix FlightServerBase docstring (#13365)
    
    Authored-by: David Li <[email protected]>
    Signed-off-by: Yibo Cai <[email protected]>
---
 python/pyarrow/_flight.pyx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/python/pyarrow/_flight.pyx b/python/pyarrow/_flight.pyx
index b8542e6121..2ad3f7128c 100644
--- a/python/pyarrow/_flight.pyx
+++ b/python/pyarrow/_flight.pyx
@@ -2577,10 +2577,10 @@ 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
-        A dictionary of :class:`ServerMiddlewareFactory` items. The
-        keys are used to retrieve the middleware instance during calls
-        (see :meth:`ServerCallContext.get_middleware`).
+    middleware : dict optional, default None
+        A dictionary of :class:`ServerMiddlewareFactory` instances. The
+        string keys can be used to retrieve the middleware instance within
+        RPC handlers (see :meth:`ServerCallContext.get_middleware`).
 
     """
 

Reply via email to