This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# These models match the tables generated by Celery if you use Postgres results backend | |
# If you are using a tool such as alembic then using these models will get your 'python' code models | |
# to align with those that are in your DB(created by Celery). | |
# These where generated using the amazing sqlacodegen tool | |
# https://pypi.org/project/sqlacodegen/ | |
from sqlalchemy import Column, Integer, String, \ | |
LargeBinary, DateTime, Text |