Python CLI Package: test script writing out channel stats

This commit is contained in:
Maria Matejka
2023-05-23 13:45:04 +02:00
parent 3eae4a4eb6
commit 1fa3226b0b
+5
View File
@@ -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())