Skip to content

Commit 54381b5

Browse files
hebaalazzehohmayr
andauthored
Update packages/gapic-generator/gapic/templates/tests/unit/gapic/%name_%version/%sub/test_compat.py.j2
Co-authored-by: ohmayr <omairnaveed@ymail.com>
1 parent 0bb013a commit 54381b5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • packages/gapic-generator/gapic/templates/tests/unit/gapic/%name_%version/%sub

packages/gapic-generator/gapic/templates/tests/unit/gapic/%name_%version/%sub/test_compat.py.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
{% block content %}
44

5+
{% set has_auto_populated_fields = api.all_method_settings.values()|map(attribute="auto_populated_fields", default=[])|select|list %}
56
"""Tests for the compatibility module for older versions of google-api-core."""
67
{# TODO(https://github.com/googleapis/google-cloud-python/issues/17813):
78
Clean up this file/tests when the minimum supported version of

0 commit comments

Comments
 (0)