sanic/tests/typing/samples/app_fully_custom.py
2023-07-12 23:47:58 +03:00

15 lines
190 B
Python

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)