Download apps/reminders/api/__init__.py from jun2024/fc: direct link, hf CLI and curl.
- Browser
- Download file 296 Bytes
-
https://huggingface.co/spaces/jun2024/fc/resolve/main/apps/reminders/api/__init__.py
- Command line
-
hf download hf://spaces/jun2024/fc/apps/reminders/api/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/jun2024/fc/resolve/main/apps/reminders/api/__init__.py
296 Bytes
| from ninja import Router | |
| from apps.core.security.auth import JWTOrSessionAuth | |
| from .reminder_api import router as reminder_router | |
| # 支持 JWT 和 Session 认证 | |
| router = Router(auth=JWTOrSessionAuth()) | |
| router.add_router("", reminder_router, tags=["重要日期提醒"]) | |
| __all__ = ["router"] | |