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: b2baf47
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: e1b5a11
Choose a head ref
  • 12 commits
  • 45 files changed
  • 9 contributors

Commits on Oct 9, 2024

  1. fix: Switch to unittest.mock from mock (#713)

    * test: Switch to unittest.mock from mock
    
    Now that the minimum supported version of Python is 3.7, we can stop
    using the external mock requirement, and import it from unittest. I have
    also attempted to keep imports ordered.
    
    Fixes #377
    
    * test: Fallback to external mock for AsyncMock
    
    AsyncMock is not included in unittest.mock under Python 3.7, so we must
    fallback to the external mock requirement for that Python version. Only
    install it for that version.
    
    Keep this as a separate commit so it can be reverted when 3.7 isn't
    supported anymore.
    
    * lint
    
    * clean up to satisfy mypy
    
    * lint
    
    * fix build
    
    ---------
    
    Co-authored-by: Anthonios Partheniou <[email protected]>
    s-t-e-v-e-n-k and parthea authored Oct 9, 2024
    Configuration menu
    Copy the full SHA
    8c53381 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. feat: add support for python 3.13 (#696)

    * feat: add support for python 3.13
    
    * Add constraints file
    
    * Avoid Python3.13 warning coroutine method 'aclose' was never awaited
    
    * remove allow-prereleases: true
    
    * exclude grpcio 1.67.0rc1
    
    * add comment
    
    * remove empty line
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * Update comment
    
    Co-authored-by: ohmayr <[email protected]>
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: ohmayr <[email protected]>
    3 people authored Oct 15, 2024
    Configuration menu
    Copy the full SHA
    46b3d3a View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2024

  1. fix: add type hints to ClientOptions (#735)

    * Update
    
    * Update client_options.py
    
    * Update
    
    * fix build
    
    ---------
    
    Co-authored-by: Anthonios Partheniou <[email protected]>
    rinarakaki and parthea authored Oct 19, 2024
    Configuration menu
    Copy the full SHA
    b91ed19 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. chore: move retry async check to wrap time (#668)

    * chore: move retry async check to wrap time
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * added no cover mark
    
    ---------
    
    Co-authored-by: Daniel Sanche <[email protected]>
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: Daniel Sanche <[email protected]>
    4 people authored Oct 21, 2024
    Configuration menu
    Copy the full SHA
    3c69867 View commit details
    Browse the repository at this point in the history
  2. feat: add caching to GapicCallable (#666)

    * feat: optimize _GapicCallable
    
    * cleaned up metadata lines
    
    * chore: avoid type checks in error wrapper
    
    * Revert "chore: avoid type checks in error wrapper"
    
    This reverts commit c97a636.
    
    * add default wrapped function
    
    * fixed decorator order
    
    * fixed spacing
    
    * fixed comment typo
    
    * fixed spacing
    
    * fixed spacing
    
    * removed unneeded helpers
    
    * use caching
    
    * improved metadata parsing
    
    * improved docstring
    
    * fixed logic
    
    * added benchmark test
    
    * update threshold
    
    * run benchmark in loop for testing
    
    * use verbose logs
    
    * Revert testing
    
    * used smaller value
    
    * changed threshold
    
    * removed link in comment
    
    * use list type for metadata
    
    * add types to docstring
    
    * fixed lint
    
    * convert to list at init time
    
    ---------
    
    Co-authored-by: Daniel Sanche <[email protected]>
    Co-authored-by: Daniel Sanche <[email protected]>
    3 people authored Oct 21, 2024
    Configuration menu
    Copy the full SHA
    1695119 View commit details
    Browse the repository at this point in the history
  3. chore: update templated files (#738)

    * chore: update templated files
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: ohmayr <[email protected]>
    3 people authored Oct 21, 2024
    Configuration menu
    Copy the full SHA
    4dbb405 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. fix: Improve Any decode error (#712)

    * Improve Any decoding-error.
    
    Was:
    
    TypeError: Could not convert Any to PredictLongRunningResponse
    
    Now:
    
    TypeError: Could not convert
       Any[google.ai.generativelanguage.v1main.PredictLongRunningResponse] to
           google.ai.generativelanguage.v1beta.PredictLongRunningResponse
    
    * update test
    
    * update error message
    
    * address review feedback
    
    ---------
    
    Co-authored-by: Anthonios Partheniou <[email protected]>
    MarkDaoust and parthea authored Oct 22, 2024
    Configuration menu
    Copy the full SHA
    0d5ed37 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7727405 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. Configuration menu
    Copy the full SHA
    a26313e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7858ab4 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. chore: update templated files (#746)

    * chore: update templated files
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    parthea and gcf-owl-bot[bot] authored Oct 25, 2024
    Configuration menu
    Copy the full SHA
    c87c1ea View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2024

  1. chore(main): release 2.22.0 (#729)

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