GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Retry: inconsistent with documentation · Issue #185 · googleapis/python-api-core

This repository was archived by the owner on Feb 23, 2026. It is now read-only.
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

Retry: inconsistent with documentation #185

Copy link
Copy link
Closed
#253
Closed
Retry: inconsistent with documentation#185
#253
Copy link
Assignees
parthea
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.type: docsImprovement to the documentation for an API.

Description

@yan-hic
yan-hic
opened on May 13, 2021
Issue body actions

python-api-core/google/api_core/retry.py

Lines 102 to 119 in 9123439

if_transient_error = if_exception_type(
exceptions.InternalServerError,
exceptions.TooManyRequests,
exceptions.ServiceUnavailable,
requests.exceptions.ConnectionError,
auth_exceptions.TransportError,
)
"""A predicate that checks if an exception is a transient API error.
The following server errors are considered transient:
- :class:`google.api_core.exceptions.InternalServerError` - HTTP 500, gRPC
``INTERNAL(13)`` and its subclasses.
- :class:`google.api_core.exceptions.TooManyRequests` - HTTP 429
- :class:`google.api_core.exceptions.ServiceUnavailable` - HTTP 503
- :class:`google.api_core.exceptions.ResourceExhausted` - gRPC
``RESOURCE_EXHAUSTED(8)``
"""

is not aligned with inline documentation and https://googleapis.dev/python/google-api-core/latest/retry.html#google.api_core.retry.Retry
e.g. ResourceExhausted is missing

Activity

  1. yoshi-automation
    added
    triage meI really want to be triaged.
    on May 14, 2021
  2. danoscarmike
    added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    type: docsImprovement to the documentation for an API.
    and removed
    triage meI really want to be triaged.
    on May 14, 2021
  3. danoscarmike
    assigned
    parthea
    on May 14, 2021
  4. gcf-merge-on-green
    closed this as completedin #253on Aug 13, 2021
  5. gcf-merge-on-green
    added a commit that references this issue on Aug 13, 2021

    chore: update if_transient_error docs to match behaviour (#253)

    This issue will close once commit 362ca6c is merged into the 'main' branch.
    362ca6c
  6. parthea
    added a commit that references this issue on Sep 6, 2022

    feat: merge main branch into v1 (#438)

    This issue will close once commit a175ce5 is merged into the 'main' branch.
    a175ce5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @parthea
    parthea

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.type: docsImprovement to the documentation for an API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.