Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
josephmancuso committed Oct 27, 2024
1 parent 3010894 commit db112ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/masoniteorm/connections/PostgresConnection.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ def make_connection(self):
if not CONNECTION_POOL:
CONNECTION_POOL.append(
pool.SimpleConnectionPool(
1, 20, # minconn, maxconn
1,
20, # minconn, maxconn
database=self.database,
user=self.user,
password=self.password,
Expand Down Expand Up @@ -131,7 +132,6 @@ def get_transaction_level(self):
def set_cursor(self):
from psycopg2.extras import RealDictCursor


self._cursor = self._connection.cursor(cursor_factory=RealDictCursor)
return self._cursor

Expand Down

0 comments on commit db112ca

Please sign in to comment.