valkey-py icon indicating copy to clipboard operation
valkey-py copied to clipboard

Add deprecation warning to GEORADIUS and GEORADIUSBYMEMBER

Open kjaymiller opened this issue 1 year ago • 0 comments

Thanks for wanting to report an issue you've found in valkey-py. Please delete this text and fill in the template below.
It is of course not always possible to reduce your code to a small test case, but it's highly appreciated to have as much data as possible. Thank you!

Version: "5.1.0b7"

Platform: Python 3.12.3 on MacOS (ARM M2 Pro)

Description: When looking trying to figure out the test fix in #39 for GeoCommands.getradiusbymember, the docstring leads you to https://valkey.io/commands/georadiusbymember/ which points out that the command is DEPRECATED

should there be a deprecation warning on georadius and georadiusbymember?

kjaymiller avatar Jul 18 '24 21:07 kjaymiller