google / google/avatar

Suggest using aio.channel when throwing error in async contexts.

Open
#71 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.