import peewee as pw from .db import database_proxy class FSMData(pw.Model): class Meta: database = database_proxy key = pw.CharField(primary_key=True) state = pw.CharField(null=True) data = pw.CharField(null=True)