label-studio-sdk 2.0.9__py3-none-any.whl → 2.0.11__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/activity_logs/client.py +12 -0
- label_studio_sdk/annotation_history/client.py +36 -0
- label_studio_sdk/annotation_reviews/client.py +60 -0
- label_studio_sdk/billing/client.py +12 -0
- label_studio_sdk/comments/client.py +72 -0
- label_studio_sdk/export_storage/azure_spi/client.py +84 -0
- label_studio_sdk/export_storage/databricks/client.py +84 -0
- label_studio_sdk/export_storage/gcswif/client.py +84 -0
- label_studio_sdk/export_storage/s3s/client.py +84 -0
- label_studio_sdk/import_storage/azure_spi/client.py +84 -0
- label_studio_sdk/import_storage/databricks/client.py +84 -0
- label_studio_sdk/import_storage/gcswif/client.py +84 -0
- label_studio_sdk/import_storage/s3s/client.py +84 -0
- label_studio_sdk/label_interface/control_tags.py +12 -7
- label_studio_sdk/ml/client.py +14 -2
- label_studio_sdk/model_providers/client.py +72 -0
- label_studio_sdk/organizations/client.py +30 -6
- label_studio_sdk/organizations/invites/client.py +55 -6
- label_studio_sdk/organizations/members/client.py +24 -0
- label_studio_sdk/organizations/permissions/client.py +60 -0
- label_studio_sdk/project_templates/client.py +76 -4
- label_studio_sdk/projects/__init__.py +6 -0
- label_studio_sdk/projects/assignments/client.py +60 -0
- label_studio_sdk/projects/client.py +12 -0
- label_studio_sdk/projects/members/bulk/client.py +24 -0
- label_studio_sdk/projects/members/client.py +12 -0
- label_studio_sdk/projects/members/paginated/client.py +12 -0
- label_studio_sdk/projects/metrics/client.py +24 -0
- label_studio_sdk/projects/pauses/client.py +60 -0
- label_studio_sdk/projects/stats/__init__.py +6 -0
- label_studio_sdk/projects/stats/client.py +486 -1
- label_studio_sdk/projects/stats/types/__init__.py +6 -0
- label_studio_sdk/projects/stats/types/stats_model_version_annotator_agreement_response.py +19 -0
- label_studio_sdk/projects/stats/types/stats_model_version_ground_truth_agreement_response.py +19 -0
- label_studio_sdk/projects/stats/types/stats_model_version_prediction_agreement_response.py +19 -0
- label_studio_sdk/prompts/client.py +96 -0
- label_studio_sdk/prompts/indicators/client.py +24 -0
- label_studio_sdk/prompts/runs/client.py +36 -0
- label_studio_sdk/prompts/versions/client.py +84 -0
- label_studio_sdk/sso/saml/client.py +24 -0
- label_studio_sdk/sso/scim/client.py +24 -0
- label_studio_sdk/types/default_role.py +2 -2
- label_studio_sdk/types/lse_organization.py +1 -1
- label_studio_sdk/types/project_template.py +1 -1
- label_studio_sdk/types/project_template_request.py +1 -1
- label_studio_sdk/users/client.py +24 -0
- label_studio_sdk/versions/client.py +12 -0
- label_studio_sdk/workspaces/client.py +60 -0
- label_studio_sdk/workspaces/members/bulk/client.py +24 -0
- label_studio_sdk/workspaces/members/client.py +36 -0
- label_studio_sdk/workspaces/members/paginated/client.py +12 -0
- {label_studio_sdk-2.0.9.dist-info → label_studio_sdk-2.0.11.dist-info}/METADATA +1 -1
- {label_studio_sdk-2.0.9.dist-info → label_studio_sdk-2.0.11.dist-info}/RECORD +55 -52
- {label_studio_sdk-2.0.9.dist-info → label_studio_sdk-2.0.11.dist-info}/LICENSE +0 -0
- {label_studio_sdk-2.0.9.dist-info → label_studio_sdk-2.0.11.dist-info}/WHEEL +0 -0
|
@@ -23,6 +23,12 @@ class MetricsClient:
|
|
|
23
23
|
|
|
24
24
|
def get(self, id: int, *, request_options: typing.Optional[RequestOptions] = None) -> MetricParam:
|
|
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 current metrics configuration for a project.
|
|
27
33
|
|
|
28
34
|
Parameters
|
|
@@ -78,6 +84,12 @@ class MetricsClient:
|
|
|
78
84
|
request_options: typing.Optional[RequestOptions] = None,
|
|
79
85
|
) -> MetricParam:
|
|
80
86
|
"""
|
|
87
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
88
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
89
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
90
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
91
|
+
</p>
|
|
92
|
+
</Card>
|
|
81
93
|
Update metrics strategy and parameters for a project.
|
|
82
94
|
|
|
83
95
|
Parameters
|
|
@@ -148,6 +160,12 @@ class AsyncMetricsClient:
|
|
|
148
160
|
|
|
149
161
|
async def get(self, id: int, *, request_options: typing.Optional[RequestOptions] = None) -> MetricParam:
|
|
150
162
|
"""
|
|
163
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
164
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
165
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
166
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
167
|
+
</p>
|
|
168
|
+
</Card>
|
|
151
169
|
Get the current metrics configuration for a project.
|
|
152
170
|
|
|
153
171
|
Parameters
|
|
@@ -211,6 +229,12 @@ class AsyncMetricsClient:
|
|
|
211
229
|
request_options: typing.Optional[RequestOptions] = None,
|
|
212
230
|
) -> MetricParam:
|
|
213
231
|
"""
|
|
232
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
233
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
234
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
235
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
236
|
+
</p>
|
|
237
|
+
</Card>
|
|
214
238
|
Update metrics strategy and parameters for a project.
|
|
215
239
|
|
|
216
240
|
Parameters
|
|
@@ -29,6 +29,12 @@ class PausesClient:
|
|
|
29
29
|
request_options: typing.Optional[RequestOptions] = None,
|
|
30
30
|
) -> typing.List[Pause]:
|
|
31
31
|
"""
|
|
32
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
33
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
34
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
35
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
36
|
+
</p>
|
|
37
|
+
</Card>
|
|
32
38
|
Retrieve a list of all pauses.
|
|
33
39
|
|
|
34
40
|
Parameters
|
|
@@ -96,6 +102,12 @@ class PausesClient:
|
|
|
96
102
|
request_options: typing.Optional[RequestOptions] = None,
|
|
97
103
|
) -> Pause:
|
|
98
104
|
"""
|
|
105
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
106
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
107
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
108
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
109
|
+
</p>
|
|
110
|
+
</Card>
|
|
99
111
|
Create a new pause entry.
|
|
100
112
|
|
|
101
113
|
Parameters
|
|
@@ -165,6 +177,12 @@ class PausesClient:
|
|
|
165
177
|
self, id: str, project_pk: int, user_pk: int, *, request_options: typing.Optional[RequestOptions] = None
|
|
166
178
|
) -> Pause:
|
|
167
179
|
"""
|
|
180
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
181
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
182
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
183
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
184
|
+
</p>
|
|
185
|
+
</Card>
|
|
168
186
|
Retrieve a specific pause by ID.
|
|
169
187
|
|
|
170
188
|
Parameters
|
|
@@ -219,6 +237,12 @@ class PausesClient:
|
|
|
219
237
|
self, id: str, project_pk: int, user_pk: int, *, request_options: typing.Optional[RequestOptions] = None
|
|
220
238
|
) -> None:
|
|
221
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>
|
|
222
246
|
Delete a specific pause by ID.
|
|
223
247
|
|
|
224
248
|
Parameters
|
|
@@ -273,6 +297,12 @@ class PausesClient:
|
|
|
273
297
|
request_options: typing.Optional[RequestOptions] = None,
|
|
274
298
|
) -> Pause:
|
|
275
299
|
"""
|
|
300
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
301
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
302
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
303
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
304
|
+
</p>
|
|
305
|
+
</Card>
|
|
276
306
|
Partially update a pause entry by ID.
|
|
277
307
|
|
|
278
308
|
Parameters
|
|
@@ -358,6 +388,12 @@ class AsyncPausesClient:
|
|
|
358
388
|
request_options: typing.Optional[RequestOptions] = None,
|
|
359
389
|
) -> typing.List[Pause]:
|
|
360
390
|
"""
|
|
391
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
392
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
393
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
394
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
395
|
+
</p>
|
|
396
|
+
</Card>
|
|
361
397
|
Retrieve a list of all pauses.
|
|
362
398
|
|
|
363
399
|
Parameters
|
|
@@ -433,6 +469,12 @@ class AsyncPausesClient:
|
|
|
433
469
|
request_options: typing.Optional[RequestOptions] = None,
|
|
434
470
|
) -> Pause:
|
|
435
471
|
"""
|
|
472
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
473
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
474
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
475
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
476
|
+
</p>
|
|
477
|
+
</Card>
|
|
436
478
|
Create a new pause entry.
|
|
437
479
|
|
|
438
480
|
Parameters
|
|
@@ -510,6 +552,12 @@ class AsyncPausesClient:
|
|
|
510
552
|
self, id: str, project_pk: int, user_pk: int, *, request_options: typing.Optional[RequestOptions] = None
|
|
511
553
|
) -> Pause:
|
|
512
554
|
"""
|
|
555
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
556
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
557
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
558
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
559
|
+
</p>
|
|
560
|
+
</Card>
|
|
513
561
|
Retrieve a specific pause by ID.
|
|
514
562
|
|
|
515
563
|
Parameters
|
|
@@ -572,6 +620,12 @@ class AsyncPausesClient:
|
|
|
572
620
|
self, id: str, project_pk: int, user_pk: int, *, request_options: typing.Optional[RequestOptions] = None
|
|
573
621
|
) -> None:
|
|
574
622
|
"""
|
|
623
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
624
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
625
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
626
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
627
|
+
</p>
|
|
628
|
+
</Card>
|
|
575
629
|
Delete a specific pause by ID.
|
|
576
630
|
|
|
577
631
|
Parameters
|
|
@@ -634,6 +688,12 @@ class AsyncPausesClient:
|
|
|
634
688
|
request_options: typing.Optional[RequestOptions] = None,
|
|
635
689
|
) -> Pause:
|
|
636
690
|
"""
|
|
691
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
692
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
693
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
694
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
695
|
+
</p>
|
|
696
|
+
</Card>
|
|
637
697
|
Partially update a pause entry by ID.
|
|
638
698
|
|
|
639
699
|
Parameters
|
|
@@ -12,6 +12,9 @@ from .types import (
|
|
|
12
12
|
StatsIaaResponseStd,
|
|
13
13
|
StatsLeadTimeResponse,
|
|
14
14
|
StatsLeadTimeResponseLeadTimeStatsItem,
|
|
15
|
+
StatsModelVersionAnnotatorAgreementResponse,
|
|
16
|
+
StatsModelVersionGroundTruthAgreementResponse,
|
|
17
|
+
StatsModelVersionPredictionAgreementResponse,
|
|
15
18
|
StatsTotalAgreementResponse,
|
|
16
19
|
StatsTotalAgreementResponseOne,
|
|
17
20
|
StatsTotalAgreementResponseZero,
|
|
@@ -36,6 +39,9 @@ __all__ = [
|
|
|
36
39
|
"StatsIaaResponseStd",
|
|
37
40
|
"StatsLeadTimeResponse",
|
|
38
41
|
"StatsLeadTimeResponseLeadTimeStatsItem",
|
|
42
|
+
"StatsModelVersionAnnotatorAgreementResponse",
|
|
43
|
+
"StatsModelVersionGroundTruthAgreementResponse",
|
|
44
|
+
"StatsModelVersionPredictionAgreementResponse",
|
|
39
45
|
"StatsTotalAgreementResponse",
|
|
40
46
|
"StatsTotalAgreementResponseOne",
|
|
41
47
|
"StatsTotalAgreementResponseZero",
|