Skip to content

Commit 136da0f

Browse files
committed
Fixed ExceptionGroup import
1 parent 3aece11 commit 136da0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis/anyio/cluster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
)
2323

2424
import anyio
25-
from exceptiongroup import ExceptionGroup
2625

2726
from redis._parsers import AsyncCommandsParser, Encoder
2827
from redis._parsers.helpers import (
@@ -84,6 +83,7 @@
8483
if sys.version_info >= (3, 11):
8584
from typing import Self
8685
else:
86+
from exceptiongroup import ExceptionGroup
8787
from typing_extensions import Self
8888

8989
if SSL_AVAILABLE:

0 commit comments

Comments
 (0)