Skip to content

Commit

Permalink
adding variable for database url
Browse files Browse the repository at this point in the history
  • Loading branch information
joda9 committed Sep 26, 2024
1 parent b6da1d9 commit f6f280c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion edisgo/io/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,9 @@ def engine(path: Path | str = None, ssh: bool = False) -> Engine:
"""

if not ssh:
database_url = "toep.iks.cs.ovgu.de"
return create_engine(
"postgresql+oedialect://:" "@toep.iks.cs.ovgu.de",
"postgresql+oedialect://:@" f"{database_url}",
echo=False,
)

Expand Down

0 comments on commit f6f280c

Please sign in to comment.