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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions