Got answer in stackoverflow <https://stackoverflow.com/a/57976566/3187356>, adding an empty __init__() in Date solves the problem.
-- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/45d4b69c-fa96-45fe-87e1-7553fb090c94%40googlegroups.com.
