Skip to content

Commit

Permalink
add print
Browse files Browse the repository at this point in the history
  • Loading branch information
djeck1432 committed Nov 29, 2024
1 parent b536f8e commit 7748af7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/dashboard_app/data_conector.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def __init__(self):
f"{os.getenv('DB_USER')}:{os.getenv('DB_PASSWORD')}"
f"@{os.getenv('DB_HOST')}:{os.getenv('DB_PORT')}/{os.getenv('DB_NAME')}"
)
print(f"Database connection established: {self.db_url}")
self.engine = sqlalchemy.create_engine(self.db_url)

def fetch_data(self, query: str) -> pd.DataFrame:
Expand Down

0 comments on commit 7748af7

Please sign in to comment.