You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Title: Add Support for Asynchronous API Calls in Example Code
Description:
Hi there! 👋
I’ve been exploring the examples-python repository, and I think it’s a great resource for developers working with Restack. However, I noticed that most of the examples use synchronous API calls. Adding support for asynchronous API calls (using asyncio and aiohttp or httpx) could significantly improve the performance and scalability of the examples, especially for use cases involving multiple API requests or high-concurrency scenarios.
Proposed Solution:
I’d like to contribute by adding asynchronous versions of the existing examples. This would involve:
Refactoring the code to use asyncio and an async HTTP library like aiohttp or httpx.
Adding clear documentation on how to run and use the async examples.
Ensuring backward compatibility so that the existing synchronous examples remain functional.
Benefits:
Improved performance for I/O-bound tasks.
Better alignment with modern Python practices.
Enhanced learning experience for developers exploring async programming.
Let me know if this is something you’d like to see in the repository! I’d be happy to work on this and submit a PR. 😊
The text was updated successfully, but these errors were encountered:
Title: Add Support for Asynchronous API Calls in Example Code
Description:
Hi there! 👋
I’ve been exploring the
examples-python
repository, and I think it’s a great resource for developers working with Restack. However, I noticed that most of the examples use synchronous API calls. Adding support for asynchronous API calls (usingasyncio
andaiohttp
orhttpx
) could significantly improve the performance and scalability of the examples, especially for use cases involving multiple API requests or high-concurrency scenarios.Proposed Solution:
I’d like to contribute by adding asynchronous versions of the existing examples. This would involve:
asyncio
and an async HTTP library likeaiohttp
orhttpx
.Benefits:
Let me know if this is something you’d like to see in the repository! I’d be happy to work on this and submit a PR. 😊
The text was updated successfully, but these errors were encountered: