From 5ba43decf25ea666a60df77a872cd1b1537975a1 Mon Sep 17 00:00:00 2001 From: Lu <38710123+ZinkLu@users.noreply.github.com> Date: Wed, 7 Apr 2021 03:36:50 +0800 Subject: [PATCH] FIX UserWarning when using ASGI mode (#2091) Co-authored-by: Adam Hopkins --- sanic/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sanic/app.py b/sanic/app.py index bb3b4b0e..d80bd242 100644 --- a/sanic/app.py +++ b/sanic/app.py @@ -78,6 +78,7 @@ class Sanic(BaseSanic): """ __fake_slots__ = ( + "_asgi_app", "_app_registry", "_asgi_client", "_blueprint_order",