-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide support for redis:// and rediss:// #23
Comments
also happy to contribute a PR that adds redis:// and rediss://. |
Thanks for reporting this issue! You can use But I agree that the transition will be easier if we supported redis:// and rediss:// as aliases of valkey:// and valkeys://, as long as the two protocols remain identical. Of course PRs are always welcome. |
happy to contribute. I think the biggest question to add would be should a warning be issued when |
I think that, at this point, it would be nice if people could swap redis-py with valkey-py without noticing any difference at all. So I wouldn't add a warning. At some point in the future we should definitely add a deprecation warning, but for now I'd like to make the transition as seamless as possible. |
Fixed by #29 |
valkey-py/valkey/asyncio/connection.py
Lines 1025 to 1074 in d116aa6
This states that only
valkey://
,valkeys://
, andunix
but some providers like aiven are still using therediss://
.Is there a reason that we aren't allowing the
redis://
andrediss://
protocols or at least providing a deprecation warning if they are used?This error gave me initial pause on if I could use the
valkey
client to test with new providers of Valkey.The text was updated successfully, but these errors were encountered: