Skip to content

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

Closed
@Nicu-Ducal

Description

@Nicu-Ducal

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions