mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-07-05 21:03:14 +03:00
Update sanic example
This commit is contained in:
parent
67b8e122bf
commit
4762fcecd3
|
@ -7,7 +7,7 @@ from . import handlers
|
|||
|
||||
|
||||
def create_app() -> Sanic:
|
||||
"""Create and return aiohttp application."""
|
||||
"""Create and return Sanic application."""
|
||||
container = Container()
|
||||
container.config.from_yaml('config.yml')
|
||||
container.config.giphy.api_key.from_env('GIPHY_API_KEY')
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
dependency-injector
|
||||
sanic
|
||||
aiohttp
|
||||
pyyaml
|
||||
pytest-sanic
|
||||
pytest-cov
|
||||
|
|
Loading…
Reference in New Issue
Block a user