nylas / nylas/nylas-python

Create an async version of the client

未关闭
#412 1 条评论 5 个 reaction 已指派 1 人 在 GitHub 查看

@AaronDDM 已经在做这个了。

开始于 2025年6月11日。

enhancement
主要语言
Python
星标
109
派生
85
平均合并
1 天 21 小时
30 天内合并 PR
1

描述

Description

We need to add asynchronous support to the Nylas client to improve performance in high-concurrency applications. The current synchronous implementation blocks the event loop during HTTP requests, which limits scalability in async applications.

Benefits

  • Improved performance for concurrent operations
  • Compatibility with async web frameworks (FastAPI, Starlette, etc.)
  • Better resource utilization when processing multiple emails
  • Reduced latency for user-facing applications that process email data

Implementation Suggestion

Extend the current HttpClient with an async version that uses aiohttp while maintaining the same interface.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。