Skip to content

Commit

Permalink
up fastapi, remove default path arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
pudo committed Mar 20, 2023
1 parent 4a885b4 commit f59efa5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"types-aiofiles==23.1.0.0",
"aiohttp[speedups]==3.8.4",
"elasticsearch[async]==8.6.2",
"fastapi==0.94.1",
"fastapi==0.95.0",
"uvicorn[standard]==0.21.1",
"python-multipart==0.0.6",
"email-validator==1.3.1",
Expand Down
2 changes: 1 addition & 1 deletion yente/routers/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ async def match(
)
async def fetch_entity(
response: Response,
entity_id: str = Path(None, description="ID of the entity to retrieve"),
entity_id: str = Path(description="ID of the entity to retrieve", example="Q7747"),
nested: bool = Query(
True,
title="Include adjacent entities (e.g. addresses, family, subsidiaries) in response",
Expand Down
1 change: 0 additions & 1 deletion yente/routers/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@


PATH_DATASET = Path(
"default",
description="Data source or collection name to be queries",
example="default",
)
Expand Down

0 comments on commit f59efa5

Please sign in to comment.