There is RulesRegistry.page_cls_for_item that gives you the page object class to use given an output item class.
It would be nice to have a method that, in addition to supporting an input item class, can also support an input page object class, i.e. return the page object class itself, or an override if one exists in the rules registry.
There is
RulesRegistry.page_cls_for_item
that gives you the page object class to use given an output item class.It would be nice to have a method that, in addition to supporting an input item class, can also support an input page object class, i.e. return the page object class itself, or an override if one exists in the rules registry.