Format code

pull/35439/head
Xuan Wang 1 year ago
parent 0f655a5b9e
commit 0133564438
  1. 54
      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__(

Loading…
Cancel
Save