code: def send(self, notification):
          
          logger.debug('Gateway send notification')
  
          if self.client is None:
              raise GatewayClientNotSetError()
  
          yield self.client.send(notification)
docs: Send prepared notification to the APN.