nylas / nylas/nylas-python

Create an async version of the client

Đang mở
#412 1 bình luận 5 reaction 1 người được giao Xem trên GitHub

@AaronDDM đang làm issue này rồi.

Từ ngày 11/6/2025.

enhancement
Ngôn ngữ chính
Python
Star
109
Fork
85
Merge trung bình
1 ngày 21 giờ
Pull request đã merge (30 ngày)
1

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.