-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
Currently none of the goldens exercise the service.any_extended_operations_methods code path in the templates here:
Lines 107 to 109 in b75b8f4
| {% if service.any_extended_operations_methods %} | |
| self._extended_operations_services: Dict[str, Any] = {} | |
| {% endif %} |
We should consider adding a subset of google-cloud-compute to the golden files that will exercise this code.
See the following errors in this build log in PR googleapis/google-cloud-python#15458
The testing gap is that mypy is failing downstream in google-cloud-python rather than in this repo.
2026-01-16T20:48:05.1104258Z .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/compute_v1beta/services/wire_groups/transports/base.py:88: error: Name "Any" is not defined [name-defined]
2026-01-16T20:48:05.1106046Z .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/compute_v1beta/services/wire_groups/transports/base.py:88: note: Did you forget to import it from "typing"? (Suggestion: "from typing import Any")
2026-01-16T20:48:05.1108314Z .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/compute_v1beta/services/vpn_tunnels/transports/base.py:88: error: Name "Any" is not defined [name-defined]
2026-01-16T20:48:05.1110407Z .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/compute_v1beta/services/vpn_tunnels/transports/base.py:88: note: Did you forget to import it from "typing"? (Suggestion: "from typing import Any")
2026-01-16T20:48:05.1112399Z .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/compute_v1beta/services/vpn_gateways/transports/base.py:88: error: Name "Any" is not defined [name-defined]
2026-01-16T20:48:05.1114501Z .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/compute_v1beta/services/vpn_gateways/transports/base.py:88: note: Did you forget to import it from "typing"? (Suggestion: "from typing import Any")
Metadata
Metadata
Assignees
Labels
No labels