Skip to content

Commit 5fc21d8

Browse files
feat: UTC-647: Hide projects from Archived workspaces in project list (#9528)
Co-authored-by: robot-ci-heartex <robot-ci-heartex@users.noreply.github.com> Co-authored-by: Marcel Canu <marcel@humansignal.com> Co-authored-by: mcanu <mcanu@users.noreply.github.com>
1 parent 48e99cf commit 5fc21d8

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

label_studio/core/utils/filterset_to_openapi_params.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,10 @@ def _get_filter_description(filter_field: Any) -> str:
233233
if hasattr(filter_field, 'help_text') and filter_field.help_text:
234234
return str(filter_field.help_text)
235235

236+
# Check for help_text in extra
237+
if hasattr(filter_field, 'extra') and filter_field.extra.get('help_text'):
238+
return str(filter_field.extra.get('help_text'))
239+
236240
# Check for label
237241
if hasattr(filter_field, 'label') and filter_field.label:
238242
return str(filter_field.label)

poetry.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ dependencies = [
7272
"tldextract (>=5.1.3)",
7373
"uuid-utils (>=0.11.0,<1.0.0)",
7474
## HumanSignal repo dependencies :start
75-
"label-studio-sdk @ https://github.com/HumanSignal/label-studio-sdk/archive/db8d24f339c3666ce7298659d29870051496241a.zip",
75+
"label-studio-sdk @ https://github.com/HumanSignal/label-studio-sdk/archive/5507881131a9d907eb8fb590226bb6346f44cd68.zip",
7676
## HumanSignal repo dependencies :end
7777
]
7878

0 commit comments

Comments
 (0)