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

Cleanup PagerdutyNotifier __init__ #39145

Merged
merged 1 commit into from
Apr 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions airflow/providers/pagerduty/notifications/pagerduty.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def __init__(
class_type: str | None = None,
images: list[Any] | None = None,
links: list[Any] | None = None,
pagerduty_events_conn_id: str = "pagerduty_events_default",
pagerduty_events_conn_id: str | None = "pagerduty_events_default",
integration_key: str | None = None,
):
super().__init__()
Expand All @@ -96,11 +96,9 @@ def __init__(
self.action = action
self.dedup_key = dedup_key
self.custom_details = custom_details
self.custom_details = custom_details
self.group = group
self.component = component
self.class_type = class_type
self.class_type = class_type
self.images = images
self.links = links

Expand Down