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

feat: implement async rest interceptor class #2151

Merged

Conversation

ohmayr
Copy link
Contributor

@ohmayr ohmayr commented Sep 12, 2024

This PR implements the asynchronous rest interceptor class and leverages the rest / response async interceptor methods within the async __call__ method.

This PR should be reviewed and merged after: #2150.

@ohmayr ohmayr force-pushed the implement-async-rest-interceptor-class branch 2 times, most recently from 4162fb1 to e3860f4 Compare September 12, 2024 07:17
@product-auto-label product-auto-label bot added the size: l Pull request size is large. label Sep 12, 2024
@ohmayr ohmayr force-pushed the implement-async-rest-interceptor-class branch 5 times, most recently from 29e11f6 to a924358 Compare September 12, 2024 19:02
@ohmayr ohmayr marked this pull request as ready for review September 12, 2024 19:33
@ohmayr ohmayr requested a review from a team as a code owner September 12, 2024 19:33
@ohmayr ohmayr force-pushed the implement-async-rest-interceptor-class branch from a924358 to 26f41b4 Compare September 16, 2024 15:18
@ohmayr ohmayr force-pushed the implement-async-rest-interceptor-class branch 2 times, most recently from 1aa4ea8 to b04a3f6 Compare September 20, 2024 06:09
@ohmayr ohmayr force-pushed the implement-async-rest-interceptor-class branch 2 times, most recently from 74c9752 to 0d00ebc Compare September 23, 2024 15:26
Base automatically changed from refactor-interceptor-test to async-rest-support-in-gapics September 23, 2024 16:50
@ohmayr ohmayr force-pushed the implement-async-rest-interceptor-class branch from 0d00ebc to 5200771 Compare September 23, 2024 18:08
@@ -2275,8 +2274,21 @@ def test_initialize_client_w_{{transport_name}}():
@pytest.mark.parametrize("null_interceptor", [True, False])
{{async_prefix}}def test_{{ method_name }}_{{transport_name}}_interceptors(null_interceptor):
{% if 'grpc' in transport %}
{# TODO(https://github.com/googleapis/gapic-generator-python/issues/2191):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@parthea addressed feedback from #2150 here.

@ohmayr
Copy link
Contributor Author

ohmayr commented Sep 23, 2024

Note: This PR will be merged into the feature branch due to a pressing deadline. If there's any feedback, it will be addressed as a follow up.

@ohmayr ohmayr merged commit 520a098 into async-rest-support-in-gapics Sep 23, 2024
73 checks passed
@ohmayr ohmayr deleted the implement-async-rest-interceptor-class branch September 23, 2024 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants