-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path__init__.py
More file actions
39 lines (29 loc) · 1.3 KB
/
Copy path__init__.py
File metadata and controls
39 lines (29 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# flake8: noqa
"""
OneSignal
A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501
The version of the OpenAPI document: 5.11.1
Contact: devrel@onesignal.com
Generated by: https://openapi-generator.tech
"""
__version__ = "5.11.2"
# import ApiClient
from onesignal.api_client import ApiClient
# import Configuration
from onesignal.configuration import Configuration
# import exceptions
from onesignal.exceptions import OpenApiException
from onesignal.exceptions import ApiAttributeError
from onesignal.exceptions import ApiTypeError
from onesignal.exceptions import ApiValueError
from onesignal.exceptions import ApiKeyError
from onesignal.exceptions import ApiException
# import helpers
from onesignal.helpers import CreateNotificationWithRetryResult
from onesignal.helpers import create_notification_with_retry
# OneSignal: surface the idempotent-retry helper as a DefaultApi method so the
# call mirrors create_notification. The function's first parameter (api) binds
# as self; helpers.py stays the single source of truth.
from onesignal.api.default_api import DefaultApi as _DefaultApi
_DefaultApi.create_notification_with_retry = create_notification_with_retry
from onesignal.errors import OneSignalErrors