New changes
Response of the notify_topic_subscribers, notify_single_device and notify_multiple_devices now looks like this:
""" Returns a python dict of multicast_ids(list), success(int), failure(int), canonical_ids(int), results(list) and optional topic_message_id(str but None by default) """
response_dict = { 'multicast_ids': list(), 'success': 0, 'failure': 0, 'canonical_ids': 0, 'results': list(), 'topic_message_id': None }
There's also a new timeout option to specify request timeout when calling notify_topic_subscribers, notify_single_device or notify_multiple_devices
result = push_service.notify_single_device(registration_id=registration_id, message_title=message_title, message_body=message_body, timeout=10)
The timeout option above adds a 10 seconds timeout to the individual requests