Flask-Excel
Flask-Excel copied to clipboard
SQLAlchemy's Enum-Type unsupported
Flask-Excel doesn't support sqlalchemy's Enum type.
Example:
import enum
class Animal(enum.Enum):
dog = "Dog"
cat = "Cat"
rabbit = "Rabbit"
class Child(db.Model):
name = db.Column(db.String(100))
age = db.Column(db.Integer)
animal = db.Column(db.Enum(Animal))