Download src/database/__init__.py from webhook/codex: direct link, hf CLI and curl.
- Browser
- Download file 473 Bytes
-
https://huggingface.co/spaces/webhook/codex/resolve/89419ea3ca1506e5a48151dc7a86751f947a3bad/src/database/__init__.py
- Command line
-
hf download hf://spaces/webhook/codex@89419ea3ca1506e5a48151dc7a86751f947a3bad/src/database/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/webhook/codex/resolve/89419ea3ca1506e5a48151dc7a86751f947a3bad/src/database/__init__.py
473 Bytes
| """ | |
| 数据库模块 | |
| """ | |
| from .models import Base, Account, EmailService, RegistrationTask, Setting | |
| from .session import get_db, init_database, get_session_manager, DatabaseSessionManager | |
| from . import crud | |
| from . import external_batch_crud | |
| __all__ = [ | |
| 'Base', | |
| 'Account', | |
| 'EmailService', | |
| 'RegistrationTask', | |
| 'Setting', | |
| 'get_db', | |
| 'init_database', | |
| 'get_session_manager', | |
| 'DatabaseSessionManager', | |
| 'crud', | |
| 'external_batch_crud', | |
| ] | |