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

Invalid type hinting in initial_channels #460

Open
junah201 opened this issue Jul 2, 2024 · 1 comment · May be fixed by #461
Open

Invalid type hinting in initial_channels #460

junah201 opened this issue Jul 2, 2024 · 1 comment · May be fixed by #461

Comments

@junah201
Copy link

junah201 commented Jul 2, 2024

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].

Copy link

github-actions bot commented Jul 2, 2024

Hello! Thanks for the issue. If this is a general help question, for a faster response consider joining the official Discord Server

Else if you have an issue with the library please wait for someone to help you here.

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

Successfully merging a pull request may close this issue.

1 participant