Mysql – Peewe upgrade causing weired autocommit behaviour
We currently use peewe 2.x and this is the code we use custom mysql connection: from peewee import MySQLDatabase class SQLDb(MySQLDatabase): def connect(self, *args, **kwargs): attempts = 5 while attempts > 0: # Logic to retry db connection def begin(self):…