Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
XuanWang-Amos committed Jan 3, 2024
1 parent 0f655a5 commit 0133564
Showing 1 changed file with 44 additions and 10 deletions.
54 changes: 44 additions & 10 deletions src/python/grpcio/grpc/_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__(
Expand Down Expand Up @@ -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__(
Expand Down Expand Up @@ -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__(
Expand Down Expand Up @@ -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__(
Expand Down Expand Up @@ -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__(
Expand Down

0 comments on commit 0133564

Please sign in to comment.