Overview
During the GAPIC request-id deduplication effort (centralizing request ID generation into google.api_core.gapic_v1.requests.setup_request_id), a backward-compatibility fallback module (_compat.py) was introduced in generated client packages to maintain compatibility with older versions of google-api-core.
Once google-api-core >= 2.26.0 (or the version containing setup_request_id) becomes the minimum required version across all generated client packages, this fallback can be removed.
Tasks
Overview
During the GAPIC request-id deduplication effort (centralizing request ID generation into
google.api_core.gapic_v1.requests.setup_request_id), a backward-compatibility fallback module (_compat.py) was introduced in generated client packages to maintain compatibility with older versions ofgoogle-api-core.Once
google-api-core >= 2.26.0(or the version containingsetup_request_id) becomes the minimum required version across all generated client packages, this fallback can be removed.Tasks
_compat.py.j2template fromgapic-generator-python.client.py.j2andasync_client.py.j2to importsetup_request_iddirectly fromgoogle.api_core.gapic_v1.requests._compat.pyfiles fromtests/integration/goldens/.