Skip to content

Commit d5af2c5

Browse files
committed
add print of server status on startup
1 parent 8c795cc commit d5af2c5

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

simple_rpc/client/grpc_client_auto.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ def __init__(
5757
self.proto_pb2, self.proto_pb2_grpc = grpc.protos_and_services(
5858
proto_file_relpath
5959
) # type: ignore
60-
6160

6261
def configure_command(
6362
self,

simple_rpc/server/grpc_server_auto.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ async def run_async(self):
7272
) # type: ignore
7373

7474
server = self._create_server_template()
75+
print(f"Starting server on {self.adress}...")
7576
await server.start() # type: ignore
7677
await server.wait_for_termination() # type: ignore
7778

0 commit comments

Comments
 (0)