From 9f97e851b43a382f66eb59c237711c4e307878de Mon Sep 17 00:00:00 2001 From: mbsantiago Date: Fri, 17 May 2024 18:39:29 +0100 Subject: [PATCH] fixed typing issue --- back/src/whombat/routes/sound_event_annotations.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/back/src/whombat/routes/sound_event_annotations.py b/back/src/whombat/routes/sound_event_annotations.py index 7a2a0ab7..cb97a790 100644 --- a/back/src/whombat/routes/sound_event_annotations.py +++ b/back/src/whombat/routes/sound_event_annotations.py @@ -92,9 +92,9 @@ async def get_sound_event_annotations( session: Session, limit: Limit = 10, offset: Offset = 0, - filter: SoundEventAnnotationFilter = Depends( + filter: SoundEventAnnotationFilter = Depends( # type: ignore SoundEventAnnotationFilter - ), # type: ignore + ), sort_by: str = "-created_on", ): """Get a page of annotation sound_event_annotations.""" @@ -267,9 +267,9 @@ async def get_scatter_plot_data( session: Session, limit: Limit = 1000, offset: Offset = 0, - filter: SoundEventAnnotationFilter = Depends( + filter: SoundEventAnnotationFilter = Depends( # type: ignore SoundEventAnnotationFilter - ), # type: ignore + ), ): items, count = await get_scatterplot_data( session,