Skip to content

StructuredLogHandler docstring documents project but parameter is project_id #17604

Description

@mariosnikolaou

Determine this is the right repository

  • I determined this is the correct repository in which to report this bug.

Summary of the issue

Context
The docstring in StructuredLogHandler documents the parameter as project, but the actual keyword argument is project_id.

https://github.com/googleapis/google-cloud-python/blob/main/packages/google-cloud-logging/google/cloud/logging_v2/handlers/structured_log.py#L77

Expected Behavior:
Docstring for StructuredLogHandler matches keywork argument name project_id.

Actual Behavior:
Docstring for StructuredLogHandler uses project.

API client name and version

google-cloud-logging 3.16.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p3Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.type: docsImprovement to the documentation for an API.

    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