You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix(job): honor custom retry in job.result()
The `_AsyncJob.result()` method was not correctly passing the `retry`
argument to the superclass's `result()` method when the `retry` object
was the same as the default retry object. This caused the default
retry settings to be ignored in some cases.
This change modifies the `result()` method to always pass the `retry`
argument to the superclass, ensuring that the provided retry settings
are always honored.
A new test case is added to verify that `job.result()` correctly
handles both the default retry and a custom retry object.
* Update tests/unit/test_job_retry.py
* Update tests/unit/test_job_retry.py
* blacken and lint
* udpates retry handling and testing of retry handling
* Update tests/unit/test_job_retry.py
* Update tests/unit/test_job_retry.py
* Update tests/unit/test_job_retry.py
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
0 commit comments