Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Issue with docstring in generated code when dependency is a proto-plus type #1625

@parthea

Description

@parthea

PR #1596 added ability to specify whether dependencies are proto-plus types or not. There is an issue with the feature in that docstrings don't have the correct proto-plus type.

For example, in PR googleapis/google-cloud-python#10854, you can see the docstring for cloud_ai_document in packages/google-cloud-contentwarehouse/google/cloud/contentwarehouse_v1/types/document.py under the Document class has the type as google.cloud.documentai.v1.document_pb2.Document when it should be google.cloud.documentai_v1.types.Document since google.cloud.documentai_v1 is a proto-plus type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions