nylas / nylas/nylas-python

Create an async version of the client

Aperta
#412 1 commento 5 reazioni 1 assegnatario Vedi su GitHub

@AaronDDM ci sta già lavorando.

Dal 11/6/2025.

enhancement
Lingua principale
Python
Stelle
109
Fork
85
Merge medio
1g 21h
PR unite (30g)
1

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.