sanic/tests/typing/samples/app_fully_custom.py

15 lines
190 B
Python
Raw Normal View History

from sanic import Sanic
from sanic.config import Config
class CustomConfig(Config):
pass
class Foo:
pass
app = Sanic("test", config=CustomConfig(), ctx=Foo())
reveal_type(app)