时间:2021-07-01 10:21:17 帮助过:3人阅读
from stackoverflow
Try passing poolclass=NullPool to create_engine
…
from sqlalchemy.pool import NullPool
…
engine = create_engine(options.db_path, convert_unicode=True, echo=options.debug, poolclass=NullPool)
Sqlalchemy Can‘t reconnect until invalid "
标签: