Skip to content

Commit

Permalink
Change format
Browse files Browse the repository at this point in the history
  • Loading branch information
XuanWang-Amos committed Jan 9, 2024
1 parent f631f8e commit cc850aa
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/python/grpcio/grpc/aio/_base_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def unary_unary(
method: str,
request_serializer: Optional[SerializingFunction] = None,
response_deserializer: Optional[DeserializingFunction] = None,
_registered_method = False,
_registered_method: Optional[bool] = False,
) -> UnaryUnaryMultiCallable:
"""Creates a UnaryUnaryMultiCallable for a unary-unary method.
Expand All @@ -283,8 +283,8 @@ def unary_unary(
response_deserializer: Optional :term:`deserializer` for deserializing the
response message. Response goes undeserialized in case None
is passed.
_registered_method: Implementation Private. A bool representing whether the method
is registered.
_registered_method: Implementation Private. Optional: A bool representing
whether the method is registered.
Returns:
A UnaryUnaryMultiCallable value for the named unary-unary method.
Expand All @@ -296,7 +296,7 @@ def unary_stream(
method: str,
request_serializer: Optional[SerializingFunction] = None,
response_deserializer: Optional[DeserializingFunction] = None,
_registered_method = False,
_registered_method: Optional[bool] = False,
) -> UnaryStreamMultiCallable:
"""Creates a UnaryStreamMultiCallable for a unary-stream method.
Expand All @@ -307,8 +307,8 @@ def unary_stream(
response_deserializer: Optional :term:`deserializer` for deserializing the
response message. Response goes undeserialized in case None
is passed.
_registered_method: Implementation Private. A bool representing whether the method
is registered.
_registered_method: Implementation Private. Optional: A bool representing
whether the method is registered.
Returns:
A UnarySteramMultiCallable value for the named unary-stream method.
Expand All @@ -320,7 +320,7 @@ def stream_unary(
method: str,
request_serializer: Optional[SerializingFunction] = None,
response_deserializer: Optional[DeserializingFunction] = None,
_registered_method = False,
_registered_method: Optional[bool] = False,
) -> StreamUnaryMultiCallable:
"""Creates a StreamUnaryMultiCallable for a stream-unary method.
Expand All @@ -331,8 +331,8 @@ def stream_unary(
response_deserializer: Optional :term:`deserializer` for deserializing the
response message. Response goes undeserialized in case None
is passed.
_registered_method: Implementation Private. A bool representing whether the method
is registered.
_registered_method: Implementation Private. Optional: A bool representing
whether the method is registered.
Returns:
A StreamUnaryMultiCallable value for the named stream-unary method.
Expand All @@ -344,7 +344,7 @@ def stream_stream(
method: str,
request_serializer: Optional[SerializingFunction] = None,
response_deserializer: Optional[DeserializingFunction] = None,
_registered_method = False,
_registered_method: Optional[bool] = False,
) -> StreamStreamMultiCallable:
"""Creates a StreamStreamMultiCallable for a stream-stream method.
Expand All @@ -355,8 +355,8 @@ def stream_stream(
response_deserializer: Optional :term:`deserializer` for deserializing the
response message. Response goes undeserialized in case None
is passed.
_registered_method: Implementation Private. A bool representing whether the method
is registered.
_registered_method: Implementation Private. Optional: A bool representing
whether the method is registered.
Returns:
A StreamStreamMultiCallable value for the named stream-stream method.
Expand Down

0 comments on commit cc850aa

Please sign in to comment.