Skip to content

Commit

Permalink
Fix labeling
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Nov 15, 2023
1 parent 50edba2 commit 3314e14
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lib/galaxy/webapps/galaxy/api/visualizations.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
router = Router(tags=["visualizations"])

DeletedQueryParam: bool = Query(
default=False, title="Display deleted", description="Whether to include deleted pages in the result."
default=False, title="Display deleted", description="Whether to include deleted visualizations in the result."
)

UserIdQueryParam: Optional[DecodedDatabaseIdField] = Query(
Expand All @@ -68,10 +68,10 @@
)

query_tags = [
IndexQueryTag("title", "The page's title."),
IndexQueryTag("slug", "The page's slug.", "s"),
IndexQueryTag("tag", "The page's tags.", "t"),
IndexQueryTag("user", "The page's owner's username.", "u"),
IndexQueryTag("title", "The visualization's title."),
IndexQueryTag("slug", "The visualization's slug.", "s"),
IndexQueryTag("tag", "The visualization's tags.", "t"),
IndexQueryTag("user", "The visualization's owner's username.", "u"),
]

SearchQueryParam: Optional[str] = search_query_param(
Expand All @@ -95,7 +95,7 @@
SortByQueryParam: VisualizationSortByEnum = Query(
default="update_time",
title="Sort attribute",
description="Sort page index by this specified attribute on the page model",
description="Sort visualization index by this specified attribute on the visualization model",
)

SortDescQueryParam: bool = Query(
Expand Down Expand Up @@ -150,7 +150,7 @@ async def index(

@router.get(
"/api/visualizations/{id}/sharing",
summary="Get the current sharing status of the given Page.",
summary="Get the current sharing status of the given Visualization.",
)
def sharing(
self,
Expand Down

0 comments on commit 3314e14

Please sign in to comment.