-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Labels
api: loggingIssues related to the googleapis/python-logging API.Issues related to the googleapis/python-logging API.
Description
There are a few references to client.project_id
, but client does not have a field project_id
, it has a field project
:
.venv/lib/python3.12/site-packages/google/cloud/logging_v2/logger.py", line 79, in __init__
resource = detect_resource(client.project_id)
^^^^^^^^^^^^^^^^^
AttributeError: 'Client' object has no attribute 'project_id'. Did you mean: 'project'?
Changing these references in site-packages
fixed the issue, but until that is fixed in the source, this package is broken for retrieving log entries via the SDK.
Metadata
Metadata
Assignees
Labels
api: loggingIssues related to the googleapis/python-logging API.Issues related to the googleapis/python-logging API.