Suggest using aio.channel when throwing error in async contexts.
Open
- Dominant language
- Python
- Stars
- 20
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
See https://github.com/google/avatar/blob/main/avatar/pandora_client.py#L136 for context.
We should change the error message to something like `Trying to use the synchronous gRPC channel from asynchronous code. Use "aio.channel" instead of "channel" to get a "grpc.aio.Channel"`
Contributor guide
Assessment
This issue has not been assessed yet.