MCPcopy Index your code
hub / github.com/hunvreus/devpush / get_redis_client

Function get_redis_client

app/dependencies.py:108–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106
107@lru_cache
108def get_redis_client() -> Redis:
109 settings = get_settings()
110 return Redis.from_url(settings.redis_url, decode_responses=True)
111
112
113def get_queue(request: Request) -> ArqRedis:

Callers 3

start_deploymentFunction · 0.90
finalize_deploymentFunction · 0.90
fail_deploymentFunction · 0.90

Calls 1

get_settingsFunction · 0.90

Tested by

no test coverage detected