Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /roksprogar_fastapi-otp-auth /src /fastapi_otp_auth /cache.py
| import redis.asyncio as redis | |
| from fastapi_otp_auth.config import settings | |
| async def get_redis_client() -> redis.Redis: | |
| return await redis.from_url(settings.redis_url, decode_responses=True) | |
Xet Storage Details
- Size:
- 198 Bytes
- Xet hash:
- a36105e887d13912dff07d2f98198bb481d9a55763914dabf24790ac5ec3aab2
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.