peewee-async
peewee-async copied to clipboard
RetryOperationalError
Is there any way to replicate RetryOperationalError of peewee in peewee_async?
I have tried inheriting from RetryOperationalError and overriding execute (closing and retrying on error), but that does not quite work, specially for transactions. For reference, what peewee does is override execute_sql and retries on error.
Thank you in advanced.
+1. This is extremely useful when using peewee-async serverless applications.