refactor: move config.yaml to project root
This commit is contained in:
1 parent
ddf749f968
commit
47f4d97889
2 files changed
+1
-1
No files matched your search
File renamed without changes.
@@ -21,7 +21,7 @@ ROOT = Path(__file__).parent.parent.parent
|
||||
|
||||
@timer
|
||||
def main() -> None:
|
||||
config = yaml.safe_load((Path(__file__).parent / "config.yaml").read_text())
|
||||
config = yaml.safe_load((ROOT / "config.yaml").read_text())
|
||||
config["storage"]["params"]["connection_string"] = os.environ["DB_CONNECTION_STRING"] # Credentials direkt aus .env
|
||||
|
||||
timeout = config["overpass"]["timeout"]
|
||||
|
||||
Reference in new issue
Block a user