def ra_classes_or_tmpl(args): if args[-1].startswith('@'): return cib_factory.rsc_template_list() return ui_ra.complete_class_provider_type(args)
def top_rsc_tmpl_id_list(args): return cib_factory.top_rsc_id_list() + cib_factory.rsc_template_list()