Handle data dict type in retry.is_etag_in_json(data) #481
Labels
api: storage
Issues related to the googleapis/python-storage API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
retry.is_etag_in_json(data)
is a helper method for conditional retries. It returns a boolean whether or not anetag
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: aJSONDecodeError
is caught before examining if an etag is contained within.The text was updated successfully, but these errors were encountered: