Skip to content

Commit 47b5b98

Browse files
committed
fix circular import error
1 parent 2da642d commit 47b5b98

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/xulbux/base/types.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
from ..color import rgba, hsla, hexa
2-
3-
from typing import Annotated, TypeAlias, TypedDict, Optional, Union, Any
1+
from typing import TYPE_CHECKING, Annotated, TypeAlias, TypedDict, Optional, Union, Any
42
import regex as _rx
53
import re as _re
64

5+
if TYPE_CHECKING:
6+
from ..color import rgba, hsla, hexa
7+
78
#
89
################################################## COLOR ##################################################
910

0 commit comments

Comments
 (0)