happy5214 added a comment.
Version 3 is up.
F166294: Pywikibot-Flow class diagram.v3.png https://phabricator.wikimedia.org/F166294
I ditched the old FlowRevision superclass in favor of another class of the same name, representing individual Flow revisions.
Each attribute with plural name represents a generator method returning the implied objects.
Topic.title is a property returning the contents of the title post, or Topic.root.get(). .get() on the Header, Post, and TopicSummary objects returns the current contents of the object as a Unicode string. .get() on Board and Topic is not yet defined. Come to think of it, do topics and boards even have their own set of revisions?
I plan on making at most two more revisions before my self-imposed deadline for this task, which is Saturday night/Sunday morning. Comments are needed.
TASK DETAIL https://phabricator.wikimedia.org/T98819
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: happy5214 Cc: pywikipedia-bugs, Ladsgroup, Multichill, Ricordisamoa, Xqt, Mattflaschen, jayvdb, Capt_Swing, NiharikaKohli, EBernhardson, rmoen, gerritbot, Legoktm, happy5214, Aklapper