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

- Formatted code #324

Merged
merged 1 commit into from
Jun 9, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion pyfcm/baseapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def parse_payload(
remove_notification=False,
android_channel_id=None,
extra_notification_kwargs={},
**extra_kwargs
**extra_kwargs,
):
"""
Parses parameters of FCMNotification's methods to FCM nested json
Expand Down
12 changes: 6 additions & 6 deletions pyfcm/fcm.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def notify_single_device(
android_channel_id=android_channel_id,
content_available=content_available,
extra_notification_kwargs=extra_notification_kwargs,
**extra_kwargs
**extra_kwargs,
)

self.send_request([payload], timeout)
Expand Down Expand Up @@ -193,7 +193,7 @@ def single_device_data_message(
remove_notification=True,
android_channel_id=android_channel_id,
extra_notification_kwargs=extra_notification_kwargs,
**extra_kwargs
**extra_kwargs,
)

self.send_request([payload], timeout)
Expand Down Expand Up @@ -316,7 +316,7 @@ def notify_multiple_devices(
content_available=content_available,
android_channel_id=android_channel_id,
extra_notification_kwargs=extra_notification_kwargs,
**extra_kwargs
**extra_kwargs,
)
)
self.send_request(payloads, timeout)
Expand Down Expand Up @@ -394,7 +394,7 @@ def multiple_devices_data_message(
content_available=content_available,
remove_notification=True,
extra_notification_kwargs=extra_notification_kwargs,
**extra_kwargs
**extra_kwargs,
)
)
self.send_request(payloads, timeout)
Expand Down Expand Up @@ -511,7 +511,7 @@ def notify_topic_subscribers(
content_available=content_available,
android_channel_id=android_channel_id,
extra_notification_kwargs=extra_notification_kwargs,
**extra_kwargs
**extra_kwargs,
)
self.send_request([payload], timeout)
return self.parse_responses()
Expand Down Expand Up @@ -583,7 +583,7 @@ def topic_subscribers_data_message(
content_available=content_available,
remove_notification=True,
extra_notification_kwargs=extra_notification_kwargs,
**extra_kwargs
**extra_kwargs,
)
self.send_request([payload], timeout)
return self.parse_responses()
Expand Down