As first encountered on T138215, Board.topics does not respect the limit argument.
from pywikibot.flow import Board site = pywikibot.Site('test', 'test') board = Board(site, 'Talk:Sandbox') topics_list = board.topics(limit=2) for topic in topics_list: print(topic)
returns an unlimited list, except that it fails midway with T105859: Some Flow topics are not being created properly in core page and revision tables:
[[test:Topic:T63mvwp0c7chy9c3]] [[test:Topic:T5y39gw54bnw2ice]] [[test:Topic:T40a7hu3rdj1w3kv]] [[test:Topic:T2d0esp9nk0tvt2z]] [[test:Topic:T2d0bc2kfgj5z7d2]] ...