Change peewee import for fn