Print topic publication counts
This commit is contained in:
parent
9848c39b61
commit
68e9e6a9a5
1 changed files with 17 additions and 1 deletions
|
@ -218,6 +218,22 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"for topic in topics:\n",
|
||||
" topic: TrTopic\n",
|
||||
" print(f\"{topic.name:.<120s} | {sum(map(lambda p: len(p.instances), topic.publishers))}\")"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"pycharm": {
|
||||
"name": "#%%\n"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"source": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue