stream-chat 4.20.0__tar.gz → 4.22.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {stream-chat-4.20.0/stream_chat.egg-info → stream-chat-4.22.0}/PKG-INFO +2 -2
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat/__pkg__.py +1 -1
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat/async_chat/client.py +3 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat/base/client.py +9 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat/client.py +3 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0/stream_chat.egg-info}/PKG-INFO +2 -2
- {stream-chat-4.20.0 → stream-chat-4.22.0}/LICENSE +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/MANIFEST.in +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/README.md +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/pyproject.toml +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/setup.cfg +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/setup.py +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat/__init__.py +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat/async_chat/__init__.py +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat/async_chat/campaign.py +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat/async_chat/channel.py +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat/async_chat/segment.py +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat/base/__init__.py +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat/base/campaign.py +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat/base/channel.py +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat/base/exceptions.py +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat/base/segment.py +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat/campaign.py +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat/channel.py +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat/py.typed +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat/segment.py +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat/types/__init__.py +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat/types/base.py +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat/types/campaign.py +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat/types/rate_limit.py +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat/types/segment.py +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat/types/stream_response.py +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat.egg-info/SOURCES.txt +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat.egg-info/dependency_links.txt +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat.egg-info/not-zip-safe +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat.egg-info/requires.txt +0 -0
- {stream-chat-4.20.0 → stream-chat-4.22.0}/stream_chat.egg-info/top_level.txt +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: stream-chat
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.22.0
|
|
4
4
|
Summary: Client for Stream Chat.
|
|
5
5
|
Home-page: https://github.com/GetStream/stream-chat-python
|
|
6
6
|
Author: Tommaso Barbugli
|
|
7
7
|
Author-email: support@getstream.io
|
|
8
8
|
Project-URL: Bug Tracker, https://github.com/GetStream/stream-chat-python/issues
|
|
9
9
|
Project-URL: Documentation, https://getstream.io/activity-feeds/docs/python/?language=python
|
|
10
|
-
Project-URL: Release Notes, https://github.com/GetStream/stream-chat-python/releases/tag/v4.
|
|
10
|
+
Project-URL: Release Notes, https://github.com/GetStream/stream-chat-python/releases/tag/v4.22.0
|
|
11
11
|
Classifier: Intended Audience :: Developers
|
|
12
12
|
Classifier: Intended Audience :: System Administrators
|
|
13
13
|
Classifier: Operating System :: OS Independent
|
|
@@ -776,6 +776,9 @@ class StreamChatAsync(StreamChatInterface, AsyncContextManager):
|
|
|
776
776
|
async def get_export_channel_status(self, task_id: str) -> StreamResponse:
|
|
777
777
|
return await self.get(f"export_channels/{task_id}")
|
|
778
778
|
|
|
779
|
+
async def export_users(self, user_ids: Iterable[str]) -> StreamResponse:
|
|
780
|
+
return await self.post("export/users", data={"user_ids": user_ids})
|
|
781
|
+
|
|
779
782
|
async def get_task(self, task_id: str) -> StreamResponse:
|
|
780
783
|
return await self.get(f"tasks/{task_id}")
|
|
781
784
|
|
|
@@ -1213,6 +1213,15 @@ class StreamChatInterface(abc.ABC):
|
|
|
1213
1213
|
"""
|
|
1214
1214
|
pass
|
|
1215
1215
|
|
|
1216
|
+
@abc.abstractmethod
|
|
1217
|
+
def export_users(
|
|
1218
|
+
self, user_ids: Iterable[str]
|
|
1219
|
+
) -> Union[StreamResponse, Awaitable[StreamResponse]]:
|
|
1220
|
+
"""
|
|
1221
|
+
Requests a users export
|
|
1222
|
+
"""
|
|
1223
|
+
pass
|
|
1224
|
+
|
|
1216
1225
|
@abc.abstractmethod
|
|
1217
1226
|
def get_task(
|
|
1218
1227
|
self, task_id: str
|
|
@@ -740,6 +740,9 @@ class StreamChat(StreamChatInterface):
|
|
|
740
740
|
def get_export_channel_status(self, task_id: str) -> StreamResponse:
|
|
741
741
|
return self.get(f"export_channels/{task_id}")
|
|
742
742
|
|
|
743
|
+
def export_users(self, user_ids: Iterable[str]) -> StreamResponse:
|
|
744
|
+
return self.post("export/users", data={"user_ids": user_ids})
|
|
745
|
+
|
|
743
746
|
def get_task(self, task_id: str) -> StreamResponse:
|
|
744
747
|
return self.get(f"tasks/{task_id}")
|
|
745
748
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: stream-chat
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.22.0
|
|
4
4
|
Summary: Client for Stream Chat.
|
|
5
5
|
Home-page: https://github.com/GetStream/stream-chat-python
|
|
6
6
|
Author: Tommaso Barbugli
|
|
7
7
|
Author-email: support@getstream.io
|
|
8
8
|
Project-URL: Bug Tracker, https://github.com/GetStream/stream-chat-python/issues
|
|
9
9
|
Project-URL: Documentation, https://getstream.io/activity-feeds/docs/python/?language=python
|
|
10
|
-
Project-URL: Release Notes, https://github.com/GetStream/stream-chat-python/releases/tag/v4.
|
|
10
|
+
Project-URL: Release Notes, https://github.com/GetStream/stream-chat-python/releases/tag/v4.22.0
|
|
11
11
|
Classifier: Intended Audience :: Developers
|
|
12
12
|
Classifier: Intended Audience :: System Administrators
|
|
13
13
|
Classifier: Operating System :: OS Independent
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|