Skip to content

Code health - Remove duplicate code #1592

@parthea

Description

@parthea

The jinja templates here and here have a lot of code duplication. When there is a bug, a fix is being applied in more than one place. For example see https://github.com/googleapis/gapic-generator-python/pull/1582/files where a fix was applied in 5 places instead of one. This breaks the DRY (Don't repeat yourself) rule of code health

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: cleanupAn internal cleanup or hygiene concern.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions