jayvdb added a comment. Ideally new Topic and Post objects can be instantiated as 'not saved' , and then saved using a `.save()` override where appropriate.
i.e. something like: board = Board(site, board_uuid) topic = Topic(site) topic.board = board topic_root = Post(topic, uuid=None) topic_root.title = 'subject' topic_root.text = 'body' topic.root = topic_root # note at this stage no write should have occurred topic.save() (https://phabricator.wikimedia.org/T105439 would be similar) This is hard to do right, and needs __lots__ of unit tests to prevent regressions. As such it is not necessary for the initial Flow support, much like it wasn't included in the initial Wikibase support. TASK DETAIL https://phabricator.wikimedia.org/T105129 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: happy5214, jayvdb Cc: Spage, Liuxinyu970226, Aklapper, happy5214, Legoktm, gerritbot, rmoen, EBernhardson, NiharikaKohli, Capt_Swing, jayvdb, Mattflaschen, Xqt, Ricordisamoa, Multichill, Ladsgroup, pywikibot-bugs-list, Malyacko _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
