Skip to content

Commit dfed5de

Browse files
committed
fix: updated imports
1 parent 1882971 commit dfed5de

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

stream_chat/async_chat/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
if TYPE_CHECKING:
2121
from stream_chat.async_chat.channel_batch_updater import ChannelBatchUpdater
22-
from stream_chat.types.channel_batch import ChannelsBatchOptions
2322
from urllib.parse import urlparse
2423

2524
from stream_chat.async_chat.campaign import Campaign
@@ -34,6 +33,7 @@
3433
SegmentType,
3534
SegmentUpdatableFields,
3635
)
36+
from stream_chat.types.channel_batch import ChannelsBatchOptions
3737
from stream_chat.types.shared_locations import SharedLocationsOptions
3838

3939
if sys.version_info >= (3, 8):
@@ -1047,7 +1047,7 @@ async def update_channels_batch(
10471047

10481048
return await self.put("channels/batch", data=options)
10491049

1050-
def channel_batch_updater(self) -> ChannelBatchUpdater:
1050+
def channel_batch_updater(self) -> "ChannelBatchUpdater":
10511051
"""
10521052
Returns a ChannelBatchUpdater instance for batch channel operations.
10531053

stream_chat/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
if TYPE_CHECKING:
2020
from stream_chat.channel_batch_updater import ChannelBatchUpdater
21-
from stream_chat.types.channel_batch import ChannelsBatchOptions
2221

2322
from stream_chat.campaign import Campaign
2423
from stream_chat.segment import Segment
@@ -32,6 +31,7 @@
3231
SegmentType,
3332
SegmentUpdatableFields,
3433
)
34+
from stream_chat.types.channel_batch import ChannelsBatchOptions
3535
from stream_chat.types.shared_locations import SharedLocationsOptions
3636

3737
if sys.version_info >= (3, 8):
@@ -1012,7 +1012,7 @@ def update_channels_batch(self, options: ChannelsBatchOptions) -> StreamResponse
10121012

10131013
return self.put("channels/batch", data=options)
10141014

1015-
def channel_batch_updater(self) -> ChannelBatchUpdater:
1015+
def channel_batch_updater(self) -> "ChannelBatchUpdater":
10161016
"""
10171017
Returns a ChannelBatchUpdater instance for batch channel operations.
10181018

0 commit comments

Comments
 (0)