upstash / redis-py

HTTP based Python Redis Client for Serverless and Edge Functions
https://docs.upstash.com/redis
MIT License
29 stars 3 forks source link

Change arg naming to RESP names #11

Closed chronark closed 1 year ago

chronark commented 1 year ago

As discussed in #5

seconds -> ex
milliseconds -> px
unix_time_seconds -> exat
unix_time_milliseconds -> pxat
TudorZgimbau commented 1 year ago

We might want to evaluate this even further. I'd suggest searching for replacement_for in the docstrings to find more exceptions from RESP and decide if they're worth. Maybe we can even look at all the parameters docstrings, I've documented only the parameters which either had something different from RESP or could benefit from some additional explanations (like the default value for COUNT on the server-side, where applicable).