Skip to content

Incomplete type hints for zmq.Socket.recv_json #2066

Closed
@joshMaybell

Description

@joshMaybell

The recv_json method of the zmq.Serial class has its return type listed as: list | str | int | float | dict. list and dict require generic arguments for this return type to be complete. As is, users of this class cannot fully benefit from static analysis.

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