File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -969,9 +969,8 @@ Sanic
969969~~~~~
970970
971971.. note ::
972- Due to some backward incompatible changes introduced in recent versions of
973- Sanic, it is currently recommended that a Sanic application is deployed with
974- the ASGI integration.
972+ The Sanic integration has not been updated in a long time. It is currently
973+ recommended that a Sanic application is deployed with the ASGI integration.
975974
976975.. _using-a-message-queue :
977976
Original file line number Diff line number Diff line change 44import socketio
55
66sio = socketio .AsyncServer (async_mode = 'sanic' )
7- app = Sanic (name = 'sanic_application' )
7+ app = Sanic (__name__ )
88sio .attach (app )
99
1010
Original file line number Diff line number Diff line change 44import socketio
55
66sio = socketio .AsyncServer (async_mode = 'sanic' )
7- app = Sanic ()
7+ app = Sanic (__name__ )
88sio .attach (app )
99
1010
Original file line number Diff line number Diff line change 44import socketio
55
66sio = socketio .AsyncServer (async_mode = 'sanic' )
7- app = Sanic ()
7+ app = Sanic (__name__ )
88sio .attach (app )
99
1010
You can’t perform that action at this time.
0 commit comments