Skip to content

Commit

Permalink
Fixing cannot connect to database on server (#282)
Browse files Browse the repository at this point in the history
add python load_env
  • Loading branch information
rezarzky authored May 22, 2024
1 parent b4329fb commit f1154ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions civiclens/utils/database_access.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@

import polars as pl
import psycopg2
from dotenv import load_dotenv

from civiclens.nlp.tools import RepComments


load_dotenv()


class Database:
"""
Wrapper for CivicLens postrgres DB.
Expand Down

0 comments on commit f1154ad

Please sign in to comment.