Skip to content

Commit

Permalink
updated examples in the controller decorator docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
ckrew committed Feb 27, 2024
1 parent ad548bc commit 17372b5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tethys_apps/base/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ class MyConsumer(AsyncWebsocketConsumer):
url='customized/url',
)
class MyConsumer(AsyncWebsocketConsumer):
pass
def connect():
pass
------------
Expand All @@ -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):
Expand Down

0 comments on commit 17372b5

Please sign in to comment.