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 — Handle data dict type in retry.is_etag_in_json(data) · Issue #481 · googleapis/python-storage

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

Handle data dict type in retry.is_etag_in_json(data) #481

Copy link
Copy link
Closed
#483
Closed
Handle data dict type in retry.is_etag_in_json(data)#481
#483
Copy link
Assignees
cojenco
Labels
api: storageIssues related to the googleapis/python-storage API.priority: p2Moderately-important priority. Fix may not be included in next release.

Description

@cojenco
cojenco
opened on Jun 25, 2021
Issue body actions

retry.is_etag_in_json(data) is a helper method for conditional retries. It returns a boolean whether or not an etag is contained in the JSON body.

There seem to be use cases in which a dictionary type of data is passed into retry.is_etag_in_json(data). Currently the method is unable to handle dict type data correctly: a JSONDecodeError is caught before examining if an etag is contained within.

Activity

  1. cojenco
    self-assigned this
    on Jun 25, 2021
  2. product-auto-label
    added
    api: storageIssues related to the googleapis/python-storage API.
    on Jun 25, 2021
  3. yoshi-automation
    added
    triage meI really want to be triaged.
    on Jun 26, 2021
  4. danielduhh
    added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on Jun 27, 2021
  5. yoshi-automation
    removed
    triage meI really want to be triaged.
    on Jun 28, 2021
  6. cojenco
    closed this as completedin #483on Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @cojenco
    cojenco

Labels

api: storageIssues related to the googleapis/python-storage API.priority: p2Moderately-important priority. Fix may not be included in next release.

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.