Spaces:
Running
Running
Andre
deploy: snapshot c96b9ab -- Inventory Journals (Lagerforandringsjournal) na Contabilidade (v1.3.61)
77db408 Download backend/scripts/debug.py from inwave-gateway/hub: direct link, hf CLI and curl.
- Browser
- Download file 215 Bytes
-
https://huggingface.co/spaces/inwave-gateway/hub/resolve/main/backend/scripts/debug.py
- Command line
-
hf download hf://spaces/inwave-gateway/hub/backend/scripts/debug.py
-
curl -L -o debug.py https://huggingface.co/spaces/inwave-gateway/hub/resolve/main/backend/scripts/debug.py
215 Bytes
| import database, models, crud | |
| try: | |
| db = next(database.get_db()) | |
| items = crud.get_items(db, skip=0, limit=100) | |
| print("Items:", items) | |
| except Exception as e: | |
| import traceback | |
| traceback.print_exc() | |