Spaces:
Sleeping
Sleeping
Download app/services/database/__init__.py from fmbishu/image-search-api: direct link, hf CLI and curl.
- Browser
- Download file 522 Bytes
-
https://huggingface.co/spaces/fmbishu/image-search-api/resolve/main/app/services/database/__init__.py
- Command line
-
hf download hf://spaces/fmbishu/image-search-api/app/services/database/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/fmbishu/image-search-api/resolve/main/app/services/database/__init__.py
522 Bytes
| """ | |
| Unified database services for SDK and API. | |
| """ | |
| from .adapters import ( | |
| DatabaseAdapter, | |
| DatabaseConfig, | |
| DatabaseError, | |
| SQLiteAdapter, | |
| PostgreSQLAdapter, | |
| MySQLAdapter, | |
| create_database_adapter | |
| ) | |
| from .product_monitor import ProductMonitor, WebhookProductMonitor | |
| __all__ = [ | |
| 'DatabaseAdapter', | |
| 'DatabaseConfig', | |
| 'DatabaseError', | |
| 'SQLiteAdapter', | |
| 'PostgreSQLAdapter', | |
| 'MySQLAdapter', | |
| 'create_database_adapter', | |
| 'ProductMonitor', | |
| 'WebhookProductMonitor' | |
| ] | |