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 — Duplicated Operations in Mutate Requests · Issue #756 · googleapis/gapic-generator-python

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

Duplicated Operations in Mutate Requests #756

Copy link
Copy link
Closed
Closed
Duplicated Operations in Mutate Requests#756
Copy link
Labels
lang: pythonIssues specific to Python.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.release blockingRequired feature/issue must be fixed prior to next release.simply blockertype: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Description

@BenRKarl
BenRKarl
opened on Jan 29, 2021
Issue body actions

In the Ads templates, here, the below logic is generated for our operations parameter, an example from proto can be found here: MuateAdGroups and MutateAdGroupsRequest

if customer_id is not None:
    request.customer_id = customer_id
if operations is not None:
    request.operations = operations

if operations:
    request.operations.extend(operations)

If operations is present, request.operations is set, and request.operations.extend is also called, causing our operations to be duplicated in any request.

Activity

  1. BenRKarl
    added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    release blockingRequired feature/issue must be fixed prior to next release.
    priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.
    api: adwords
    simply blocker
    lang: pythonIssues specific to Python.
    on Jan 29, 2021
  2. software-dov commented on Feb 1, 2021

    @software-dov
    software-dov
    on Feb 1, 2021
    Contributor
    More actions

    Good catch.

  3. software-dov
    added a commit that references this issue on Feb 1, 2021

    fix: remove duplicate assignment of certain flattened, repeated fields

    55cf4bc
  4. gcf-merge-on-green
    added a commit that references this issue on Feb 2, 2021

    fix: remove duplicate assignment of certain flattened, repeated fields (

    cdbc221
  5. software-dov commented on Feb 2, 2021

    @software-dov
    software-dov
    on Feb 2, 2021
    Contributor
    More actions

    Fixed by #760

  6. software-dov
    closed this as completedon Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang: pythonIssues specific to Python.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.release blockingRequired feature/issue must be fixed prior to next release.simply blockertype: 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

      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.