Skip to content

Update the empty_call_test and routing_parameter_test macro so that it can be used for both gRPC and REST #2159

@parthea

Description

@parthea

The empty_call_test macro only supports gRPC. We should update this macro so that it can be used for REST transport as well.

{% macro empty_call_test(service, api, transport, is_async) %}
{# TODO(https://github.com/googleapis/gapic-generator-python/issues/2159):
Currently this macro only supports gRPC. It should be updated to support REST
transport as well.
#}
{% if 'rest' not in transport %}

The same applies to routing_parameter_test which was introduced in PR #2133

Metadata

Metadata

Assignees

Labels

type: cleanupAn internal cleanup or hygiene concern.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions