def consume(self, data): # type: (Mapping[str, Any]) -> None handle_push_notification(data['user_profile_id'], data)
def consume(self, data): handle_push_notification(data['user_profile_id'], data)