15 lines
190 B
Python
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)
|