kenken999's picture
fda
008c795
raw
history blame
260 Bytes
import psycopg2
def connect_to_db():
conn = psycopg2.connect(
dbname="neondb",
user="miyataken999",
password="yz1wPf4KrWTm",
host=os.getenv("postgre_host"),
port=5432,
sslmode="require"
)
return conn