From 1fa3226b0b5c5ba1295e47424e68da84ff9282aa Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Sat, 20 May 2023 15:25:35 +0200 Subject: [PATCH] Python CLI Package: test script writing out channel stats --- python/test.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python/test.py b/python/test.py index ede00810..67252d5f 100644 --- a/python/test.py +++ b/python/test.py @@ -12,4 +12,9 @@ async def main(): await b.protocols.update() print(b.protocols) + for name, protocol in b.protocols.data.items(): + print(f"{name}: {protocol.channels}") + for name, channel in protocol.channels.items(): + print(f" {name}: {channel.route_change_stats}") + asyncio.run(main())