Buckets:

download
raw
333 Bytes
"""Redis client for cache and session storage."""
from typing import Any
from ..core.config import get_settings
def get_redis_client() -> Any:
"""Return an async Redis client from application settings."""
import redis.asyncio as redis
settings = get_settings()
return redis.from_url(settings.database.redis_url)

Xet Storage Details

Size:
333 Bytes
·
Xet hash:
1f475ccee5a715ba10e1f6ed82810dfafc77104292350e68a5c4108f2f11974f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.