mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-02-06 06:30:51 +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(
|
||||
query: str = Provide[Container.config.default.query],
|
||||
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)
|
||||
return {
|
||||
|
|
Loading…
Reference in New Issue
Block a user