You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore(redis): update MANDATORY USAGE PATTERN docstring to reference get_async_redis_client #4058
PR #4051 added get_async_redis_client() specifically because this pattern is error-prone (sync function returning an unawaited coroutine). The PR's own docstring labels the old pattern "error-prone", but the module-level MANDATORY USAGE PATTERN block was not updated — leaving the documented canonical pattern pointing to the approach the PR explicitly deprecated.
Additionally, the RedisDatabaseManager docstring's "NEW" migration example still shows get_redis_client(async_client=True) as the migration target.
Fix
Update the MANDATORY USAGE PATTERN block to show get_async_redis_client() as the async usage pattern. Update the RedisDatabaseManager "NEW" example similarly.
Activity
chore(redis): update MANDATORY USAGE PATTERN docstring (#4058)
chore(redis): update MANDATORY USAGE PATTERN docstring (#4058) (#4068)