def get_widgets(self, type_):
    registry = self.request.app.config.screen_widget_registry
    return registry.by_categories(ScreenType(type_).categories)
def get_widgets(self, type_):
    registry = self.request.app.config.screen_widget_registry
    return registry.by_categories(ScreenType(type_).categories)