Skip to content

Change blob.compose to fit API behavior #453

@cojenco

Description

@cojenco

Currently blob.compose() is misusing if_generation_match as a list of sourceObjects[].objectPreconditions.ifGenerationMatch sent with the API request body. Based on the doc, if_generation_match is an optional query parameter that makes the operation conditional only when the composed object's current generation matches the given value.

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the googleapis/python-storage API.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

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions