RPI2026F1 added a comment.
In T330716#8669002 <https://phabricator.wikimedia.org/T330716#8669002>, @Xqt wrote: > I've no glue how this can be done. `DataSite` is a subclass from `BaseSite` but how can an overload be done for all site objects which are no `DataSite` objects? If the site parameter is `None` the Site type is determined during runtime and can be either `DataSite`, `APISite`, `DrySite`, `DryDataSite` or any other defined e.g. by `Family.interface()` method. In this case, I think we should keep the current behavior if the `site` parameter is not given. Only when it's provided should we have more specific overloads. TASK DETAIL https://phabricator.wikimedia.org/T330716 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: Xqt, Aklapper, pywikibot-bugs-list, RPI2026F1, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Framawiki, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Ricordisamoa, Masti, Alchimista
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
