Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
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 orlearn 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.19.0
Choose a base ref
Loading
...
head repository:googleapis/python-api-core
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare:v2.19.1
Choose a head ref
Loading
  • 9commits
  • 14files changed
  • 6contributors

Commits on May 3, 2024

  1. chore: avoid checking instance on each stream call (#529)

    * chore: avoid checking instance on each stream call* fixed indentation* added check for unary call* fixed type check* fixed tests* fixed coverage* added exception to test class* added comment to test* 🦉 Updates from OwlBot post-processorSeehttps://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>
    @daniel-sanche@gcf-owl-bot
    daniel-sanche andgcf-owl-bot[bot] authoredMay 3, 2024
    Configuration menu
    Copy the full SHA
    ab22afdView commit details
    Browse the repository at this point in the history
  2. feat: add caching to GapicCallable (#527)

    * feat: optimize _GapicCallable* cleaned up metadata lines* chore: avoid type checks in error wrapper* Revert "chore: avoid type checks in error wrapper"This reverts commitc97a636.* 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
    @daniel-sanche
    daniel-sanche authoredMay 3, 2024
    Configuration menu
    Copy the full SHA
    d96eb5cView commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2024

  1. chore: fallback to unary_unary when wrapping async callables (#653)

    * fix: fallback to unary_unary when wrapping async callablesWe recently [made a change](ab22afd) to move some computation in the async rpc wrapper from call-time to wrap-time. This way, individual calls would execute faster, since they don't have to re-compute some data on each callA side-effect of this change is that now some [type validation](https://github.com/googleapis/python-api-core/blob/d96eb5cdd8120bfec97d62b09512c6fecc325be8/google/api_core/grpc_helpers_async.py#L209) happens earlier. This caused some downstream tests to fail when a mock grpc channel is used. The wrapper doesn't know how to handle the mock.Mock type, and raises an exception while constructing the client objectThis PR fixes the issue by falling back to the unary wrapper when the callable type is unknown, rather than raising an exception. This is in-line with how [the sync version handles it](https://github.com/googleapis/python-api-core/blob/d96eb5cdd8120bfec97d62b09512c6fecc325be8/google/api_core/grpc_helpers.py#L198)* fixed elif to if* removed outdated test
    @daniel-sanche
    daniel-sanche authoredJun 4, 2024
    Configuration menu
    Copy the full SHA
    c9e1cbbView commit details
    Browse the repository at this point in the history
  2. fix: Ignore unknown fields in rest streaming. (#651)

    * Ignore unknown fields in rest streaming.If the api adds a new field to a stremaing response, it shouldn't break old clients.We found this in the google.ai.generativelanguage API. Colab forces our clients to use rest, so all our streaming examples broke when the API team rolled out a new field.* format---------Co-authored-by: Anthonios Partheniou <partheniou@google.com>
    @MarkDaoust@parthea
    MarkDaoust andparthea authoredJun 4, 2024
    Configuration menu
    Copy the full SHA
    1203fb9View commit details
    Browse the repository at this point in the history
  3. chore: move retry async check to wrap time (#649)

    * chore: move retry async check to wrap time* 🦉 Updates from OwlBot post-processorSeehttps://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md* added no cover mark---------Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>Co-authored-by: Anthonios Partheniou <partheniou@google.com>
    @daniel-sanche@gcf-owl-bot@parthea
    3 people authoredJun 4, 2024
    Configuration menu
    Copy the full SHA
    ac098a7View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e031eb5View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2024

  1. Configuration menu
    Copy the full SHA
    126b5c7View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. fix: add support for protobuf 5.x (#644)

    * fix: add support for protobuf 5.x* remove pin for types-protobuf* remove pytest from noxfile* refactor common code* RefactorCo-authored-by: Victor Chudnovsky <vchudnov@google.com>* run black* 🦉 Updates from OwlBot post-processorSeehttps://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md* mypy* run pre-release test against all python versions* filter warning---------Co-authored-by: Victor Chudnovsky <vchudnov@google.com>Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    @parthea@vchudnov-g@gcf-owl-bot
    3 people authoredJun 19, 2024
    Configuration menu
    Copy the full SHA
    fda0ca6View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

  1. chore(main): release 2.19.1 (#650)

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

[8]ページ先頭

©2009-2025 Movatter.jp