def send_notification(self, method, params):
        """Send a notification
        """
        msg = self._encoder.create_notification(method, params)
        self._send_message(msg)
def send_notification ( self , method , params ) : msg = self . _encoder . create_notification ( method , params ) self . _send_message ( msg )
Send a notification