sanic/tests/typing/samples/app_custom_config.py

11 lines
157 B
Python
Raw Permalink Normal View History

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