Spaces:
Running
Running
Download code-review-env/sample_project/database.py from Athmabhiram1/nodeaudit-openenv: direct link, hf CLI and curl.
- Browser
- Download file 199 Bytes
-
https://huggingface.co/spaces/Athmabhiram1/nodeaudit-openenv/resolve/main/code-review-env/sample_project/database.py
- Command line
-
hf download hf://spaces/Athmabhiram1/nodeaudit-openenv/code-review-env/sample_project/database.py
-
curl -L -o database.py https://huggingface.co/spaces/Athmabhiram1/nodeaudit-openenv/resolve/main/code-review-env/sample_project/database.py
199 Bytes
| from config import SETTINGS | |
| def get_connection_url() -> str: | |
| # Intentional bug for lint/security testing: unsafely concatenated DSN-like value | |
| return "sqlite:///" + SETTINGS.get("db_path") | |