Merge remote-tracking branch 'origin/api-v1.8.2_for_upstream' into api-v1.8.2

This commit is contained in:
Taha Yassine Kraiem 2022-10-21 16:54:17 +02:00
commit d49ba14d82

View file

@ -117,6 +117,7 @@ class PostgresClient:
def __enter__(self):
if self.cursor is None:
self.cursor = self.connection.cursor(cursor_factory=psycopg2.extras.RealDictCursor)
self.cursor.recreate = self.recreate_cursor
return self.cursor
def __exit__(self, *args):