mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-06-29 18:03:13 +03:00
Make micro cosmetic changes to flask, aiohttp & sanic examples
This commit is contained in:
parent
fb5488b050
commit
e2f4ab85d5
|
@ -11,7 +11,6 @@ def create_app():
|
|||
container = Container()
|
||||
container.config.from_yaml('config.yml')
|
||||
container.config.giphy.api_key.from_env('GIPHY_API_KEY')
|
||||
|
||||
container.wire(modules=[handlers])
|
||||
|
||||
app = web.Application()
|
||||
|
|
|
@ -11,7 +11,6 @@ def create_app():
|
|||
container = Container()
|
||||
container.config.from_yaml('config.yml')
|
||||
container.config.github.auth_token.from_env('GITHUB_TOKEN')
|
||||
|
||||
container.wire(modules=[views])
|
||||
|
||||
app = Flask(__name__)
|
||||
|
|
|
@ -11,7 +11,6 @@ def create_app():
|
|||
container = Container()
|
||||
container.config.from_yaml('config.yml')
|
||||
container.config.giphy.api_key.from_env('GIPHY_API_KEY')
|
||||
|
||||
container.wire(modules=[handlers])
|
||||
|
||||
app = Sanic('Giphy Navigator')
|
||||
|
|
Loading…
Reference in New Issue
Block a user