use Model from flask-spirits