Description
Currently, accessing client.raw_access_token appears to perform a blocking network call to fetch the OAuth token. This blocks the event loop when used inside async applications.
Proposed solution:
- Provide an async variant, e.g. await
client.raw_access_token, or
- Lazily initialize and refresh the token via an async mechanism under the hood when using
AsyncPipedream.
This would make the SDK safer to use in async frameworks (e.g. FastAPI, Django ASGI) without blocking.