def get_resource_id(self, conf):
    return (f"{conf['parent']} - {conf['name']}" if conf.get('name') else conf['parent'])
def get_resource_id(self, conf):
    return (f"{conf['parent']} - {conf['name']}" if conf.get('name') else conf['parent'])