Skip to content

Commit 7c9e171

Browse files
committed
Fix circular import
1 parent bf5c448 commit 7c9e171

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

twitchio/types_/options.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,17 @@
2222
SOFTWARE.
2323
"""
2424

25+
from __future__ import annotations
26+
2527
from collections.abc import Callable, Coroutine
26-
from typing import Any, NotRequired, TypedDict
28+
from typing import TYPE_CHECKING, Any, NotRequired, TypedDict
29+
2730

28-
import aiohttp
31+
if TYPE_CHECKING:
32+
import aiohttp
2933

30-
from ..authentication import Scopes
31-
from ..web.utils import BaseAdapter
34+
from ..authentication import Scopes
35+
from ..web.utils import BaseAdapter
3236

3337

3438
__all__ = ("ClientOptions", "WaitPredicateT")

0 commit comments

Comments
 (0)