mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-02-06 14:40:48 +03:00
Fix fastapi example flake8 error
This commit is contained in:
parent
59f25241cc
commit
bece33fc21
|
@ -8,7 +8,7 @@ from .containers import Container
|
||||||
async def index(
|
async def index(
|
||||||
query: str = Provide[Container.config.default.query],
|
query: str = Provide[Container.config.default.query],
|
||||||
limit: int = Provide[Container.config.default.limit.as_int()],
|
limit: int = Provide[Container.config.default.limit.as_int()],
|
||||||
search_service = Provide[Container.search_service],
|
search_service=Provide[Container.search_service],
|
||||||
):
|
):
|
||||||
gifs = await search_service.search(query, limit)
|
gifs = await search_service.search(query, limit)
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user