label-studio-sdk 2.0.10__py3-none-any.whl → 2.0.12__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 +10 -0
- 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 +24 -0
- 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 +14 -1
- label_studio_sdk/projects/assignments/client.py +60 -0
- label_studio_sdk/projects/client.py +20 -0
- label_studio_sdk/projects/members/bulk/client.py +24 -0
- label_studio_sdk/projects/members/client.py +149 -30
- 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/roles/__init__.py +2 -0
- label_studio_sdk/projects/roles/client.py +555 -0
- label_studio_sdk/projects/stats/__init__.py +12 -0
- label_studio_sdk/projects/stats/client.py +766 -1
- label_studio_sdk/projects/stats/types/__init__.py +14 -0
- label_studio_sdk/projects/stats/types/stats_agreement_annotators_response.py +22 -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/projects/stats/types/stats_users_prediction_agreement_response.py +27 -0
- label_studio_sdk/projects/stats/types/stats_users_prediction_agreement_response_agreement_value.py +5 -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/__init__.py +10 -0
- label_studio_sdk/types/all_roles_project_list.py +5 -1
- label_studio_sdk/types/default_role.py +2 -2
- label_studio_sdk/types/lse_organization.py +1 -1
- label_studio_sdk/types/lse_project.py +5 -1
- label_studio_sdk/types/lse_project_create.py +5 -1
- label_studio_sdk/types/lse_project_response.py +5 -1
- label_studio_sdk/types/lse_project_update.py +5 -1
- label_studio_sdk/types/project.py +198 -0
- label_studio_sdk/types/project_member.py +19 -0
- label_studio_sdk/types/project_role.py +35 -0
- label_studio_sdk/types/project_sampling.py +7 -0
- label_studio_sdk/types/project_skip_queue.py +7 -0
- 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/__init__.py +2 -2
- label_studio_sdk/workspaces/client.py +4 -0
- label_studio_sdk/workspaces/projects/__init__.py +2 -0
- label_studio_sdk/workspaces/projects/client.py +352 -0
- {label_studio_sdk-2.0.10.dist-info → label_studio_sdk-2.0.12.dist-info}/METADATA +1 -1
- {label_studio_sdk-2.0.10.dist-info → label_studio_sdk-2.0.12.dist-info}/RECORD +72 -57
- {label_studio_sdk-2.0.10.dist-info → label_studio_sdk-2.0.12.dist-info}/LICENSE +0 -0
- {label_studio_sdk-2.0.10.dist-info → label_studio_sdk-2.0.12.dist-info}/WHEEL +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
|
+
import typing
|
|
3
4
|
from ...core.client_wrapper import SyncClientWrapper
|
|
4
5
|
from .bulk.client import BulkClient
|
|
5
6
|
from .paginated.client import PaginatedClient
|
|
6
|
-
import typing
|
|
7
7
|
from ...core.request_options import RequestOptions
|
|
8
|
-
from ...types.
|
|
8
|
+
from ...types.project_member import ProjectMember
|
|
9
9
|
from ...core.jsonable_encoder import jsonable_encoder
|
|
10
10
|
from ...core.unchecked_base_model import construct_type
|
|
11
11
|
from json.decoder import JSONDecodeError
|
|
@@ -14,6 +14,9 @@ from ...core.client_wrapper import AsyncClientWrapper
|
|
|
14
14
|
from .bulk.client import AsyncBulkClient
|
|
15
15
|
from .paginated.client import AsyncPaginatedClient
|
|
16
16
|
|
|
17
|
+
# this is used as the default value for optional parameters
|
|
18
|
+
OMIT = typing.cast(typing.Any, ...)
|
|
19
|
+
|
|
17
20
|
|
|
18
21
|
class MembersClient:
|
|
19
22
|
def __init__(self, *, client_wrapper: SyncClientWrapper):
|
|
@@ -21,26 +24,29 @@ class MembersClient:
|
|
|
21
24
|
self.bulk = BulkClient(client_wrapper=self._client_wrapper)
|
|
22
25
|
self.paginated = PaginatedClient(client_wrapper=self._client_wrapper)
|
|
23
26
|
|
|
24
|
-
def
|
|
25
|
-
self, id: int, *, user_ids: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None
|
|
26
|
-
) -> typing.List[LseUser]:
|
|
27
|
+
def add(self, id: int, *, user: int, request_options: typing.Optional[RequestOptions] = None) -> ProjectMember:
|
|
27
28
|
"""
|
|
28
|
-
|
|
29
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
30
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
31
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
32
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
33
|
+
</p>
|
|
34
|
+
</Card>
|
|
35
|
+
Add a member to a specific project.
|
|
29
36
|
|
|
30
37
|
Parameters
|
|
31
38
|
----------
|
|
32
39
|
id : int
|
|
33
40
|
|
|
34
|
-
|
|
35
|
-
Comma-separated list of user IDs to include. Example: user_ids=1,2,3
|
|
41
|
+
user : int
|
|
36
42
|
|
|
37
43
|
request_options : typing.Optional[RequestOptions]
|
|
38
44
|
Request-specific configuration.
|
|
39
45
|
|
|
40
46
|
Returns
|
|
41
47
|
-------
|
|
42
|
-
|
|
43
|
-
|
|
48
|
+
ProjectMember
|
|
49
|
+
|
|
44
50
|
|
|
45
51
|
Examples
|
|
46
52
|
--------
|
|
@@ -49,24 +55,29 @@ class MembersClient:
|
|
|
49
55
|
client = LabelStudio(
|
|
50
56
|
api_key="YOUR_API_KEY",
|
|
51
57
|
)
|
|
52
|
-
client.projects.members.
|
|
58
|
+
client.projects.members.add(
|
|
53
59
|
id=1,
|
|
60
|
+
user=1,
|
|
54
61
|
)
|
|
55
62
|
"""
|
|
56
63
|
_response = self._client_wrapper.httpx_client.request(
|
|
57
64
|
f"api/projects/{jsonable_encoder(id)}/members/",
|
|
58
|
-
method="
|
|
59
|
-
|
|
60
|
-
"
|
|
65
|
+
method="POST",
|
|
66
|
+
json={
|
|
67
|
+
"user": user,
|
|
68
|
+
},
|
|
69
|
+
headers={
|
|
70
|
+
"content-type": "application/json",
|
|
61
71
|
},
|
|
62
72
|
request_options=request_options,
|
|
73
|
+
omit=OMIT,
|
|
63
74
|
)
|
|
64
75
|
try:
|
|
65
76
|
if 200 <= _response.status_code < 300:
|
|
66
77
|
return typing.cast(
|
|
67
|
-
|
|
78
|
+
ProjectMember,
|
|
68
79
|
construct_type(
|
|
69
|
-
type_=
|
|
80
|
+
type_=ProjectMember, # type: ignore
|
|
70
81
|
object_=_response.json(),
|
|
71
82
|
),
|
|
72
83
|
)
|
|
@@ -75,6 +86,51 @@ class MembersClient:
|
|
|
75
86
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
|
76
87
|
raise ApiError(status_code=_response.status_code, body=_response_json)
|
|
77
88
|
|
|
89
|
+
def remove(self, id: int, *, request_options: typing.Optional[RequestOptions] = None) -> None:
|
|
90
|
+
"""
|
|
91
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
92
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
93
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
94
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
95
|
+
</p>
|
|
96
|
+
</Card>
|
|
97
|
+
Remove a member from a specific project.
|
|
98
|
+
|
|
99
|
+
Parameters
|
|
100
|
+
----------
|
|
101
|
+
id : int
|
|
102
|
+
|
|
103
|
+
request_options : typing.Optional[RequestOptions]
|
|
104
|
+
Request-specific configuration.
|
|
105
|
+
|
|
106
|
+
Returns
|
|
107
|
+
-------
|
|
108
|
+
None
|
|
109
|
+
|
|
110
|
+
Examples
|
|
111
|
+
--------
|
|
112
|
+
from label_studio_sdk import LabelStudio
|
|
113
|
+
|
|
114
|
+
client = LabelStudio(
|
|
115
|
+
api_key="YOUR_API_KEY",
|
|
116
|
+
)
|
|
117
|
+
client.projects.members.remove(
|
|
118
|
+
id=1,
|
|
119
|
+
)
|
|
120
|
+
"""
|
|
121
|
+
_response = self._client_wrapper.httpx_client.request(
|
|
122
|
+
f"api/projects/{jsonable_encoder(id)}/members/",
|
|
123
|
+
method="DELETE",
|
|
124
|
+
request_options=request_options,
|
|
125
|
+
)
|
|
126
|
+
try:
|
|
127
|
+
if 200 <= _response.status_code < 300:
|
|
128
|
+
return
|
|
129
|
+
_response_json = _response.json()
|
|
130
|
+
except JSONDecodeError:
|
|
131
|
+
raise ApiError(status_code=_response.status_code, body=_response.text)
|
|
132
|
+
raise ApiError(status_code=_response.status_code, body=_response_json)
|
|
133
|
+
|
|
78
134
|
|
|
79
135
|
class AsyncMembersClient:
|
|
80
136
|
def __init__(self, *, client_wrapper: AsyncClientWrapper):
|
|
@@ -82,26 +138,31 @@ class AsyncMembersClient:
|
|
|
82
138
|
self.bulk = AsyncBulkClient(client_wrapper=self._client_wrapper)
|
|
83
139
|
self.paginated = AsyncPaginatedClient(client_wrapper=self._client_wrapper)
|
|
84
140
|
|
|
85
|
-
async def
|
|
86
|
-
self, id: int, *,
|
|
87
|
-
) ->
|
|
141
|
+
async def add(
|
|
142
|
+
self, id: int, *, user: int, request_options: typing.Optional[RequestOptions] = None
|
|
143
|
+
) -> ProjectMember:
|
|
88
144
|
"""
|
|
89
|
-
|
|
145
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
146
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
147
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
148
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
149
|
+
</p>
|
|
150
|
+
</Card>
|
|
151
|
+
Add a member to a specific project.
|
|
90
152
|
|
|
91
153
|
Parameters
|
|
92
154
|
----------
|
|
93
155
|
id : int
|
|
94
156
|
|
|
95
|
-
|
|
96
|
-
Comma-separated list of user IDs to include. Example: user_ids=1,2,3
|
|
157
|
+
user : int
|
|
97
158
|
|
|
98
159
|
request_options : typing.Optional[RequestOptions]
|
|
99
160
|
Request-specific configuration.
|
|
100
161
|
|
|
101
162
|
Returns
|
|
102
163
|
-------
|
|
103
|
-
|
|
104
|
-
|
|
164
|
+
ProjectMember
|
|
165
|
+
|
|
105
166
|
|
|
106
167
|
Examples
|
|
107
168
|
--------
|
|
@@ -115,8 +176,9 @@ class AsyncMembersClient:
|
|
|
115
176
|
|
|
116
177
|
|
|
117
178
|
async def main() -> None:
|
|
118
|
-
await client.projects.members.
|
|
179
|
+
await client.projects.members.add(
|
|
119
180
|
id=1,
|
|
181
|
+
user=1,
|
|
120
182
|
)
|
|
121
183
|
|
|
122
184
|
|
|
@@ -124,18 +186,22 @@ class AsyncMembersClient:
|
|
|
124
186
|
"""
|
|
125
187
|
_response = await self._client_wrapper.httpx_client.request(
|
|
126
188
|
f"api/projects/{jsonable_encoder(id)}/members/",
|
|
127
|
-
method="
|
|
128
|
-
|
|
129
|
-
"
|
|
189
|
+
method="POST",
|
|
190
|
+
json={
|
|
191
|
+
"user": user,
|
|
192
|
+
},
|
|
193
|
+
headers={
|
|
194
|
+
"content-type": "application/json",
|
|
130
195
|
},
|
|
131
196
|
request_options=request_options,
|
|
197
|
+
omit=OMIT,
|
|
132
198
|
)
|
|
133
199
|
try:
|
|
134
200
|
if 200 <= _response.status_code < 300:
|
|
135
201
|
return typing.cast(
|
|
136
|
-
|
|
202
|
+
ProjectMember,
|
|
137
203
|
construct_type(
|
|
138
|
-
type_=
|
|
204
|
+
type_=ProjectMember, # type: ignore
|
|
139
205
|
object_=_response.json(),
|
|
140
206
|
),
|
|
141
207
|
)
|
|
@@ -143,3 +209,56 @@ class AsyncMembersClient:
|
|
|
143
209
|
except JSONDecodeError:
|
|
144
210
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
|
145
211
|
raise ApiError(status_code=_response.status_code, body=_response_json)
|
|
212
|
+
|
|
213
|
+
async def remove(self, id: int, *, request_options: typing.Optional[RequestOptions] = None) -> None:
|
|
214
|
+
"""
|
|
215
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
216
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
217
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
218
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
219
|
+
</p>
|
|
220
|
+
</Card>
|
|
221
|
+
Remove a member from a specific project.
|
|
222
|
+
|
|
223
|
+
Parameters
|
|
224
|
+
----------
|
|
225
|
+
id : int
|
|
226
|
+
|
|
227
|
+
request_options : typing.Optional[RequestOptions]
|
|
228
|
+
Request-specific configuration.
|
|
229
|
+
|
|
230
|
+
Returns
|
|
231
|
+
-------
|
|
232
|
+
None
|
|
233
|
+
|
|
234
|
+
Examples
|
|
235
|
+
--------
|
|
236
|
+
import asyncio
|
|
237
|
+
|
|
238
|
+
from label_studio_sdk import AsyncLabelStudio
|
|
239
|
+
|
|
240
|
+
client = AsyncLabelStudio(
|
|
241
|
+
api_key="YOUR_API_KEY",
|
|
242
|
+
)
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
async def main() -> None:
|
|
246
|
+
await client.projects.members.remove(
|
|
247
|
+
id=1,
|
|
248
|
+
)
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
asyncio.run(main())
|
|
252
|
+
"""
|
|
253
|
+
_response = await self._client_wrapper.httpx_client.request(
|
|
254
|
+
f"api/projects/{jsonable_encoder(id)}/members/",
|
|
255
|
+
method="DELETE",
|
|
256
|
+
request_options=request_options,
|
|
257
|
+
)
|
|
258
|
+
try:
|
|
259
|
+
if 200 <= _response.status_code < 300:
|
|
260
|
+
return
|
|
261
|
+
_response_json = _response.json()
|
|
262
|
+
except JSONDecodeError:
|
|
263
|
+
raise ApiError(status_code=_response.status_code, body=_response.text)
|
|
264
|
+
raise ApiError(status_code=_response.status_code, body=_response_json)
|
|
@@ -32,6 +32,12 @@ class PaginatedClient:
|
|
|
32
32
|
request_options: typing.Optional[RequestOptions] = None,
|
|
33
33
|
) -> SyncPager[PaginatedProjectMember]:
|
|
34
34
|
"""
|
|
35
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
36
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
37
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
38
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
39
|
+
</p>
|
|
40
|
+
</Card>
|
|
35
41
|
Retrieve the members for a specific project.
|
|
36
42
|
|
|
37
43
|
Parameters
|
|
@@ -145,6 +151,12 @@ class AsyncPaginatedClient:
|
|
|
145
151
|
request_options: typing.Optional[RequestOptions] = None,
|
|
146
152
|
) -> AsyncPager[PaginatedProjectMember]:
|
|
147
153
|
"""
|
|
154
|
+
<Card href="https://humansignal.com/goenterprise">
|
|
155
|
+
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
|
|
156
|
+
<p style="margin-top: 10px; font-size: 14px;">
|
|
157
|
+
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
|
|
158
|
+
</p>
|
|
159
|
+
</Card>
|
|
148
160
|
Retrieve the members for a specific project.
|
|
149
161
|
|
|
150
162
|
Parameters
|
|
@@ -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
|