[Pywikipedia-bugs] [Maniphest] [Commented On] T330716: Add more fine-grained types for WikidataSPARQLPageGenerator

2023-03-09 Thread RPI2026F1
RPI2026F1 added a comment. In 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

[Pywikipedia-bugs] [Maniphest] [Commented On] T330716: Add more fine-grained types for WikidataSPARQLPageGenerator

2023-03-06 Thread Xqt
Xqt added a comment. I've no glue how this can be done. `DataSite` is a subclass from `BaseSite` but how an 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`,