FIX UserWarning when using ASGI mode (#2091)

Co-authored-by: Adam Hopkins <admhpkns@gmail.com>
This commit is contained in:
Lu
2021-04-07 03:36:50 +08:00
committed by GitHub
parent 8f06d035cb
commit 5ba43decf2

View File

@@ -78,6 +78,7 @@ class Sanic(BaseSanic):
"""
__fake_slots__ = (
"_asgi_app",
"_app_registry",
"_asgi_client",
"_blueprint_order",