Skip to content

Commit

Permalink
Fix invalid type hinting of initial_channels in WS Connection (Python…
Browse files Browse the repository at this point in the history
  • Loading branch information
junah201 committed Jul 2, 2024
1 parent 8e91cec commit 0f36b0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions twitchio/websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import time
import traceback
from functools import partial
from typing import Union, Optional, List, TYPE_CHECKING
from typing import Union, Callable, Optional, List, TYPE_CHECKING

import aiohttp

Expand All @@ -57,7 +57,7 @@ def __init__(
client: "Client",
token: str = None,
modes: tuple = None,
initial_channels: List[str] = None,
initial_channels: Union[list, tuple, Callable] = None,
retain_cache: Optional[bool] = True,
):
self._loop = loop
Expand Down

0 comments on commit 0f36b0b

Please sign in to comment.