Support sending notifications in batch. (#27)

This commit is contained in:
Matan Gover
2017-01-23 20:10:35 +03:00
committed by Sergey Petrov
parent 1262d6c2bd
commit 701b587c32
9 changed files with 279 additions and 23 deletions
+4
View File
@@ -129,6 +129,10 @@ class MissingTopic(BadPayloadException):
pass
class ConnectionFailed(APNsException):
"""There was an error connecting to APNs."""
def exception_class_for_reason(reason):
return {
'PayloadEmpty': PayloadEmpty,