gapic-generator-python
gapic-generator-python copied to clipboard
ensure we use retry classes correctly for {unary,streaming}×{sync,async} methods
As per https://github.com/googleapis/python-api-core/issues/528, GAPIC libraries currently have a race condition with unary async retries, which should be fixed by https://github.com/googleapis/python-api-core/pull/495. And the GAPICs also do not handle the new streaming retry classes introduced in https://github.com/googleapis/python-api-core/pull/495.
Once a version python-api-core with that merged PR gets released, we need to make sure that we use retries appropriately for streaming methods, in all transports. Also see this comment in that PR.