Bläddra i källkod

Merge pull request #17307 from ericgribkoff/create_server_format

fix docstring on grpc.server
Eric Gribkoff 6 år sedan
förälder
incheckning
3a47e2c41d
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/python/grpcio/grpc/__init__.py

+ 1 - 1
src/python/grpcio/grpc/__init__.py

@@ -1723,7 +1723,7 @@ def server(thread_pool,
         handlers. The interceptors are given control in the order they are
         handlers. The interceptors are given control in the order they are
         specified. This is an EXPERIMENTAL API.
         specified. This is an EXPERIMENTAL API.
       options: An optional list of key-value pairs (channel args in gRPC runtime)
       options: An optional list of key-value pairs (channel args in gRPC runtime)
-      to configure the channel.
+        to configure the channel.
       maximum_concurrent_rpcs: The maximum number of concurrent RPCs this server
       maximum_concurrent_rpcs: The maximum number of concurrent RPCs this server
         will service before returning RESOURCE_EXHAUSTED status, or None to
         will service before returning RESOURCE_EXHAUSTED status, or None to
         indicate no limit.
         indicate no limit.