parameters: (self, settings)
docstring: This is an example WebSocket action that sends a message to the client
          indicating that it was called successfully.  Calls the
          `example:test_example` event when complete.
docstring_summary: This is an example WebSocket action that sends a message to the client
          indicating that it was called successfully.  Calls the
          `example:test_example` event when complete.
docstring_tokens: This is an example WebSocket action that sends a message to the client indicating that it was called successfully . Calls the example : test_example event when complete .
function: def test_example(self, settings):
          """
          This is an example WebSocket action that sends a message to the client
          indicating that it was called successfully.  Calls the
          `example:test_example` event when complete.
          """
          self.ws.send_message(_(
              "The test_example WebSocket action was called successfully!"))
          self.ws.send_message(_("Here's what was recieved: %s") % repr(settings))
          self.trigger("example:test_example", settings)
function_tokens: def test_example ( self , settings ) : self . ws . send_message ( _ ( "The test_example WebSocket action was called successfully!" ) ) self . ws . send_message ( _ ( "Here's what was recieved: %s" ) % repr ( settings ) ) self . trigger ( "example:test_example" , settings )