Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sureshhewabi committed Feb 8, 2024
1 parent 552feaf commit 4e27ee4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/routes/pride.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ async def project_search(q: Union[str | None] = Query(default="",
page: int = Query(1, description="Page number"),
page_size: int = Query(10, gt=5, lt=100, description="Number of items per page"),
session: Session = Depends(get_session)
) -> list[ProjectDetail]:
):
"""
This gives the high-level view of list of projects
:param q: Query parameter
Expand Down Expand Up @@ -619,7 +619,7 @@ async def protein_search(project_id: Annotated[str, Path(...,
description="Protein accession, protein name or gene name"),
page: int = Query(1, description="Page number"),
page_size: int = Query(10, gt=5, lt=100, description="Number of items per page"),
session: Session = Depends(get_session)) -> list[ProjectSubDetail]:
session: Session = Depends(get_session)):
"""
This gives the high-level view of a list of projects
- **project_id**: PXD****** accession
Expand Down

0 comments on commit 4e27ee4

Please sign in to comment.