Skip to content

Commit 1cb4159

Browse files
committed
fix type in def list_projects
1 parent 152b567 commit 1cb4159

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repos:
1414
- id: black
1515
name: Code Formatter (black)
1616
- repo: 'https://github.com/PyCQA/flake8'
17-
rev: 7.3.0
17+
rev: 6.1.0
1818
hooks:
1919
- id: flake8
2020
exclude: src/lib/app/analytics | src/lib/app/converters | src/lib/app/input_converters

src/superannotate/lib/app/interface/sdk_interface.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4195,7 +4195,7 @@ def list_projects(
41954195
41964196
:param filters: Specifies filtering criteria, with all conditions combined using logical AND.
41974197
4198-
- Only users matching all filter conditions are returned.
4198+
- Only projects matching all filter conditions are returned.
41994199
42004200
- If no filter operation is provided, an exact match is applied.
42014201
@@ -4229,7 +4229,7 @@ def list_projects(
42294229
Custom Fields Filtering:
42304230
42314231
- Custom fields must be prefixed with `custom_field__`.
4232-
- Example: custom_field__Due_date__gte="1738281600" (filtering users whose Due_date is after the given Unix timestamp).
4232+
- Example: custom_field__Due_date__gte="1738281600" (filtering projects whose Due_date is after the given Unix timestamp).
42334233
- If include does not include “custom_fields” but filter contains ‘custom_field’, an error will be returned
42344234
42354235
- **Text** custom field only works with the following filter params: __in, __notin, __contains

0 commit comments

Comments
 (0)