Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Added placeholder kwargs to StructuredLogHandler #845

Merged
merged 5 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
Replaced unused named arguments with **kwargs
  • Loading branch information
gkevinzheng committed Jan 30, 2024
commit fcc53e68ad57051f4d3951a7bb8d43d714ea49b6
1 change: 1 addition & 0 deletions google/cloud/logging_v2/handlers/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ def __init__(
resource=None,
labels=None,
stream=None,
**kwargs
):
"""
Args:
Expand Down
5 changes: 2 additions & 3 deletions google/cloud/logging_v2/handlers/structured_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,11 @@ class StructuredLogHandler(logging.StreamHandler):
def __init__(
self,
*,
name=DEFAULT_LOGGER_NAME,
resource=None,
labels=None,
stream=None,
project_id=None,
json_encoder_cls=None
json_encoder_cls=None,
**kwargs
):
"""
Args:
Expand Down