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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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