Spaces:
Runtime error
Runtime error
Download tests/debug_uri_2.py from Darshankumarr03/Swift-Query: direct link, hf CLI and curl.
- Browser
- Download file 171 Bytes
-
https://huggingface.co/spaces/Darshankumarr03/Swift-Query/resolve/main/tests/debug_uri_2.py
- Command line
-
hf download hf://spaces/Darshankumarr03/Swift-Query/tests/debug_uri_2.py
-
curl -L -o debug_uri_2.py https://huggingface.co/spaces/Darshankumarr03/Swift-Query/resolve/main/tests/debug_uri_2.py
171 Bytes
| import os | |
| from dotenv import load_dotenv | |
| load_dotenv() | |
| uri = os.getenv("MONGO_URI") | |
| if uri: | |
| print(f"DEBUG_URI: {repr(uri)}") | |
| else: | |
| print("MONGO_URI not found") | |