label-studio-sdk 2.0.12__py3-none-any.whl → 2.0.13__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of label-studio-sdk might be problematic. Click here for more details.
- label_studio_sdk/__init__.py +2 -8
- label_studio_sdk/actions/__init__.py +2 -0
- label_studio_sdk/actions/types/__init__.py +2 -0
- label_studio_sdk/actions/types/actions_list_response_item.py +2 -1
- label_studio_sdk/actions/types/actions_list_response_item_permission.py +5 -0
- label_studio_sdk/core/client_wrapper.py +6 -1
- label_studio_sdk/export_storage/azure/client.py +14 -10
- label_studio_sdk/export_storage/azure_spi/client.py +14 -10
- label_studio_sdk/export_storage/databricks/client.py +14 -10
- label_studio_sdk/export_storage/gcs/client.py +14 -10
- label_studio_sdk/export_storage/gcswif/client.py +14 -10
- label_studio_sdk/export_storage/local/client.py +14 -10
- label_studio_sdk/export_storage/redis/client.py +14 -10
- label_studio_sdk/export_storage/s3/client.py +14 -10
- label_studio_sdk/export_storage/s3s/client.py +14 -10
- label_studio_sdk/import_storage/azure/client.py +14 -10
- label_studio_sdk/import_storage/azure_spi/client.py +14 -10
- label_studio_sdk/import_storage/databricks/client.py +14 -10
- label_studio_sdk/import_storage/gcs/client.py +14 -10
- label_studio_sdk/import_storage/gcswif/client.py +14 -10
- label_studio_sdk/import_storage/local/client.py +14 -10
- label_studio_sdk/import_storage/redis/client.py +14 -10
- label_studio_sdk/import_storage/s3/client.py +14 -10
- label_studio_sdk/import_storage/s3s/client.py +14 -10
- label_studio_sdk/label_interface/control_tags.py +2 -1
- label_studio_sdk/organizations/__init__.py +1 -2
- label_studio_sdk/organizations/client.py +0 -36
- label_studio_sdk/organizations/permissions/client.py +32 -0
- label_studio_sdk/projects/__init__.py +10 -0
- label_studio_sdk/projects/metrics/custom/client.py +48 -0
- label_studio_sdk/projects/stats/__init__.py +10 -0
- label_studio_sdk/projects/stats/client.py +346 -0
- label_studio_sdk/projects/stats/types/__init__.py +14 -0
- label_studio_sdk/projects/stats/types/stats_users_ground_truth_agreement_response.py +27 -0
- label_studio_sdk/projects/stats/types/stats_users_ground_truth_agreement_response_agreement_value.py +5 -0
- label_studio_sdk/projects/stats/types/stats_users_review_score_response.py +35 -0
- label_studio_sdk/projects/stats/types/stats_users_review_score_response_performance_score_value.py +5 -0
- label_studio_sdk/projects/stats/types/stats_users_review_score_response_review_score_value.py +5 -0
- label_studio_sdk/prompts/versions/client.py +24 -0
- label_studio_sdk/tasks/client.py +10 -0
- label_studio_sdk/types/__init__.py +0 -6
- label_studio_sdk/types/activity_log.py +1 -0
- label_studio_sdk/types/all_roles_project_list.py +1 -1
- label_studio_sdk/types/billing_flags.py +1 -1
- label_studio_sdk/types/default_role.py +0 -9
- label_studio_sdk/types/import_api_request.py +5 -0
- label_studio_sdk/types/lse_organization.py +1 -10
- label_studio_sdk/types/lse_project.py +1 -5
- label_studio_sdk/types/lse_project_counts.py +1 -1
- label_studio_sdk/types/lse_task.py +5 -0
- label_studio_sdk/types/lse_task_serializer_for_reviewers.py +5 -0
- label_studio_sdk/versions/client.py +0 -12
- {label_studio_sdk-2.0.12.dist-info → label_studio_sdk-2.0.13.dist-info}/METADATA +1 -1
- {label_studio_sdk-2.0.12.dist-info → label_studio_sdk-2.0.13.dist-info}/RECORD +56 -55
- label_studio_sdk/organizations/types/__init__.py +0 -5
- label_studio_sdk/organizations/types/patched_default_role_request_custom_scripts_editable_by.py +0 -7
- label_studio_sdk/types/custom_scripts_editable_by_enum.py +0 -5
- label_studio_sdk/types/default_role_custom_scripts_editable_by.py +0 -7
- label_studio_sdk/types/lse_organization_custom_scripts_editable_by.py +0 -7
- {label_studio_sdk-2.0.12.dist-info → label_studio_sdk-2.0.13.dist-info}/LICENSE +0 -0
- {label_studio_sdk-2.0.12.dist-info → label_studio_sdk-2.0.13.dist-info}/WHEEL +0 -0
|
@@ -21,8 +21,8 @@ class S3Client:
|
|
|
21
21
|
def list(
|
|
22
22
|
self,
|
|
23
23
|
*,
|
|
24
|
+
project: int,
|
|
24
25
|
ordering: typing.Optional[str] = None,
|
|
25
|
-
project: typing.Optional[int] = None,
|
|
26
26
|
request_options: typing.Optional[RequestOptions] = None,
|
|
27
27
|
) -> typing.List[S3ImportStorage]:
|
|
28
28
|
"""
|
|
@@ -30,12 +30,12 @@ class S3Client:
|
|
|
30
30
|
|
|
31
31
|
Parameters
|
|
32
32
|
----------
|
|
33
|
+
project : int
|
|
34
|
+
Project ID
|
|
35
|
+
|
|
33
36
|
ordering : typing.Optional[str]
|
|
34
37
|
Which field to use when ordering the results.
|
|
35
38
|
|
|
36
|
-
project : typing.Optional[int]
|
|
37
|
-
Project ID
|
|
38
|
-
|
|
39
39
|
request_options : typing.Optional[RequestOptions]
|
|
40
40
|
Request-specific configuration.
|
|
41
41
|
|
|
@@ -51,7 +51,9 @@ class S3Client:
|
|
|
51
51
|
client = LabelStudio(
|
|
52
52
|
api_key="YOUR_API_KEY",
|
|
53
53
|
)
|
|
54
|
-
client.import_storage.s3.list(
|
|
54
|
+
client.import_storage.s3.list(
|
|
55
|
+
project=1,
|
|
56
|
+
)
|
|
55
57
|
"""
|
|
56
58
|
_response = self._client_wrapper.httpx_client.request(
|
|
57
59
|
"api/storages/s3/",
|
|
@@ -615,8 +617,8 @@ class AsyncS3Client:
|
|
|
615
617
|
async def list(
|
|
616
618
|
self,
|
|
617
619
|
*,
|
|
620
|
+
project: int,
|
|
618
621
|
ordering: typing.Optional[str] = None,
|
|
619
|
-
project: typing.Optional[int] = None,
|
|
620
622
|
request_options: typing.Optional[RequestOptions] = None,
|
|
621
623
|
) -> typing.List[S3ImportStorage]:
|
|
622
624
|
"""
|
|
@@ -624,12 +626,12 @@ class AsyncS3Client:
|
|
|
624
626
|
|
|
625
627
|
Parameters
|
|
626
628
|
----------
|
|
629
|
+
project : int
|
|
630
|
+
Project ID
|
|
631
|
+
|
|
627
632
|
ordering : typing.Optional[str]
|
|
628
633
|
Which field to use when ordering the results.
|
|
629
634
|
|
|
630
|
-
project : typing.Optional[int]
|
|
631
|
-
Project ID
|
|
632
|
-
|
|
633
635
|
request_options : typing.Optional[RequestOptions]
|
|
634
636
|
Request-specific configuration.
|
|
635
637
|
|
|
@@ -650,7 +652,9 @@ class AsyncS3Client:
|
|
|
650
652
|
|
|
651
653
|
|
|
652
654
|
async def main() -> None:
|
|
653
|
-
await client.import_storage.s3.list(
|
|
655
|
+
await client.import_storage.s3.list(
|
|
656
|
+
project=1,
|
|
657
|
+
)
|
|
654
658
|
|
|
655
659
|
|
|
656
660
|
asyncio.run(main())
|
|
@@ -23,8 +23,8 @@ class S3SClient:
|
|
|
23
23
|
def list(
|
|
24
24
|
self,
|
|
25
25
|
*,
|
|
26
|
+
project: int,
|
|
26
27
|
ordering: typing.Optional[str] = None,
|
|
27
|
-
project: typing.Optional[int] = None,
|
|
28
28
|
request_options: typing.Optional[RequestOptions] = None,
|
|
29
29
|
) -> typing.List[LseS3ImportStorage]:
|
|
30
30
|
"""
|
|
@@ -38,12 +38,12 @@ class S3SClient:
|
|
|
38
38
|
|
|
39
39
|
Parameters
|
|
40
40
|
----------
|
|
41
|
+
project : int
|
|
42
|
+
Project ID
|
|
43
|
+
|
|
41
44
|
ordering : typing.Optional[str]
|
|
42
45
|
Which field to use when ordering the results.
|
|
43
46
|
|
|
44
|
-
project : typing.Optional[int]
|
|
45
|
-
Project ID
|
|
46
|
-
|
|
47
47
|
request_options : typing.Optional[RequestOptions]
|
|
48
48
|
Request-specific configuration.
|
|
49
49
|
|
|
@@ -59,7 +59,9 @@ class S3SClient:
|
|
|
59
59
|
client = LabelStudio(
|
|
60
60
|
api_key="YOUR_API_KEY",
|
|
61
61
|
)
|
|
62
|
-
client.import_storage.s3s.list(
|
|
62
|
+
client.import_storage.s3s.list(
|
|
63
|
+
project=1,
|
|
64
|
+
)
|
|
63
65
|
"""
|
|
64
66
|
_response = self._client_wrapper.httpx_client.request(
|
|
65
67
|
"api/storages/s3s/",
|
|
@@ -788,8 +790,8 @@ class AsyncS3SClient:
|
|
|
788
790
|
async def list(
|
|
789
791
|
self,
|
|
790
792
|
*,
|
|
793
|
+
project: int,
|
|
791
794
|
ordering: typing.Optional[str] = None,
|
|
792
|
-
project: typing.Optional[int] = None,
|
|
793
795
|
request_options: typing.Optional[RequestOptions] = None,
|
|
794
796
|
) -> typing.List[LseS3ImportStorage]:
|
|
795
797
|
"""
|
|
@@ -803,12 +805,12 @@ class AsyncS3SClient:
|
|
|
803
805
|
|
|
804
806
|
Parameters
|
|
805
807
|
----------
|
|
808
|
+
project : int
|
|
809
|
+
Project ID
|
|
810
|
+
|
|
806
811
|
ordering : typing.Optional[str]
|
|
807
812
|
Which field to use when ordering the results.
|
|
808
813
|
|
|
809
|
-
project : typing.Optional[int]
|
|
810
|
-
Project ID
|
|
811
|
-
|
|
812
814
|
request_options : typing.Optional[RequestOptions]
|
|
813
815
|
Request-specific configuration.
|
|
814
816
|
|
|
@@ -829,7 +831,9 @@ class AsyncS3SClient:
|
|
|
829
831
|
|
|
830
832
|
|
|
831
833
|
async def main() -> None:
|
|
832
|
-
await client.import_storage.s3s.list(
|
|
834
|
+
await client.import_storage.s3s.list(
|
|
835
|
+
project=1,
|
|
836
|
+
)
|
|
833
837
|
|
|
834
838
|
|
|
835
839
|
asyncio.run(main())
|
|
@@ -986,7 +986,8 @@ class ChatMessageTag(ControlTag):
|
|
|
986
986
|
"role": {"type": "string"},
|
|
987
987
|
"content": {"type": "string"},
|
|
988
988
|
"createdAt": {"type": "number"}
|
|
989
|
-
}
|
|
989
|
+
},
|
|
990
|
+
"additionalProperties": True
|
|
990
991
|
}
|
|
991
992
|
},
|
|
992
993
|
"description": f"Chat message for {self.to_name[0]}"
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
|
-
from .types import PatchedDefaultRoleRequestCustomScriptsEditableBy
|
|
4
3
|
from . import invites, members, permissions
|
|
5
4
|
|
|
6
|
-
__all__ = ["
|
|
5
|
+
__all__ = ["invites", "members", "permissions"]
|
|
@@ -17,12 +17,8 @@ from ..errors.bad_request_error import BadRequestError
|
|
|
17
17
|
from ..errors.forbidden_error import ForbiddenError
|
|
18
18
|
from ..errors.not_found_error import NotFoundError
|
|
19
19
|
import datetime as dt
|
|
20
|
-
from .types.patched_default_role_request_custom_scripts_editable_by import (
|
|
21
|
-
PatchedDefaultRoleRequestCustomScriptsEditableBy,
|
|
22
|
-
)
|
|
23
20
|
from ..types.role9e7enum import Role9E7Enum
|
|
24
21
|
from ..types.default_role import DefaultRole
|
|
25
|
-
from ..core.serialization import convert_and_respect_annotation_metadata
|
|
26
22
|
from ..core.client_wrapper import AsyncClientWrapper
|
|
27
23
|
from .invites.client import AsyncInvitesClient
|
|
28
24
|
from .members.client import AsyncMembersClient
|
|
@@ -185,7 +181,6 @@ class OrganizationsClient:
|
|
|
185
181
|
*,
|
|
186
182
|
contact_info: typing.Optional[str] = OMIT,
|
|
187
183
|
created_by: typing.Optional[int] = OMIT,
|
|
188
|
-
custom_scripts_editable_by: typing.Optional[str] = OMIT,
|
|
189
184
|
custom_scripts_enabled: typing.Optional[bool] = OMIT,
|
|
190
185
|
email_notification_settings: typing.Optional[typing.Optional[typing.Any]] = OMIT,
|
|
191
186
|
embed_domains: typing.Optional[typing.Sequence[typing.Dict[str, str]]] = OMIT,
|
|
@@ -211,8 +206,6 @@ class OrganizationsClient:
|
|
|
211
206
|
|
|
212
207
|
created_by : typing.Optional[int]
|
|
213
208
|
|
|
214
|
-
custom_scripts_editable_by : typing.Optional[str]
|
|
215
|
-
|
|
216
209
|
custom_scripts_enabled : typing.Optional[bool]
|
|
217
210
|
|
|
218
211
|
email_notification_settings : typing.Optional[typing.Optional[typing.Any]]
|
|
@@ -250,7 +243,6 @@ class OrganizationsClient:
|
|
|
250
243
|
json={
|
|
251
244
|
"contact_info": contact_info,
|
|
252
245
|
"created_by": created_by,
|
|
253
|
-
"custom_scripts_editable_by": custom_scripts_editable_by,
|
|
254
246
|
"custom_scripts_enabled": custom_scripts_enabled,
|
|
255
247
|
"email_notification_settings": email_notification_settings,
|
|
256
248
|
"embed_domains": embed_domains,
|
|
@@ -313,7 +305,6 @@ class OrganizationsClient:
|
|
|
313
305
|
id: int,
|
|
314
306
|
*,
|
|
315
307
|
annotator_reviewer_firewall_enabled_at: typing.Optional[dt.datetime] = OMIT,
|
|
316
|
-
custom_scripts_editable_by: typing.Optional[PatchedDefaultRoleRequestCustomScriptsEditableBy] = OMIT,
|
|
317
308
|
custom_scripts_enabled_at: typing.Optional[dt.datetime] = OMIT,
|
|
318
309
|
default_role: typing.Optional[Role9E7Enum] = OMIT,
|
|
319
310
|
email_notification_settings: typing.Optional[typing.Optional[typing.Any]] = OMIT,
|
|
@@ -342,12 +333,6 @@ class OrganizationsClient:
|
|
|
342
333
|
annotator_reviewer_firewall_enabled_at : typing.Optional[dt.datetime]
|
|
343
334
|
Set to current time to restrict data sharing between annotators and reviewers in the label stream, review stream, and notifications (which will be disabled). In these settings, information about annotator and reviewer identity is suppressed in the UI.
|
|
344
335
|
|
|
345
|
-
custom_scripts_editable_by : typing.Optional[PatchedDefaultRoleRequestCustomScriptsEditableBy]
|
|
346
|
-
Set the minimum user role that can edit custom scripts (Plugins) in the UI.
|
|
347
|
-
|
|
348
|
-
* `AD` - Administrator
|
|
349
|
-
* `MA` - Manager
|
|
350
|
-
|
|
351
336
|
custom_scripts_enabled_at : typing.Optional[dt.datetime]
|
|
352
337
|
Set to current time to enable custom scripts (Plugins) for this organization. Can only be enabled if no organization members are active members of any other organizations; otherwise an error will be raised. If this occurs, contact the LEAP team for assistance with enabling custom scripts (Plugins).
|
|
353
338
|
|
|
@@ -406,11 +391,6 @@ class OrganizationsClient:
|
|
|
406
391
|
method="PATCH",
|
|
407
392
|
json={
|
|
408
393
|
"annotator_reviewer_firewall_enabled_at": annotator_reviewer_firewall_enabled_at,
|
|
409
|
-
"custom_scripts_editable_by": convert_and_respect_annotation_metadata(
|
|
410
|
-
object_=custom_scripts_editable_by,
|
|
411
|
-
annotation=PatchedDefaultRoleRequestCustomScriptsEditableBy,
|
|
412
|
-
direction="write",
|
|
413
|
-
),
|
|
414
394
|
"custom_scripts_enabled_at": custom_scripts_enabled_at,
|
|
415
395
|
"default_role": default_role,
|
|
416
396
|
"email_notification_settings": email_notification_settings,
|
|
@@ -620,7 +600,6 @@ class AsyncOrganizationsClient:
|
|
|
620
600
|
*,
|
|
621
601
|
contact_info: typing.Optional[str] = OMIT,
|
|
622
602
|
created_by: typing.Optional[int] = OMIT,
|
|
623
|
-
custom_scripts_editable_by: typing.Optional[str] = OMIT,
|
|
624
603
|
custom_scripts_enabled: typing.Optional[bool] = OMIT,
|
|
625
604
|
email_notification_settings: typing.Optional[typing.Optional[typing.Any]] = OMIT,
|
|
626
605
|
embed_domains: typing.Optional[typing.Sequence[typing.Dict[str, str]]] = OMIT,
|
|
@@ -646,8 +625,6 @@ class AsyncOrganizationsClient:
|
|
|
646
625
|
|
|
647
626
|
created_by : typing.Optional[int]
|
|
648
627
|
|
|
649
|
-
custom_scripts_editable_by : typing.Optional[str]
|
|
650
|
-
|
|
651
628
|
custom_scripts_enabled : typing.Optional[bool]
|
|
652
629
|
|
|
653
630
|
email_notification_settings : typing.Optional[typing.Optional[typing.Any]]
|
|
@@ -693,7 +670,6 @@ class AsyncOrganizationsClient:
|
|
|
693
670
|
json={
|
|
694
671
|
"contact_info": contact_info,
|
|
695
672
|
"created_by": created_by,
|
|
696
|
-
"custom_scripts_editable_by": custom_scripts_editable_by,
|
|
697
673
|
"custom_scripts_enabled": custom_scripts_enabled,
|
|
698
674
|
"email_notification_settings": email_notification_settings,
|
|
699
675
|
"embed_domains": embed_domains,
|
|
@@ -756,7 +732,6 @@ class AsyncOrganizationsClient:
|
|
|
756
732
|
id: int,
|
|
757
733
|
*,
|
|
758
734
|
annotator_reviewer_firewall_enabled_at: typing.Optional[dt.datetime] = OMIT,
|
|
759
|
-
custom_scripts_editable_by: typing.Optional[PatchedDefaultRoleRequestCustomScriptsEditableBy] = OMIT,
|
|
760
735
|
custom_scripts_enabled_at: typing.Optional[dt.datetime] = OMIT,
|
|
761
736
|
default_role: typing.Optional[Role9E7Enum] = OMIT,
|
|
762
737
|
email_notification_settings: typing.Optional[typing.Optional[typing.Any]] = OMIT,
|
|
@@ -785,12 +760,6 @@ class AsyncOrganizationsClient:
|
|
|
785
760
|
annotator_reviewer_firewall_enabled_at : typing.Optional[dt.datetime]
|
|
786
761
|
Set to current time to restrict data sharing between annotators and reviewers in the label stream, review stream, and notifications (which will be disabled). In these settings, information about annotator and reviewer identity is suppressed in the UI.
|
|
787
762
|
|
|
788
|
-
custom_scripts_editable_by : typing.Optional[PatchedDefaultRoleRequestCustomScriptsEditableBy]
|
|
789
|
-
Set the minimum user role that can edit custom scripts (Plugins) in the UI.
|
|
790
|
-
|
|
791
|
-
* `AD` - Administrator
|
|
792
|
-
* `MA` - Manager
|
|
793
|
-
|
|
794
763
|
custom_scripts_enabled_at : typing.Optional[dt.datetime]
|
|
795
764
|
Set to current time to enable custom scripts (Plugins) for this organization. Can only be enabled if no organization members are active members of any other organizations; otherwise an error will be raised. If this occurs, contact the LEAP team for assistance with enabling custom scripts (Plugins).
|
|
796
765
|
|
|
@@ -857,11 +826,6 @@ class AsyncOrganizationsClient:
|
|
|
857
826
|
method="PATCH",
|
|
858
827
|
json={
|
|
859
828
|
"annotator_reviewer_firewall_enabled_at": annotator_reviewer_firewall_enabled_at,
|
|
860
|
-
"custom_scripts_editable_by": convert_and_respect_annotation_metadata(
|
|
861
|
-
object_=custom_scripts_editable_by,
|
|
862
|
-
annotation=PatchedDefaultRoleRequestCustomScriptsEditableBy,
|
|
863
|
-
direction="write",
|
|
864
|
-
),
|
|
865
829
|
"custom_scripts_enabled_at": custom_scripts_enabled_at,
|
|
866
830
|
"default_role": default_role,
|
|
867
831
|
"email_notification_settings": email_notification_settings,
|
|
@@ -237,6 +237,14 @@ class PermissionsClient:
|
|
|
237
237
|
self, id: int, permission: str, *, request_options: typing.Optional[RequestOptions] = None
|
|
238
238
|
) -> OrganizationPermission:
|
|
239
239
|
"""
|
|
240
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
241
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
242
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
243
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
244
|
+
</p>
|
|
245
|
+
</Card>
|
|
246
|
+
Retrieve the organization-level permission override for a given permission key.
|
|
247
|
+
|
|
240
248
|
Parameters
|
|
241
249
|
----------
|
|
242
250
|
id : int
|
|
@@ -410,6 +418,14 @@ class PermissionsClient:
|
|
|
410
418
|
|
|
411
419
|
def delete(self, id: int, permission: str, *, request_options: typing.Optional[RequestOptions] = None) -> None:
|
|
412
420
|
"""
|
|
421
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
422
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
423
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
424
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
425
|
+
</p>
|
|
426
|
+
</Card>
|
|
427
|
+
Delete the organization-level permission override for a given permission key.
|
|
428
|
+
|
|
413
429
|
Parameters
|
|
414
430
|
----------
|
|
415
431
|
id : int
|
|
@@ -817,6 +833,14 @@ class AsyncPermissionsClient:
|
|
|
817
833
|
self, id: int, permission: str, *, request_options: typing.Optional[RequestOptions] = None
|
|
818
834
|
) -> OrganizationPermission:
|
|
819
835
|
"""
|
|
836
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
837
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
838
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
839
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
840
|
+
</p>
|
|
841
|
+
</Card>
|
|
842
|
+
Retrieve the organization-level permission override for a given permission key.
|
|
843
|
+
|
|
820
844
|
Parameters
|
|
821
845
|
----------
|
|
822
846
|
id : int
|
|
@@ -1008,6 +1032,14 @@ class AsyncPermissionsClient:
|
|
|
1008
1032
|
self, id: int, permission: str, *, request_options: typing.Optional[RequestOptions] = None
|
|
1009
1033
|
) -> None:
|
|
1010
1034
|
"""
|
|
1035
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
1036
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
1037
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
1038
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
1039
|
+
</p>
|
|
1040
|
+
</Card>
|
|
1041
|
+
Delete the organization-level permission override for a given permission key.
|
|
1042
|
+
|
|
1011
1043
|
Parameters
|
|
1012
1044
|
----------
|
|
1013
1045
|
id : int
|
|
@@ -53,8 +53,13 @@ from .stats import (
|
|
|
53
53
|
StatsUserReviewScoreResponse,
|
|
54
54
|
StatsUserReviewScoreResponsePerformanceScore,
|
|
55
55
|
StatsUserReviewScoreResponseReviewScore,
|
|
56
|
+
StatsUsersGroundTruthAgreementResponse,
|
|
57
|
+
StatsUsersGroundTruthAgreementResponseAgreementValue,
|
|
56
58
|
StatsUsersPredictionAgreementResponse,
|
|
57
59
|
StatsUsersPredictionAgreementResponseAgreementValue,
|
|
60
|
+
StatsUsersReviewScoreResponse,
|
|
61
|
+
StatsUsersReviewScoreResponsePerformanceScoreValue,
|
|
62
|
+
StatsUsersReviewScoreResponseReviewScoreValue,
|
|
58
63
|
)
|
|
59
64
|
|
|
60
65
|
__all__ = [
|
|
@@ -105,8 +110,13 @@ __all__ = [
|
|
|
105
110
|
"StatsUserReviewScoreResponse",
|
|
106
111
|
"StatsUserReviewScoreResponsePerformanceScore",
|
|
107
112
|
"StatsUserReviewScoreResponseReviewScore",
|
|
113
|
+
"StatsUsersGroundTruthAgreementResponse",
|
|
114
|
+
"StatsUsersGroundTruthAgreementResponseAgreementValue",
|
|
108
115
|
"StatsUsersPredictionAgreementResponse",
|
|
109
116
|
"StatsUsersPredictionAgreementResponseAgreementValue",
|
|
117
|
+
"StatsUsersReviewScoreResponse",
|
|
118
|
+
"StatsUsersReviewScoreResponsePerformanceScoreValue",
|
|
119
|
+
"StatsUsersReviewScoreResponseReviewScoreValue",
|
|
110
120
|
"assignments",
|
|
111
121
|
"exports",
|
|
112
122
|
"members",
|
|
@@ -23,6 +23,12 @@ class CustomClient:
|
|
|
23
23
|
self, id: int, *, request_options: typing.Optional[RequestOptions] = None
|
|
24
24
|
) -> CustomGetLambdaResponse:
|
|
25
25
|
"""
|
|
26
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
27
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
28
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
29
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
30
|
+
</p>
|
|
31
|
+
</Card>
|
|
26
32
|
Get the AWS Lambda code for the custom metric configured for this project.
|
|
27
33
|
|
|
28
34
|
Parameters
|
|
@@ -77,6 +83,12 @@ class CustomClient:
|
|
|
77
83
|
request_options: typing.Optional[RequestOptions] = None,
|
|
78
84
|
) -> None:
|
|
79
85
|
"""
|
|
86
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
87
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
88
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
89
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
90
|
+
</p>
|
|
91
|
+
</Card>
|
|
80
92
|
Create or update the AWS Lambda function used for custom metrics in this project.
|
|
81
93
|
|
|
82
94
|
Parameters
|
|
@@ -150,6 +162,12 @@ class CustomClient:
|
|
|
150
162
|
request_options: typing.Optional[RequestOptions] = None,
|
|
151
163
|
) -> typing.Dict[str, typing.Optional[typing.Any]]:
|
|
152
164
|
"""
|
|
165
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
166
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
167
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
168
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
169
|
+
</p>
|
|
170
|
+
</Card>
|
|
153
171
|
Get AWS lambda logs for project, including filtering by start and end dates
|
|
154
172
|
|
|
155
173
|
Parameters
|
|
@@ -210,6 +228,12 @@ class CustomClient:
|
|
|
210
228
|
|
|
211
229
|
def check_function(self, id: int, *, code: str, request_options: typing.Optional[RequestOptions] = None) -> None:
|
|
212
230
|
"""
|
|
231
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
232
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
233
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
234
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
235
|
+
</p>
|
|
236
|
+
</Card>
|
|
213
237
|
Validate custom matching function code for the project.
|
|
214
238
|
|
|
215
239
|
Parameters
|
|
@@ -266,6 +290,12 @@ class AsyncCustomClient:
|
|
|
266
290
|
self, id: int, *, request_options: typing.Optional[RequestOptions] = None
|
|
267
291
|
) -> CustomGetLambdaResponse:
|
|
268
292
|
"""
|
|
293
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
294
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
295
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
296
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
297
|
+
</p>
|
|
298
|
+
</Card>
|
|
269
299
|
Get the AWS Lambda code for the custom metric configured for this project.
|
|
270
300
|
|
|
271
301
|
Parameters
|
|
@@ -328,6 +358,12 @@ class AsyncCustomClient:
|
|
|
328
358
|
request_options: typing.Optional[RequestOptions] = None,
|
|
329
359
|
) -> None:
|
|
330
360
|
"""
|
|
361
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
362
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
363
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
364
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
365
|
+
</p>
|
|
366
|
+
</Card>
|
|
331
367
|
Create or update the AWS Lambda function used for custom metrics in this project.
|
|
332
368
|
|
|
333
369
|
Parameters
|
|
@@ -409,6 +445,12 @@ class AsyncCustomClient:
|
|
|
409
445
|
request_options: typing.Optional[RequestOptions] = None,
|
|
410
446
|
) -> typing.Dict[str, typing.Optional[typing.Any]]:
|
|
411
447
|
"""
|
|
448
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
449
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
450
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
451
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
452
|
+
</p>
|
|
453
|
+
</Card>
|
|
412
454
|
Get AWS lambda logs for project, including filtering by start and end dates
|
|
413
455
|
|
|
414
456
|
Parameters
|
|
@@ -479,6 +521,12 @@ class AsyncCustomClient:
|
|
|
479
521
|
self, id: int, *, code: str, request_options: typing.Optional[RequestOptions] = None
|
|
480
522
|
) -> None:
|
|
481
523
|
"""
|
|
524
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
525
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
526
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
527
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
528
|
+
</p>
|
|
529
|
+
</Card>
|
|
482
530
|
Validate custom matching function code for the project.
|
|
483
531
|
|
|
484
532
|
Parameters
|
|
@@ -26,8 +26,13 @@ from .types import (
|
|
|
26
26
|
StatsUserReviewScoreResponse,
|
|
27
27
|
StatsUserReviewScoreResponsePerformanceScore,
|
|
28
28
|
StatsUserReviewScoreResponseReviewScore,
|
|
29
|
+
StatsUsersGroundTruthAgreementResponse,
|
|
30
|
+
StatsUsersGroundTruthAgreementResponseAgreementValue,
|
|
29
31
|
StatsUsersPredictionAgreementResponse,
|
|
30
32
|
StatsUsersPredictionAgreementResponseAgreementValue,
|
|
33
|
+
StatsUsersReviewScoreResponse,
|
|
34
|
+
StatsUsersReviewScoreResponsePerformanceScoreValue,
|
|
35
|
+
StatsUsersReviewScoreResponseReviewScoreValue,
|
|
31
36
|
)
|
|
32
37
|
|
|
33
38
|
__all__ = [
|
|
@@ -56,6 +61,11 @@ __all__ = [
|
|
|
56
61
|
"StatsUserReviewScoreResponse",
|
|
57
62
|
"StatsUserReviewScoreResponsePerformanceScore",
|
|
58
63
|
"StatsUserReviewScoreResponseReviewScore",
|
|
64
|
+
"StatsUsersGroundTruthAgreementResponse",
|
|
65
|
+
"StatsUsersGroundTruthAgreementResponseAgreementValue",
|
|
59
66
|
"StatsUsersPredictionAgreementResponse",
|
|
60
67
|
"StatsUsersPredictionAgreementResponseAgreementValue",
|
|
68
|
+
"StatsUsersReviewScoreResponse",
|
|
69
|
+
"StatsUsersReviewScoreResponsePerformanceScoreValue",
|
|
70
|
+
"StatsUsersReviewScoreResponseReviewScoreValue",
|
|
61
71
|
]
|