def _load_mixed_class(category):
 component_class = XBlock.load_class(category, select=settings.XBLOCK_SELECT_FUNCTION)
 mixologist = Mixologist(settings.XBLOCK_MIXINS)
 return mixologist.mix(component_class)

def _load_mixed_class ( category ) : component_class = XBlock . load_class ( category , select = settings . XBLOCK_SELECT_FUNCTION ) mixologist = Mixologist ( settings . XBLOCK_MIXINS ) return mixologist . mix ( component_class )
load an xblock by category name .