Skip to content

Commit 60e48d5

Browse files
committed
fix top-level import for StreamChat
1 parent 7b59087 commit 60e48d5

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

stream_chat/__init__.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,5 @@
66
__email__ = "[email protected]"
77
__status__ = "Production"
88

9-
from stream_chat import StreamChat
9+
from .client import StreamChat
1010

11-
chat = StreamChat(api_key="STREAM_KEY", api_secret="STREAM_SECRET")
12-
13-
# add a user
14-
chat.update_user({"id": "chuck", "name": "Chuck"})
15-
16-
channel = chat.channel("team", "kung-fu")
17-
channel.create("chuck")
18-
19-
channel.send_message({"text": "AMA about kung-fu"})

0 commit comments

Comments
 (0)