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.0rc0
Choose a head ref
  • 4 commits
  • 20 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 <partheniou@google.com>
    Co-authored-by: Victor Chudnovsky <vchudnov@google.com>
    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
  2. Configuration menu
    Copy the full SHA
    9e1568b View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. Configuration menu
    Copy the full SHA
    55b9c85 View commit details
    Browse the repository at this point in the history
Loading