We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version: 4.4.0
Platform: Ubuntu 18.04 / Python 3.9.13
Description: I'm using list commands with redis-py. Among them, I often using rpop, lpop.
I expected that commands return typing is awaitable object typing, but there is static typing. Because of this, myide displays warning.
that can be modified?
Now
def rpop(self, name: str, count: Optional[int] = None) -> Union[str, List, None]: ... def lpop(self, name: str, count: Optional[int] = None) -> Union[str, List, None]: ...
I want
def rpop(self, name: str, count: Optional[int] = None) -> Union[Awaitable[str, List, None], str, List, None]: ... def lpop(self, name: str, count: Optional[int] = None) -> Union[Awaitable[str, List, None], str, List, None]: ...
The text was updated successfully, but these errors were encountered:
@r4you96 Would you be interested in contributing a pull request?
Sorry, something went wrong.
It seems to have fixed from #2590
This issue is marked stale. It will be closed in 30 days if it is not updated.
No branches or pull requests
Version: 4.4.0
Platform: Ubuntu 18.04 / Python 3.9.13
Description:
I'm using list commands with redis-py.
Among them, I often using rpop, lpop.
I expected that commands return typing is awaitable object typing,
but there is static typing.
Because of this, myide displays warning.
that can be modified?
Now
I want
The text was updated successfully, but these errors were encountered: