From 3c8a2adda8b743873ae3a86efdc269a2c35d1ccb Mon Sep 17 00:00:00 2001 From: Narek Mkhitaryan Date: Tue, 18 Mar 2025 16:40:57 +0400 Subject: [PATCH] fix list_users docs --- src/superannotate/lib/app/interface/sdk_interface.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/superannotate/lib/app/interface/sdk_interface.py b/src/superannotate/lib/app/interface/sdk_interface.py index 9f08f682..5b862288 100644 --- a/src/superannotate/lib/app/interface/sdk_interface.py +++ b/src/superannotate/lib/app/interface/sdk_interface.py @@ -511,7 +511,7 @@ def list_users( Scores and Custom Field Filtering: - Scores and other custom fields must be prefixed with `custom_field__` . - - Example: custom_field__Due_date__gte="1738281600" (filtering users whose Due date is after the given Unix timestamp). + - Example: custom_field__Due_date__gte="1738281600" (filtering users whose Due_date is after the given Unix timestamp). - **Text** custom field only works with the following filter params: __in, __notin, __contains - **Numeric** custom field only works with the following filter params: __in, __notin, __ne, __gt, __gte, __lt, __lte @@ -519,7 +519,7 @@ def list_users( - **Multi-select** custom field only works with the following filter params: __in, __notin - **Date picker** custom field only works with the following filter params: __gt, __gte, __lt, __lte - **If score name has a space, please use the following format to filter them**: + **If custom field has a space, please use the following format to filter them**: :: user_filters = {"custom_field__accuracy score 30D__lt": 90} @@ -3821,7 +3821,7 @@ def list_projects( Custom Fields Filtering: - Custom fields must be prefixed with `custom_field__`. - - Example: custom_field__Due_date__gte="1738281600" (filtering users whose Due date is after the given Unix timestamp). + - Example: custom_field__Due_date__gte="1738281600" (filtering users whose Due_date is after the given Unix timestamp). - If include does not include "custom_fields" but filter contains custom_fields, an error will be returned :type filters: ProjectFilters, optional