Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleapis/python-api-core
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.15.0
Choose a base ref
...
head repository: googleapis/python-api-core
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.16.0
Choose a head ref
  • 5 commits
  • 23 files changed
  • 6 contributors

Commits on Dec 10, 2023

  1. build: update actions/checkout and actions/setup-python (#571)

    Source-Link: googleapis/synthtool@3551acd
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:230f7fe8a0d2ed81a519cfc15c6bb11c5b46b9fb449b8b1219b3771bcb520ad2
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Dec 10, 2023
    Configuration menu
    Copy the full SHA
    4d7d2ed View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. feat: retry and retry_async support streaming rpcs (#495)

    From #485:
    
    > Server streaming libraries return an iterable that can asynchronously yield data from the backend over time. Some of our libraries need to provide a wrapper around the raw stream to do some local processing, before passing the data to the user.
    >
    > It would be useful to wrap this whole pipeline in a retry decorator, so that if the stream breaks mid-way through, we can recover and continue yielding data through our generator as if nothing happened.
    >
    > Unfortunately, the current implementation returns the result of the target function directly, so generators will not yield values and exceptions through the retry block
    
    This PR addresses the issue by adding retry_target_generator functions to both the async and sync retry modules, which yield through the target rather than call it directly. Generator mode can be enabled using the is_generator argument on the decorator.
    
    Fixes #485
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: Anthonios Partheniou <[email protected]>
    Co-authored-by: Victor Chudnovsky <[email protected]>
    4 people authored Dec 12, 2023
    Configuration menu
    Copy the full SHA
    17ff5f1 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2024

  1. build(python): fix docs and docfx builds (#581)

    * build(python): fix `docs` and `docfx` builds
    
    Source-Link: googleapis/synthtool@fac8444
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:5ea6d0ab82c956b50962f91d94e206d3921537ae5fe1549ec5326381d8905cfa
    
    * See python/typeshed#11254
    
    * See googleapis/synthtool#1916
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: Anthonios Partheniou <[email protected]>
    3 people authored Jan 25, 2024
    Configuration menu
    Copy the full SHA
    ebc2635 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

  1. fix: for backwards compatibility, expose legacy retry imports (#577)

    This exposes the legacy google imports that were previously exposed by this package, even though they are not needed now. (Note that standard imports that are no longer needed are NOT exposed; they should be imported directly.)
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    vchudnov-g and gcf-owl-bot[bot] authored Jan 29, 2024
    Configuration menu
    Copy the full SHA
    cb777a1 View commit details
    Browse the repository at this point in the history
  2. chore(main): release 2.16.0 (#572)

    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    release-please[bot] authored Jan 29, 2024
    Configuration menu
    Copy the full SHA
    7ffa182 View commit details
    Browse the repository at this point in the history
Loading