Skip to content

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

@DeltaEvo

Description

@DeltaEvo

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions