GetStream / stream-python

Python Client - Build Activity Feeds & Streams with GetStream.io
https://getstream.io
BSD 3-Clause "New" or "Revised" License
141 stars 41 forks source link

Is it possible to use channel.get_replies async? #138

Closed RayBB closed 2 years ago

RayBB commented 2 years ago

Problem explanation

I'd like to use channel.get_replies(parent_id=message_id) but async.

Is this possible?

Based on this file, which seems to have most async code, it doesn't look like it. But wanted to ask here to be sure. https://github.com/GetStream/stream-python/blob/b4515d337be88ff50ba1cbad8645b1fbc8862ce0/stream/client/async_client.py

Use case is pretty much just that we're getting some replies client side for caching purposes and async would be handy so we can easily fire off requests concurrently.

Thanks!

ferhatelmas commented 2 years ago

this is a chat endpoint, you can find here https://github.com/getstream/stream-chat-python

this is a feed sdk.