Skip to content

Commit 037136a

Browse files
committed
fix style
1 parent b1fee15 commit 037136a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ydb/connection.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,10 @@ def _log_request(rpc_state, request):
6363

6464

6565
def _rpc_error_handler(
66-
rpc_state,
67-
rpc_error: typing.Union[grpc.RpcError, grpc.aio.AioRpcError, grpc.Call, grpc.aio.Call],
68-
on_disconnected: typing.Callable[[], None] = None):
66+
rpc_state,
67+
rpc_error: typing.Union[grpc.RpcError, grpc.aio.AioRpcError, grpc.Call, grpc.aio.Call],
68+
on_disconnected: typing.Callable[[], None] = None,
69+
):
6970
"""
7071
RPC call error handler, that translates gRPC error into YDB issue
7172
:param rpc_state: A state of rpc

0 commit comments

Comments
 (0)