From 0dc97e567e4c08ec7ac259f23857030e95947f8f Mon Sep 17 00:00:00 2001 From: Bastien Abadie <bastien@nextcairn.com> Date: Mon, 8 Jul 2024 15:24:30 +0200 Subject: [PATCH] Fix typo in api-doc operators --- arkindex/documents/api/elements.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arkindex/documents/api/elements.py b/arkindex/documents/api/elements.py index ea7be6f3d5..1e730b73f8 100644 --- a/arkindex/documents/api/elements.py +++ b/arkindex/documents/api/elements.py @@ -356,7 +356,7 @@ class ElementsListAutoSchema(AutoSchema): * `eq` (default): Elements having a classification with this exact confidence. * `lt`: Elements having a classification with a confidence strictly lower than the filter. * `lte`: Elements having a classification with a confidence lower than or equal to the filter. - * `lt`: Elements having a classification with a confidence strictly greater than the filter. + * `gt`: Elements having a classification with a confidence strictly greater than the filter. * `gte`: Elements having a classification with a confidence greater than or equal to the filter. This requires `classification_confidence` to be set. @@ -394,7 +394,7 @@ class ElementsListAutoSchema(AutoSchema): * `eq` (default): Elements having a transcription with this exact confidence. * `lt`: Elements having a transcription with a confidence strictly lower than the filter. * `lte`: Elements having a transcription with a confidence lower than or equal to the filter. - * `lt`: Elements having a transcription with a confidence strictly greater than the filter. + * `gt`: Elements having a transcription with a confidence strictly greater than the filter. * `gte`: Elements having a transcription with a confidence greater than or equal to the filter. This requires `transcription_confidence` to be set. -- GitLab