Skip to content
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

StrictRedis.from_url returns function signature returns None but it should be StrictRedis #3082

Closed
Nicu-Ducal opened this issue Dec 20, 2023 · 1 comment

Comments

@Nicu-Ducal
Copy link

Version: 5.0.1
Description: Hello, I have a question: is there any particular reason why the function signature for from_url method in StrictRedis class returns a None value, when in practice it returns a StrictRedis object? Because of this, suggestions are not shown by the linter.

(method) def from_url(
    url: str,
    **kwargs: Any
) -> None
@dvora-h
Copy link
Collaborator

dvora-h commented Jan 1, 2024

@Nicu-Ducal Thanks for reporting.

Already fixed here #2963

@dvora-h dvora-h closed this as completed Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants