79309444

Date: 2024-12-26 12:16:23
Score: 1.5
Natty:
Report link

Use psycopg2 instead of pgsql

conn = psycopg2.connect(
    host=host,
    dbname=dbname,
    user=user,
    password=password
)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dhinesh kumar P