diff --git a/tethys_apps/base/controller.py b/tethys_apps/base/controller.py index 45cd86457..74ae6cc03 100644 --- a/tethys_apps/base/controller.py +++ b/tethys_apps/base/controller.py @@ -93,7 +93,9 @@ class MyConsumer(AsyncWebsocketConsumer): url='customized/url', ) class MyConsumer(AsyncWebsocketConsumer): - pass + + def connect(): + pass ------------ @@ -104,7 +106,10 @@ class MyConsumer(AsyncWebsocketConsumer): login_required=True ) class MyConsumer(AsyncWebsocketConsumer): - pass + + def authorized_connect(): + pass + """ # noqa: E501 def wrapped(function_or_class):