AnonymousSpottedToad/securityPatternsRecovery / codebase /repos /python /Nostalgia-Season-Train_DesksetBack /test /router /current.py
| from fastapi import APIRouter, Depends | |
| from deskset.router.unify import check_token, DesksetRepJSON | |
| from deskset.feature.current import current | |
| router_datetime = APIRouter( | |
| prefix='/v0/datetime', tags=['日期时间'], | |
| dependencies=[Depends(check_token)], | |
| default_response_class=DesksetRepJSON | |
| ) | |
| async def get_date(): | |
| return current.date_format() | |
| async def get_week(): | |
| return current.date_format() | |
| async def get_time(): | |
| return current.time_format() | |
| async def get_time12(): | |
| return current.time_hour12_format() | |
Xet Storage Details
- Size:
- 666 Bytes
- Xet hash:
- df7b83b98f1614941e25a7e7e61aeeae79fdcf2c2c0243947583b29361224c8f
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.