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

gRPC integration and aio interceptors #2369

Merged
merged 63 commits into from
Nov 8, 2023

Commits on Aug 6, 2023

  1. feat: Add interceptor for async gRPC server

    ali.sorouramini authored and fdellekart committed Aug 6, 2023
    Configuration menu
    Copy the full SHA
    c341091 View commit details
    Browse the repository at this point in the history
  2. feat: Add exception handling to async gRPC interceptor

    ali.sorouramini authored and fdellekart committed Aug 6, 2023
    Configuration menu
    Copy the full SHA
    a554078 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2023

  1. feat: Add gRPC integration with monkeypatch for synchronous client si…

    …de channels
    
    The integration monkeypatches the functions used to create channels on the
    client side so the channel does not have to be explicitly intercepted by users.
    fdellekart committed Aug 26, 2023
    Configuration menu
    Copy the full SHA
    0296157 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dfb8726 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2023

  1. Configuration menu
    Copy the full SHA
    aaf705e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    155e998 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. Configuration menu
    Copy the full SHA
    0b487e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ce73a36 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    96c2c91 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2023

  1. refactor: Avoid unnecessary code duplication in grpc integration

    Also previous logic was limited to interceptors being a list,
    however, it is typed as a general sequence in grpc package.
    fdellekart committed Sep 10, 2023
    Configuration menu
    Copy the full SHA
    4103929 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2023

  1. fix: gRPC async metadata can be tuple although differently typed

    Opened an issue in grpc repo to ask if this is inteded behaviour
    If it should be changed one day the the .add method of the metadata
    object would avoid reconstructing the whole client call details.
    
    Link to issue:
    grpc/grpc#34298
    fdellekart committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    a8ddcf6 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2023

  1. Configuration menu
    Copy the full SHA
    1861aa8 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2023

  1. Configuration menu
    Copy the full SHA
    9f1bc88 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2023

  1. Configuration menu
    Copy the full SHA
    fac3ee3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b43784f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    34bad4c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5a89d9b View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2023

  1. Configuration menu
    Copy the full SHA
    3c493bc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8341a0d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    69704d4 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2023

  1. Configuration menu
    Copy the full SHA
    53bb01c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4cde781 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ccacf0a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c1c0be7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1dff2a7 View commit details
    Browse the repository at this point in the history
  6. Fixed typo

    antonpirker committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    4c71549 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'feat/grpc-aio-integration' of github.com:fdellekart/sen…

    …try-python into pr/fdellekart/2369
    antonpirker committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    c734463 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2023

  1. Configuration menu
    Copy the full SHA
    b0b80fc View commit details
    Browse the repository at this point in the history
  2. Cleaned up tests

    antonpirker committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    d2e1bbe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d4ffa1f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d737830 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    02cfbde View commit details
    Browse the repository at this point in the history
  6. Fixed some linting

    antonpirker committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    4bf2c83 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'feat/grpc-aio-integration' of github.com:fdellekart/sen…

    …try-python into feat/grpc-aio-integration
    fdellekart committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    0fb680e View commit details
    Browse the repository at this point in the history
  8. test(gRPC): Add test for unary stream client interceptor

    The test is failing because the status code method of the response
    was causing execution to get stuck. Not sure if this worked with
    previous versions as the behavior was not tested before.
    fdellekart committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    2437f87 View commit details
    Browse the repository at this point in the history
  9. refactor(gRPC): Remove external APIs from server side interceptor

    The method used does not work with the unary-stream interceptor
    and can be removed with any minor release.
    
    See:
    https://github.com/grpc/grpc/blob/master/src/python/grpcio/grpc/experimental/__init__.py
    fdellekart committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    30ada2f View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2023

  1. Cleaned up tests

    antonpirker committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    8b3e7e6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9aba63e View commit details
    Browse the repository at this point in the history
  3. cleanup

    antonpirker committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    b625b2d View commit details
    Browse the repository at this point in the history
  4. cleanup

    antonpirker committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    9c9f3d8 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2023

  1. Merge branch 'feat/grpc-aio-integration' of github.com:fdellekart/sen…

    …try-python into feat/grpc-aio-integration
    fdellekart committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    7cd1057 View commit details
    Browse the repository at this point in the history
  2. refactor: gRPC code generation script to be run from project root

    I am not sure if the previous version was on purpose only running
    from inside the test directory, however, I think this is more convenient
    because the project root is the usual PWD during development.
    
    Furthermore, I append the test directory to sys.path so we don't need
    to tamper with the gRPC autogenerated code for the imports to work.
    fdellekart committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    2276ee4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    119e415 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c465dcf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    aec6c7c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7b09a67 View commit details
    Browse the repository at this point in the history
  7. feat(gRPC): Ensure backwards compatibility in case gRPC interceptors …

    …are used together with integration
    fdellekart committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    6a19737 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. test(gRPC): Add tests for currently unsupported RPC types

    aio integration broke some request types, this is to verify this
    does not happen any more
    fdellekart committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    545f26b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dac5b60 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. Configuration menu
    Copy the full SHA
    9a97c9a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ff2ff75 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. Configuration menu
    Copy the full SHA
    63b912e View commit details
    Browse the repository at this point in the history
  2. Small typing fix

    antonpirker committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    7cb78df View commit details
    Browse the repository at this point in the history
  3. Small linting fix

    antonpirker committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    b0e6d19 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2023

  1. Configuration menu
    Copy the full SHA
    b678001 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ff9372b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    afacd37 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. Configuration menu
    Copy the full SHA
    7be1306 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. Configuration menu
    Copy the full SHA
    27ab22f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2247336 View commit details
    Browse the repository at this point in the history
  3. Make linter happy

    antonpirker committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    f83e610 View commit details
    Browse the repository at this point in the history
  4. Make mypy happy

    antonpirker committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    1271459 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dddfa41 View commit details
    Browse the repository at this point in the history