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
I suggest changing the return-type in the documentation to:
Union[Awaitable, bool]
It would also be helpful if the mode of operation were also mentioned in the description. Because the current text only refers to the redis.io PING documentation, which says that the return value is a string with the value “PONG”:
The issue refers to: https://redis-py.readthedocs.io/en/stable/commands.html#redis.commands.core.CoreCommands.ping
The documentation of the ping() method is unclear or confusing. According to the documentation, the return value is:
In practice, however, the callback logic always returns a bool by default. See:
I suggest changing the return-type in the documentation to:
It would also be helpful if the mode of operation were also mentioned in the description. Because the current text only refers to the redis.io PING documentation, which says that the return value is a string with the value “PONG”:
I would suggest something like:
The text was updated successfully, but these errors were encountered: