def name_to_xos_model(self, user, name):
        (nt, cls, model_class) = self.name_to_xos_class(user, name)
        obj = cls(user, nt, self)
        existing_objs = obj.get_existing_objs()
        if not existing_objs:
            raise Exception((cls.__name__, name) % "failed to find xos %s %s")
        return existing_objs[0]
dataset/ETHPy150Open open-cloud/xos/xos/tosca/engine.py/XOSTosca.name_to_xos_model/swapped operands of `%`