From 01335644382f1371a6c9fa98f66898f2fd1f8f50 Mon Sep 17 00:00:00 2001 From: Xuan Wang Date: Wed, 3 Jan 2024 22:20:25 +0000 Subject: [PATCH] Format code --- src/python/grpcio/grpc/_channel.py | 54 ++++++++++++++++++++++++------ 1 file changed, 44 insertions(+), 10 deletions(-) diff --git a/src/python/grpcio/grpc/_channel.py b/src/python/grpcio/grpc/_channel.py index d345b05f3ca..79c85a1b94c 100644 --- a/src/python/grpcio/grpc/_channel.py +++ b/src/python/grpcio/grpc/_channel.py @@ -1055,8 +1055,15 @@ class _UnaryUnaryMultiCallable(grpc.UnaryUnaryMultiCallable): _response_deserializer: Optional[DeserializingFunction] _context: Any - __slots__ = ["_channel", "_managed_call", "_method", "_target", - "_request_serializer", "_response_deserializer", "_context"] + __slots__ = [ + "_channel", + "_managed_call", + "_method", + "_target", + "_request_serializer", + "_response_deserializer", + "_context", + ] # pylint: disable=too-many-arguments def __init__( @@ -1228,8 +1235,14 @@ class _SingleThreadedUnaryStreamMultiCallable(grpc.UnaryStreamMultiCallable): _response_deserializer: Optional[DeserializingFunction] _context: Any - __slots__ = ["_channel", "_method", "_target", - "_request_serializer", "_response_deserializer", "_context"] + __slots__ = [ + "_channel", + "_method", + "_target", + "_request_serializer", + "_response_deserializer", + "_context", + ] # pylint: disable=too-many-arguments def __init__( @@ -1319,8 +1332,15 @@ class _UnaryStreamMultiCallable(grpc.UnaryStreamMultiCallable): _response_deserializer: Optional[DeserializingFunction] _context: Any - __slots__ = ["_channel", "_managed_call", "_method", "_target", - "_request_serializer", "_response_deserializer", "_context"] + __slots__ = [ + "_channel", + "_managed_call", + "_method", + "_target", + "_request_serializer", + "_response_deserializer", + "_context", + ] # pylint: disable=too-many-arguments def __init__( @@ -1403,8 +1423,15 @@ class _StreamUnaryMultiCallable(grpc.StreamUnaryMultiCallable): _response_deserializer: Optional[DeserializingFunction] _context: Any - __slots__ = ["_channel", "_managed_call", "_method", "_target", - "_request_serializer", "_response_deserializer", "_context"] + __slots__ = [ + "_channel", + "_managed_call", + "_method", + "_target", + "_request_serializer", + "_response_deserializer", + "_context", + ] # pylint: disable=too-many-arguments def __init__( @@ -1567,8 +1594,15 @@ class _StreamStreamMultiCallable(grpc.StreamStreamMultiCallable): _response_deserializer: Optional[DeserializingFunction] _context: Any - __slots__ = ["_channel", "_managed_call", "_method", "_target", - "_request_serializer", "_response_deserializer", "_context"] + __slots__ = [ + "_channel", + "_managed_call", + "_method", + "_target", + "_request_serializer", + "_response_deserializer", + "_context", + ] # pylint: disable=too-many-arguments def __init__(