fixed pre commit hook issues in autonat

This commit is contained in:
Winter-Soren
2025-04-25 23:02:30 +05:30
committed by Paul Robinson
parent 9655c88788
commit 1730999e38
2 changed files with 41 additions and 27 deletions

View File

@ -32,13 +32,14 @@ class AutoNATStub:
"""AutoNAT service definition"""
def __init__(self, channel: grpc.Channel) -> None:
"""Initialize the AutoNAT stub.
"""
Initialize the AutoNAT stub.
Args:
----
channel (grpc.Channel): The gRPC channel instance that facilitates
communication for the AutoNAT service, providing the underlying
transport mechanism for RPC calls.
channel (grpc.Channel): The gRPC channel instance that facilitates
communication for the AutoNAT service, providing the underlying
transport mechanism for RPC calls.
"""
self.Dial = channel.unary_unary(