Skip to content

Invalid type hinting in initial_channels #460

Open

Description

I was just curious about TwitchIO's internal code implementation and happened to stumble upon an incorrect type hint.

The type of initial_channels in WSConnection is actually Union[list, tuple, Callable], but it is List[str].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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