Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add aio support #217

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

add aio support #217

wants to merge 2 commits into from

Commits on Mar 30, 2021

  1. ✨ support aio

    1. add grpc.aio.Server to generated `Servicer_to_server` stub
    
    Signed-off-by: weiwee <[email protected]>
    sagewe committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    e8b81df View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2021

  1. ✨ Introduce new features

    add use_aio flag
    
    use something like following script to generate `aio-featured` grpc stubs
    ```sh
    protoc \
        --python_out=output/location \
        --mypy_out=readable_stubs:output/location \
        --grpc_out=output/location \
        --mypy_grpc_out=aio,readable_stubs:output/location
    ```
    
    Signed-off-by: weiwee <[email protected]>
    sagewe committed Mar 31, 2021
    Configuration menu
    Copy the full SHA
    a99836d View commit details
    Browse the repository at this point in the history