sanic/tests/typing/samples/app_custom_ctx.py

10 lines
96 B
Python
Raw Normal View History

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