Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/superannotate/lib/app/interface/sdk_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,15 +511,15 @@ 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
- **Single-select** custom field only works with the following filter params: __in, __notin, __contains
- **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}
Expand Down Expand Up @@ -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
Expand Down