Skip to content

Wrong type annotation on the method return type for from_url #3143

Closed
@Leggendario12

Description

@Leggendario12

There is an error in the type annotation in the Redis client.py file of the Redis class. The from_url method has a type annotation of None for its return, but it is clearly returning an instance of the Redis client.

Version: "^5.2.0"

Platform: Ubuntu 22.04

Description: Linter warning error of return 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