label-studio-sdk 1.0.0__py3-none-any.whl → 1.0.1__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 +30 -4
- label_studio_sdk/_extensions/pager_ext.py +49 -0
- label_studio_sdk/_legacy/objects.py +46 -7
- label_studio_sdk/_legacy/schema/label_config_schema.json +14 -14
- label_studio_sdk/actions/__init__.py +25 -0
- label_studio_sdk/actions/client.py +79 -6
- label_studio_sdk/actions/types/__init__.py +25 -0
- label_studio_sdk/actions/types/actions_create_request_filters.py +43 -0
- label_studio_sdk/actions/types/actions_create_request_filters_conjunction.py +5 -0
- label_studio_sdk/actions/types/actions_create_request_filters_items_item.py +49 -0
- label_studio_sdk/actions/types/actions_create_request_filters_items_item_filter.py +31 -0
- label_studio_sdk/actions/types/actions_create_request_filters_items_item_operator.py +23 -0
- label_studio_sdk/actions/types/actions_create_request_id.py +19 -0
- label_studio_sdk/actions/types/actions_create_request_ordering_item.py +31 -0
- label_studio_sdk/actions/types/actions_create_request_selected_items.py +10 -0
- label_studio_sdk/actions/types/actions_create_request_selected_items_excluded.py +39 -0
- label_studio_sdk/actions/types/actions_create_request_selected_items_included.py +39 -0
- label_studio_sdk/base_client.py +183 -0
- label_studio_sdk/client.py +17 -175
- label_studio_sdk/core/client_wrapper.py +1 -1
- label_studio_sdk/core/http_client.py +5 -1
- label_studio_sdk/export_storage/azure/client.py +176 -10
- label_studio_sdk/export_storage/azure/types/azure_create_response.py +15 -0
- label_studio_sdk/export_storage/azure/types/azure_update_response.py +15 -0
- label_studio_sdk/export_storage/gcs/client.py +180 -14
- label_studio_sdk/export_storage/gcs/types/gcs_create_response.py +16 -1
- label_studio_sdk/export_storage/gcs/types/gcs_update_response.py +16 -1
- label_studio_sdk/export_storage/local/client.py +168 -22
- label_studio_sdk/export_storage/local/types/local_create_response.py +12 -2
- label_studio_sdk/export_storage/local/types/local_update_response.py +12 -2
- label_studio_sdk/export_storage/redis/client.py +234 -30
- label_studio_sdk/export_storage/redis/types/redis_create_response.py +20 -5
- label_studio_sdk/export_storage/redis/types/redis_update_response.py +20 -5
- label_studio_sdk/export_storage/s3/client.py +214 -26
- label_studio_sdk/export_storage/s3/types/s3create_response.py +15 -0
- label_studio_sdk/export_storage/s3/types/s3update_response.py +15 -0
- label_studio_sdk/import_storage/azure/client.py +266 -90
- label_studio_sdk/import_storage/azure/types/azure_create_response.py +28 -18
- label_studio_sdk/import_storage/azure/types/azure_update_response.py +28 -18
- label_studio_sdk/import_storage/gcs/client.py +270 -94
- label_studio_sdk/import_storage/gcs/types/gcs_create_response.py +28 -18
- label_studio_sdk/import_storage/gcs/types/gcs_update_response.py +28 -18
- label_studio_sdk/import_storage/local/client.py +168 -22
- label_studio_sdk/import_storage/local/types/local_create_response.py +12 -2
- label_studio_sdk/import_storage/local/types/local_update_response.py +12 -2
- label_studio_sdk/import_storage/redis/client.py +206 -50
- label_studio_sdk/import_storage/redis/types/redis_create_response.py +20 -10
- label_studio_sdk/import_storage/redis/types/redis_update_response.py +20 -10
- label_studio_sdk/import_storage/s3/client.py +336 -110
- label_studio_sdk/import_storage/s3/types/s3create_response.py +35 -25
- label_studio_sdk/import_storage/s3/types/s3update_response.py +35 -25
- label_studio_sdk/{_legacy/label_interface → label_interface}/base.py +10 -0
- label_studio_sdk/{_legacy/label_interface → label_interface}/control_tags.py +109 -71
- label_studio_sdk/{_legacy/label_interface → label_interface}/interface.py +96 -50
- label_studio_sdk/{_legacy/label_interface → label_interface}/object_tags.py +8 -13
- label_studio_sdk/label_interface/region.py +75 -0
- label_studio_sdk/projects/client.py +4 -2
- label_studio_sdk/projects/client_ext.py +19 -0
- label_studio_sdk/tasks/client.py +26 -2
- label_studio_sdk/tasks/client_ext.py +18 -0
- label_studio_sdk/types/annotation.py +5 -5
- label_studio_sdk/types/task.py +1 -1
- label_studio_sdk/views/__init__.py +8 -4
- label_studio_sdk/views/types/__init__.py +8 -4
- label_studio_sdk/views/types/views_create_request_data.py +2 -2
- label_studio_sdk/views/types/views_create_request_data_filters.py +5 -5
- label_studio_sdk/views/types/views_create_request_data_filters_conjunction.py +1 -1
- label_studio_sdk/views/types/views_create_request_data_filters_items_item.py +10 -8
- label_studio_sdk/views/types/views_create_request_data_filters_items_item_filter.py +31 -0
- label_studio_sdk/views/types/views_create_request_data_filters_items_item_operator.py +23 -0
- label_studio_sdk/views/types/views_create_request_data_ordering_item.py +27 -34
- label_studio_sdk/views/types/views_update_request_data.py +2 -2
- label_studio_sdk/views/types/views_update_request_data_filters.py +5 -5
- label_studio_sdk/views/types/views_update_request_data_filters_conjunction.py +1 -1
- label_studio_sdk/views/types/views_update_request_data_filters_items_item.py +10 -8
- label_studio_sdk/views/types/views_update_request_data_filters_items_item_filter.py +31 -0
- label_studio_sdk/views/types/views_update_request_data_filters_items_item_operator.py +23 -0
- label_studio_sdk/views/types/views_update_request_data_ordering_item.py +27 -34
- {label_studio_sdk-1.0.0.dist-info → label_studio_sdk-1.0.1.dist-info}/METADATA +17 -161
- {label_studio_sdk-1.0.0.dist-info → label_studio_sdk-1.0.1.dist-info}/RECORD +84 -67
- label_studio_sdk/_legacy/label_interface/region.py +0 -43
- label_studio_sdk/views/types/views_create_request_data_ordering_item_direction.py +0 -5
- label_studio_sdk/views/types/views_update_request_data_ordering_item_direction.py +0 -5
- /label_studio_sdk/{_legacy/label_interface → label_interface}/__init__.py +0 -0
- /label_studio_sdk/{_legacy/label_interface → label_interface}/data_examples.json +0 -0
- /label_studio_sdk/{_legacy/label_interface → label_interface}/label_tags.py +0 -0
- {label_studio_sdk-1.0.0.dist-info → label_studio_sdk-1.0.1.dist-info}/WHEEL +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: label-studio-sdk
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.1
|
|
4
4
|
Summary:
|
|
5
5
|
Requires-Python: >=3.8,<4.0
|
|
6
6
|
Classifier: Intended Audience :: Developers
|
|
@@ -65,63 +65,36 @@ The Label Studio Python Library provides convenient access to the Label Studio A
|
|
|
65
65
|
|
|
66
66
|
<!-- Outline -->
|
|
67
67
|
|
|
68
|
-
- [Installation](#installation)
|
|
69
|
-
- [Usage](#usage)
|
|
70
|
-
- [Examples](#examples)
|
|
71
|
-
- [Get all projects](#get-all-projects)
|
|
72
|
-
- [Create a new project](#create-a-new-project)
|
|
73
|
-
- [Get project by ID](#get-project-by-id)
|
|
74
|
-
- [Update project](#update-project)
|
|
75
|
-
- [Delete project](#delete-project)
|
|
76
|
-
- [Get tasks with annotations and predictions](#get-tasks-with-annotations-and-predictions)
|
|
77
|
-
- [Get task by ID](#get-task-by-id)
|
|
78
|
-
- [Get all annotations for a task](#get-all-annotations-for-a-task)
|
|
79
|
-
- [Create a new task](#create-a-new-task)
|
|
80
|
-
- [Import batch tasks](#import-batch-tasks)
|
|
81
|
-
- [Update task](#update-task)
|
|
82
|
-
- [Delete task](#delete-task)
|
|
83
|
-
- [Create prediction](#create-prediction)
|
|
84
|
-
- [Update prediction](#update-prediction)
|
|
85
|
-
- [Delete prediction](#delete-prediction)
|
|
86
|
-
- [Async client](#async-client)
|
|
87
|
-
|
|
88
68
|
|
|
89
69
|
# Documentation
|
|
90
|
-
Explore the Label Studio API documentation [here](https://
|
|
70
|
+
Explore the Label Studio API documentation [here](https://api.labelstud.io/).
|
|
91
71
|
|
|
92
72
|
|
|
93
|
-
<!-- Begin Installation, generated by Fern -->
|
|
94
73
|
# Installation
|
|
95
74
|
|
|
96
75
|
```sh
|
|
97
76
|
pip install --upgrade label-studio-sdk
|
|
98
77
|
```
|
|
99
|
-
<!-- End Installation -->
|
|
100
78
|
|
|
101
|
-
<!-- Begin Usage, generated by Fern -->
|
|
102
79
|
# Usage
|
|
103
80
|
|
|
104
81
|
```python
|
|
105
82
|
from label_studio_sdk.client import LabelStudio
|
|
106
83
|
|
|
107
|
-
|
|
84
|
+
ls = LabelStudio(
|
|
85
|
+
base_url='YOUR_LABEL_STUDIO_URL',
|
|
108
86
|
api_key="YOUR_API_KEY",
|
|
109
87
|
)
|
|
110
88
|
```
|
|
111
|
-
<!-- End Usage -->
|
|
112
89
|
|
|
113
90
|
# Examples
|
|
114
91
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
```python
|
|
118
|
-
projects = client.projects.list()
|
|
119
|
-
```
|
|
92
|
+
Check more examples [here](https://api.labelstud.io/).
|
|
120
93
|
|
|
121
94
|
## Create a new project
|
|
122
95
|
|
|
123
96
|
```python
|
|
124
|
-
project =
|
|
97
|
+
project = ls.projects.create(
|
|
125
98
|
name="Project name",
|
|
126
99
|
description="Project description",
|
|
127
100
|
label_config="""
|
|
@@ -136,143 +109,26 @@ project = client.projects.create(
|
|
|
136
109
|
)
|
|
137
110
|
```
|
|
138
111
|
|
|
139
|
-
## Get project by ID
|
|
140
|
-
|
|
141
|
-
```python
|
|
142
|
-
project = client.projects.get("PROJECT_ID")
|
|
143
|
-
```
|
|
144
|
-
|
|
145
|
-
## Update project
|
|
146
|
-
|
|
147
|
-
```python
|
|
148
|
-
project = client.projects.update(
|
|
149
|
-
project="PROJECT_ID",
|
|
150
|
-
description="New project description",
|
|
151
|
-
)
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
## Delete project
|
|
155
|
-
|
|
156
|
-
```python
|
|
157
|
-
client.projects.delete("PROJECT_ID")
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
## Get tasks with annotations and predictions
|
|
161
|
-
|
|
162
|
-
```python
|
|
163
|
-
tasks = client.tasks.list(project="PROJECT_ID")
|
|
164
|
-
```
|
|
165
|
-
|
|
166
|
-
## Get task by ID
|
|
167
|
-
|
|
168
|
-
```python
|
|
169
|
-
task = client.tasks.get("TASK_ID")
|
|
170
|
-
print(task)
|
|
171
|
-
```
|
|
172
|
-
Task data, annotations and predictions in [Label Studio tasks format](https://labelstud.io/guide/task_format#Label-Studio-JSON-format-of-annotated-tasks):
|
|
173
|
-
```json
|
|
174
|
-
{
|
|
175
|
-
"id": "TASK_ID",
|
|
176
|
-
"data": {
|
|
177
|
-
"image": "https://example.com/image.jpg",
|
|
178
|
-
"label": "cat"
|
|
179
|
-
},
|
|
180
|
-
"annotations": [],
|
|
181
|
-
"predictions": []
|
|
182
|
-
}
|
|
183
|
-
```
|
|
184
|
-
|
|
185
|
-
## Get all annotations for a task
|
|
186
|
-
|
|
187
|
-
```python
|
|
188
|
-
annotations = client.annotations.list(task="TASK_ID")
|
|
189
|
-
```
|
|
190
|
-
|
|
191
112
|
## Create a new task
|
|
192
|
-
|
|
193
|
-
```python
|
|
194
|
-
task = client.tasks.create(
|
|
195
|
-
project="PROJECT_ID",
|
|
196
|
-
data={
|
|
197
|
-
"data": {
|
|
198
|
-
"image": "https://example.com/image.jpg",
|
|
199
|
-
"label": "cat"
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
)
|
|
203
|
-
```
|
|
204
|
-
|
|
205
|
-
## Import batch tasks
|
|
206
|
-
|
|
207
|
-
```python
|
|
208
|
-
tasks = client.projects.import_tasks(
|
|
209
|
-
project="PROJECT_ID",
|
|
210
|
-
data=[
|
|
211
|
-
{
|
|
212
|
-
"data": {
|
|
213
|
-
"image": "https://example.com/image1.jpg",
|
|
214
|
-
"label": "cat"
|
|
215
|
-
}
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
"data": {
|
|
219
|
-
"image": "https://example.com/image2.jpg",
|
|
220
|
-
"label": "dog"
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
]
|
|
224
|
-
)
|
|
225
|
-
```
|
|
226
|
-
|
|
227
|
-
## Update task
|
|
228
|
-
|
|
113
|
+
|
|
229
114
|
```python
|
|
230
|
-
task =
|
|
231
|
-
project=
|
|
232
|
-
|
|
233
|
-
data={
|
|
234
|
-
"data": {
|
|
235
|
-
"image": "https://example.com/image.jpg",
|
|
236
|
-
"label": "dog"
|
|
237
|
-
}
|
|
238
|
-
}
|
|
115
|
+
task = ls.tasks.create(
|
|
116
|
+
project=project.id,
|
|
117
|
+
data={"image": "https://example.com/image.jpg"}
|
|
239
118
|
)
|
|
240
119
|
```
|
|
120
|
+
Now you can open the project `PROJECT_ID` in the Label Studio UI and create annotations for the task.
|
|
241
121
|
|
|
242
|
-
##
|
|
122
|
+
## Export annotations
|
|
243
123
|
|
|
244
124
|
```python
|
|
245
|
-
|
|
125
|
+
annotations = [
|
|
126
|
+
task.annotations
|
|
127
|
+
for task in ls.tasks.list(project=project.id, fields='all')
|
|
128
|
+
if task.annotations
|
|
129
|
+
]
|
|
246
130
|
```
|
|
247
131
|
|
|
248
|
-
## Create prediction
|
|
249
|
-
|
|
250
|
-
```python
|
|
251
|
-
prediction = client.predictions.create(
|
|
252
|
-
task="TASK_ID",
|
|
253
|
-
result=[{'from_name': 'bbox', 'to_name': 'image', 'type': 'labels', 'value': {'rectanglelabels': [{'x': 10, 'y': 20, 'width': 30, 'height': 40, 'rectanglelabels': ['cat']}]}}],
|
|
254
|
-
score=0.9,
|
|
255
|
-
model_version='yolov8',
|
|
256
|
-
)
|
|
257
|
-
```
|
|
258
|
-
|
|
259
|
-
## Update prediction
|
|
260
|
-
|
|
261
|
-
```python
|
|
262
|
-
prediction = client.predictions.update(
|
|
263
|
-
task="TASK_ID",
|
|
264
|
-
prediction="PREDICTION_ID",
|
|
265
|
-
result=[{'from_name': 'bbox', 'to_name': 'image', 'type': 'labels', 'value': {'rectanglelabels': [{'x': 10, 'y': 20, 'width': 30, 'height': 40, 'rectanglelabels': ['dog']}]}}],
|
|
266
|
-
score=0.8,
|
|
267
|
-
model_version='yolov8',
|
|
268
|
-
)
|
|
269
|
-
```
|
|
270
|
-
|
|
271
|
-
## Delete prediction
|
|
272
|
-
|
|
273
|
-
```python
|
|
274
|
-
client.predictions.delete(task="TASK_ID", prediction="PREDICTION_ID")
|
|
275
|
-
```
|
|
276
132
|
|
|
277
133
|
## Async client
|
|
278
134
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
label_studio_sdk/__init__.py,sha256=
|
|
1
|
+
label_studio_sdk/__init__.py,sha256=9xfqkZgt37ghkGUe8KwGETNgfb1hhqYGvyiaPNsKJwU,6606
|
|
2
2
|
label_studio_sdk/_extensions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
label_studio_sdk/_extensions/label_studio_tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
label_studio_sdk/_extensions/label_studio_tools/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -13,28 +13,33 @@ label_studio_sdk/_extensions/label_studio_tools/etl/example.py,sha256=s-e0ZDqhYs
|
|
|
13
13
|
label_studio_sdk/_extensions/label_studio_tools/etl/registry.py,sha256=eYQrNjfO5XVo6Hwc-EhCeUtr7dxqe1AToyJSA7WPI5M,1939
|
|
14
14
|
label_studio_sdk/_extensions/label_studio_tools/postprocessing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
15
|
label_studio_sdk/_extensions/label_studio_tools/postprocessing/video.py,sha256=oUNO2jrtWhbT5zI6LcHyiJ-3ZmHsEPi3Fs-KJP9Es4M,3528
|
|
16
|
+
label_studio_sdk/_extensions/pager_ext.py,sha256=l6QX3nkLwUjB6MQRR76Ry3y-HIY3FKTW3Nsdwntu7AI,1637
|
|
16
17
|
label_studio_sdk/_legacy/__init__.py,sha256=e1C8VJ0l6EKmQwvzOnkKvy5Cu6uNi2dboNno8cAKJdg,194
|
|
17
18
|
label_studio_sdk/_legacy/client.py,sha256=7lZeuQNw39C_Iqb6O-LSY8dOYbrE7hhA8qrc0SH3Qw0,14052
|
|
18
19
|
label_studio_sdk/_legacy/exceptions.py,sha256=Xpx6phdRD_dTWlA-nq0v0Feta0RVDltPUjRXSiXJ0Yk,196
|
|
19
|
-
label_studio_sdk/_legacy/
|
|
20
|
-
label_studio_sdk/_legacy/label_interface/base.py,sha256=bI8pifudG4vI9MfvP-HIdHNJYDqg1pQimLQJGPUwnZk,2501
|
|
21
|
-
label_studio_sdk/_legacy/label_interface/control_tags.py,sha256=Cq9MTgtd23AZBx9zT_iXeV6905tzGL5_jOGZaBw7lE0,20247
|
|
22
|
-
label_studio_sdk/_legacy/label_interface/data_examples.json,sha256=uCYvCtMIxPi1-jLlFhwJPh01tLyMIRwTjINeAeW-JzE,8195
|
|
23
|
-
label_studio_sdk/_legacy/label_interface/interface.py,sha256=NxhS69rd_uBuXjrqAtcr0X7HZ-yP4OeGUWr8QmmlZlQ,33375
|
|
24
|
-
label_studio_sdk/_legacy/label_interface/label_tags.py,sha256=nWEo21Gd8IPzIO72UqraLrChIbvrSMCA_eEhzYGnGCc,2282
|
|
25
|
-
label_studio_sdk/_legacy/label_interface/object_tags.py,sha256=CKNLYemwlvQ98NWUp4Nes0jklO28kE853KF-SML2f8Q,8181
|
|
26
|
-
label_studio_sdk/_legacy/label_interface/region.py,sha256=rlJDOVAoFtk4gcg1y2L_Pd8Rjl2cwNGuUUGsqf2YDbg,823
|
|
27
|
-
label_studio_sdk/_legacy/objects.py,sha256=fn0w3i7V-Y4SEP6v5bpz4vztCgzEW0kCInZBVP5-rCY,879
|
|
20
|
+
label_studio_sdk/_legacy/objects.py,sha256=BY3IyN2fEWGABpMDNuXFQ8142J7imCvtwhecR45E9b8,1901
|
|
28
21
|
label_studio_sdk/_legacy/project.py,sha256=4sO4kZQECmDmFZRNo502PpDcRX68la0FO0WDePOyVxI,93567
|
|
29
|
-
label_studio_sdk/_legacy/schema/label_config_schema.json,sha256=
|
|
22
|
+
label_studio_sdk/_legacy/schema/label_config_schema.json,sha256=RrwjX3NU4ArFA8Fexb0fbInmJUYBpmFqa3h4-1L1pqg,6063
|
|
30
23
|
label_studio_sdk/_legacy/users.py,sha256=G5wxBf7sGpZlN_0sR2NDovESIw1v2RfXWveCLHTgvN4,1402
|
|
31
24
|
label_studio_sdk/_legacy/utils.py,sha256=ZeBEwUmHyK_GdUjAEOdIqkbKRT7SviO4Db0Uj6tMNfI,4518
|
|
32
25
|
label_studio_sdk/_legacy/workspaces.py,sha256=9SrmZyWqj_0etCyTWzeC6v30jAIDnjerx4cNBlP3MGg,1913
|
|
33
|
-
label_studio_sdk/actions/__init__.py,sha256=
|
|
34
|
-
label_studio_sdk/actions/client.py,sha256=
|
|
26
|
+
label_studio_sdk/actions/__init__.py,sha256=GVyRYKOyNfY0aDhaGek3LzMu3OxkBmW5fAI0UsxY5vk,955
|
|
27
|
+
label_studio_sdk/actions/client.py,sha256=mCQ7TAthoWCleuz1TTXTC5i0SaHJWvTmZNawOw9v648,9350
|
|
28
|
+
label_studio_sdk/actions/types/__init__.py,sha256=xI3KZ0e3ZR_gzYEBV7I19lAAdOCNiqtqtCng_si3wps,1423
|
|
29
|
+
label_studio_sdk/actions/types/actions_create_request_filters.py,sha256=kuWSbU5f2drIE9ixmHVV0u80SY7I8DCKx_XqOWBs2FE,2157
|
|
30
|
+
label_studio_sdk/actions/types/actions_create_request_filters_conjunction.py,sha256=thuQnCJNFFIxmpSXp7F3anXVkp7BtQntBIVgZVlw21Y,175
|
|
31
|
+
label_studio_sdk/actions/types/actions_create_request_filters_items_item.py,sha256=kFJZtpjmw_U8kyQfZVRIDFRPLP1EgHJCguz3m6aT950,5413
|
|
32
|
+
label_studio_sdk/actions/types/actions_create_request_filters_items_item_filter.py,sha256=rwMY2ygY3Wt6hs_ecvL0ZSTyPElY03TRnzGuAHqfb4A,1035
|
|
33
|
+
label_studio_sdk/actions/types/actions_create_request_filters_items_item_operator.py,sha256=Rhy6MUwQyGZBAnKJPPk_DT1TKjQY43I3C_L5Obz8FYs,472
|
|
34
|
+
label_studio_sdk/actions/types/actions_create_request_id.py,sha256=UOgIY9tUQyBVFDETLSq3mPZ_oxSFhZHJYqjGhXY4FYw,486
|
|
35
|
+
label_studio_sdk/actions/types/actions_create_request_ordering_item.py,sha256=dE7E4WPE2GSskJ5lA1sNQwM5OK_cR6_dvxuzTFF4UjQ,871
|
|
36
|
+
label_studio_sdk/actions/types/actions_create_request_selected_items.py,sha256=9ylitQl78Mrl2ffeYoaXL0JPyFPFriRDQtgvqJOuvRY,426
|
|
37
|
+
label_studio_sdk/actions/types/actions_create_request_selected_items_excluded.py,sha256=V_UqVg8HP3REL9HxoqfadtGkK9M8q7gGXELxjLpZ2E0,1427
|
|
38
|
+
label_studio_sdk/actions/types/actions_create_request_selected_items_included.py,sha256=Pd57blUopvSWgdR9fIEbEcTXk5yQXg25R4aT0TUtPN0,1426
|
|
35
39
|
label_studio_sdk/annotations/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
36
40
|
label_studio_sdk/annotations/client.py,sha256=KDg1s4ZOjsH0xUdATzdhruSguPzUCDyq66tEJU-QfeM,27317
|
|
37
|
-
label_studio_sdk/
|
|
41
|
+
label_studio_sdk/base_client.py,sha256=dZrD0tC9aSGYfp5dm1JWq8CnJD-xks_bLBHC-lNiJSs,8343
|
|
42
|
+
label_studio_sdk/client.py,sha256=FwX1wETMKX43ra3-ePztaZA37MlmuY12PJ1mqZp5OHI,879
|
|
38
43
|
label_studio_sdk/converter/__init__.py,sha256=qppSJed16HAiZbGons0yVrPRjszuWFia025Rm477q1c,201
|
|
39
44
|
label_studio_sdk/converter/audio.py,sha256=U9oTULkeimodZhIkB16Gl3eJD8YzsbADWxW_r2tPcxw,1905
|
|
40
45
|
label_studio_sdk/converter/brush.py,sha256=jRL3fLl_J06fVEX7Uat31ru0uUZ71C4zrXnX2qOcrIo,13370
|
|
@@ -53,10 +58,10 @@ label_studio_sdk/converter/main.py,sha256=tB1HbxV_prR67tEjk-YLk4pLJ5isxQAsyChxak
|
|
|
53
58
|
label_studio_sdk/converter/utils.py,sha256=etUjYJscKsqSGuFT4iK3AJmYm4NSK9hk6bLLu4L0aWQ,16143
|
|
54
59
|
label_studio_sdk/core/__init__.py,sha256=Io96G1IY5muGWXsxPKOkzYv3We4OJlBKMkUFvEYfVEQ,1054
|
|
55
60
|
label_studio_sdk/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
|
56
|
-
label_studio_sdk/core/client_wrapper.py,sha256=
|
|
61
|
+
label_studio_sdk/core/client_wrapper.py,sha256=cekz2gsAdUE5qmekCwSKsF6bfEQx_429B9CMqAfGHdA,1819
|
|
57
62
|
label_studio_sdk/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
58
63
|
label_studio_sdk/core/file.py,sha256=sy1RUGZ3aJYuw998bZytxxo6QdgKmlnlgBaMvwEKCGg,1480
|
|
59
|
-
label_studio_sdk/core/http_client.py,sha256=
|
|
64
|
+
label_studio_sdk/core/http_client.py,sha256=te8HUpXCsq0v4_vTU6-5tYVg9xTiG-GWESOCH19Gyqo,17924
|
|
60
65
|
label_studio_sdk/core/jsonable_encoder.py,sha256=L6G68Py6gEo8n87rXwlkLPUyzHvXftEBjJZNb2tCuOA,3742
|
|
61
66
|
label_studio_sdk/core/pagination.py,sha256=ZfASbCAP0TsN2WmKijgaE61gh0oJqBMmyqtO2wqHw7o,3200
|
|
62
67
|
label_studio_sdk/core/pydantic_utilities.py,sha256=hI3vcpSG47sVlafyPol2T2ICt8HNMIu_rM9amc2zf7w,748
|
|
@@ -70,64 +75,72 @@ label_studio_sdk/errors/bad_request_error.py,sha256=cyaU3HXnyIS--6xv5DFA01VWbOQw
|
|
|
70
75
|
label_studio_sdk/errors/internal_server_error.py,sha256=K8Rm2Djj0ciGE0uDq3GHL-JTk8R23U2hBiH-84A4ZWY,230
|
|
71
76
|
label_studio_sdk/export_storage/__init__.py,sha256=wW7LC_rzYYCBltCSTTcW5jFO-eVJwIqtY13Ix0xp6JM,824
|
|
72
77
|
label_studio_sdk/export_storage/azure/__init__.py,sha256=WflFc5wcr-Pgvi8vGcNCTKOPaIKxy-_RgMx2qttAHYc,183
|
|
73
|
-
label_studio_sdk/export_storage/azure/client.py,sha256=
|
|
78
|
+
label_studio_sdk/export_storage/azure/client.py,sha256=nJQI83-UMo3aGb3CYN9CnpWnyP0Y96kZoD2ePpotVQE,32674
|
|
74
79
|
label_studio_sdk/export_storage/azure/types/__init__.py,sha256=dAtXM6WHJAIlHjlDaCGVEzpx3Xfryn4aQW7GGanmhW0,233
|
|
75
|
-
label_studio_sdk/export_storage/azure/types/azure_create_response.py,sha256=
|
|
76
|
-
label_studio_sdk/export_storage/azure/types/azure_update_response.py,sha256=
|
|
80
|
+
label_studio_sdk/export_storage/azure/types/azure_create_response.py,sha256=Zu0riMkx0og3uBYQRVqFx3zrIsn6dOT9cMwanZTkJjY,2010
|
|
81
|
+
label_studio_sdk/export_storage/azure/types/azure_update_response.py,sha256=wiLJKEuNTtBTC6j-S6bGhnODfGCzjDmuzsbcEhC66RE,2010
|
|
77
82
|
label_studio_sdk/export_storage/client.py,sha256=2txfhRQiPSGEGzP4WnDUbBVHER63iggfiT0ZeDeiXkk,4221
|
|
78
83
|
label_studio_sdk/export_storage/gcs/__init__.py,sha256=5XkGIewR3WCezQdWaR8pRTgix5TeXCLDSXESX4j34Ic,175
|
|
79
|
-
label_studio_sdk/export_storage/gcs/client.py,sha256=
|
|
84
|
+
label_studio_sdk/export_storage/gcs/client.py,sha256=U559KJz_qEZmrzbWgzblSzpUFTeA8jFRnLAnUBnePWE,33367
|
|
80
85
|
label_studio_sdk/export_storage/gcs/types/__init__.py,sha256=w2BZvAw38wQdpWXh7zHugIuPA8up1kovWrWUoSunV3o,221
|
|
81
|
-
label_studio_sdk/export_storage/gcs/types/gcs_create_response.py,sha256=
|
|
82
|
-
label_studio_sdk/export_storage/gcs/types/gcs_update_response.py,sha256=
|
|
86
|
+
label_studio_sdk/export_storage/gcs/types/gcs_create_response.py,sha256=8HM36AqzO-A5bmaah9UCCMwT9WhNnYUkqVZhsL7C9aY,2123
|
|
87
|
+
label_studio_sdk/export_storage/gcs/types/gcs_update_response.py,sha256=GFL_uPbMLa-GpABHospyVmhJ86LIvy_HRmQ4iY3bNWI,2123
|
|
83
88
|
label_studio_sdk/export_storage/local/__init__.py,sha256=9MhvRmMHJluQwUD9ZFVNqjLiK16xe5OPj9B3wjfAGhA,183
|
|
84
|
-
label_studio_sdk/export_storage/local/client.py,sha256=
|
|
89
|
+
label_studio_sdk/export_storage/local/client.py,sha256=y4o-6GvOicWtSgUNmdpW5iZA4DG1QtFqItoFQlpj80U,31900
|
|
85
90
|
label_studio_sdk/export_storage/local/types/__init__.py,sha256=Wq9THgEJ9B44IFniEH5VWl_jdyD1CSp_5BBFUQZVh34,233
|
|
86
|
-
label_studio_sdk/export_storage/local/types/local_create_response.py,sha256=
|
|
87
|
-
label_studio_sdk/export_storage/local/types/local_update_response.py,sha256=
|
|
91
|
+
label_studio_sdk/export_storage/local/types/local_create_response.py,sha256=j_g5iPxOXz125D3B6-2eiHkvQq7893hp3K_2FNzp4NQ,1988
|
|
92
|
+
label_studio_sdk/export_storage/local/types/local_update_response.py,sha256=RN4bZPtKiJfc2SM0Z2gDJUH8Hj3owpdg4QA4OIPt2cY,1988
|
|
88
93
|
label_studio_sdk/export_storage/redis/__init__.py,sha256=XGG2TewxEfq3ihh94ngOWlv6Uq4opCCDJAuZ4ATmAv8,183
|
|
89
|
-
label_studio_sdk/export_storage/redis/client.py,sha256=
|
|
94
|
+
label_studio_sdk/export_storage/redis/client.py,sha256=YHtFHVjhyQSyoCYQALfwv52n9MVzEaJ250XpNBRW1wU,32915
|
|
90
95
|
label_studio_sdk/export_storage/redis/types/__init__.py,sha256=IfAUyLrvgMGrEX_ATDY3A1j2MaK5xbEhGkAFv01i2G8,233
|
|
91
|
-
label_studio_sdk/export_storage/redis/types/redis_create_response.py,sha256=
|
|
92
|
-
label_studio_sdk/export_storage/redis/types/redis_update_response.py,sha256=
|
|
96
|
+
label_studio_sdk/export_storage/redis/types/redis_create_response.py,sha256=_T0cBqrF9BVTAB-9tYLC0tvRUie3pdYgUhANPxobDVQ,2119
|
|
97
|
+
label_studio_sdk/export_storage/redis/types/redis_update_response.py,sha256=U8f_pdm0a8ta__Abx0-xobsb_T3-b23J6jgKakseRvc,2119
|
|
93
98
|
label_studio_sdk/export_storage/s3/__init__.py,sha256=rx9uoPmoHyzvS_wdV3C5Fb6ZJVeJKU5Ouk5DexADJl4,171
|
|
94
|
-
label_studio_sdk/export_storage/s3/client.py,sha256=
|
|
99
|
+
label_studio_sdk/export_storage/s3/client.py,sha256=sAip0hvwz-iUKwxeJ27-VYta7Al2IkMq0zHHFkiKmjs,36548
|
|
95
100
|
label_studio_sdk/export_storage/s3/types/__init__.py,sha256=Qiv7JBYh7srMTsdVLmsF7cg_jYumAokCUbh2jrNNE8c,213
|
|
96
|
-
label_studio_sdk/export_storage/s3/types/s3create_response.py,sha256=
|
|
97
|
-
label_studio_sdk/export_storage/s3/types/s3update_response.py,sha256=
|
|
101
|
+
label_studio_sdk/export_storage/s3/types/s3create_response.py,sha256=Hf3IfoWAOVDgqS3IHgUqZ1xHL8T3CT6aNqUE-avCzdI,2544
|
|
102
|
+
label_studio_sdk/export_storage/s3/types/s3update_response.py,sha256=L2YxK-IYnlScYO9LHkkirZfL15ztRKmMQLWttyEK4mE,2544
|
|
98
103
|
label_studio_sdk/export_storage/types/__init__.py,sha256=G7iAfiRBL1WTYsluefJV4ZFUaBmK4mMp9sAMPJ7NZbw,203
|
|
99
104
|
label_studio_sdk/export_storage/types/export_storage_list_types_response_item.py,sha256=3iRzkMqLe_ohc-XWg0h9s9jzgXx-omXsyGUZNY7R04U,1199
|
|
100
105
|
label_studio_sdk/files/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
101
106
|
label_studio_sdk/files/client.py,sha256=R62FXgbMeyRdce-YtaVS_qxWTGBpf0ur9OJg3TXDnN0,19016
|
|
102
107
|
label_studio_sdk/import_storage/__init__.py,sha256=6hqg5mP0s0Wqa0Me-I0opNQG777CiS1JWxB_pLf2Ci8,824
|
|
103
108
|
label_studio_sdk/import_storage/azure/__init__.py,sha256=WflFc5wcr-Pgvi8vGcNCTKOPaIKxy-_RgMx2qttAHYc,183
|
|
104
|
-
label_studio_sdk/import_storage/azure/client.py,sha256=
|
|
109
|
+
label_studio_sdk/import_storage/azure/client.py,sha256=61nzkleFx7O2UNcO5INLw-DAObjqgLgpA8qy2Dn1Pbc,38228
|
|
105
110
|
label_studio_sdk/import_storage/azure/types/__init__.py,sha256=dAtXM6WHJAIlHjlDaCGVEzpx3Xfryn4aQW7GGanmhW0,233
|
|
106
|
-
label_studio_sdk/import_storage/azure/types/azure_create_response.py,sha256=
|
|
107
|
-
label_studio_sdk/import_storage/azure/types/azure_update_response.py,sha256=
|
|
111
|
+
label_studio_sdk/import_storage/azure/types/azure_create_response.py,sha256=OHuLEtCZrL3uFcmNEIgOLBWji8GUn6sR6O-u3IQh1qg,2645
|
|
112
|
+
label_studio_sdk/import_storage/azure/types/azure_update_response.py,sha256=k7CABNhX8iNKL11RV5BElgp20uwoIHpSP3wL7HWX3bM,2645
|
|
108
113
|
label_studio_sdk/import_storage/client.py,sha256=0fg56P47iTjAvMWshMKwKyNGCJ_C5Y26ALnuJC55H9k,4207
|
|
109
114
|
label_studio_sdk/import_storage/gcs/__init__.py,sha256=5XkGIewR3WCezQdWaR8pRTgix5TeXCLDSXESX4j34Ic,175
|
|
110
|
-
label_studio_sdk/import_storage/gcs/client.py,sha256=
|
|
115
|
+
label_studio_sdk/import_storage/gcs/client.py,sha256=pnCJTo38Q4Ub0no_TgQDj7_ojHNnjkKyhd9MlYJcgWU,38939
|
|
111
116
|
label_studio_sdk/import_storage/gcs/types/__init__.py,sha256=w2BZvAw38wQdpWXh7zHugIuPA8up1kovWrWUoSunV3o,221
|
|
112
|
-
label_studio_sdk/import_storage/gcs/types/gcs_create_response.py,sha256=
|
|
113
|
-
label_studio_sdk/import_storage/gcs/types/gcs_update_response.py,sha256=
|
|
117
|
+
label_studio_sdk/import_storage/gcs/types/gcs_create_response.py,sha256=cnIsfSPPYxNNlSyrMIjqs1r_E3lrMbYH-swSfipbmKQ,2757
|
|
118
|
+
label_studio_sdk/import_storage/gcs/types/gcs_update_response.py,sha256=HUuS3tq4ZEDzyw5xOJW9m1i21iXJh3zgffM1EYaw3UQ,2757
|
|
114
119
|
label_studio_sdk/import_storage/local/__init__.py,sha256=9MhvRmMHJluQwUD9ZFVNqjLiK16xe5OPj9B3wjfAGhA,183
|
|
115
|
-
label_studio_sdk/import_storage/local/client.py,sha256=
|
|
120
|
+
label_studio_sdk/import_storage/local/client.py,sha256=DFmZmH3pxo-Yq4l_6L20XqDq98egF5l2ePmLWODGl_c,32532
|
|
116
121
|
label_studio_sdk/import_storage/local/types/__init__.py,sha256=Wq9THgEJ9B44IFniEH5VWl_jdyD1CSp_5BBFUQZVh34,233
|
|
117
|
-
label_studio_sdk/import_storage/local/types/local_create_response.py,sha256=
|
|
118
|
-
label_studio_sdk/import_storage/local/types/local_update_response.py,sha256=
|
|
122
|
+
label_studio_sdk/import_storage/local/types/local_create_response.py,sha256=j_g5iPxOXz125D3B6-2eiHkvQq7893hp3K_2FNzp4NQ,1988
|
|
123
|
+
label_studio_sdk/import_storage/local/types/local_update_response.py,sha256=RN4bZPtKiJfc2SM0Z2gDJUH8Hj3owpdg4QA4OIPt2cY,1988
|
|
119
124
|
label_studio_sdk/import_storage/redis/__init__.py,sha256=XGG2TewxEfq3ihh94ngOWlv6Uq4opCCDJAuZ4ATmAv8,183
|
|
120
|
-
label_studio_sdk/import_storage/redis/client.py,sha256=
|
|
125
|
+
label_studio_sdk/import_storage/redis/client.py,sha256=NBhw7k_6KwgPWzjQ_AGsAusVkRkchiVVfo8oI2Qf4Ak,35235
|
|
121
126
|
label_studio_sdk/import_storage/redis/types/__init__.py,sha256=IfAUyLrvgMGrEX_ATDY3A1j2MaK5xbEhGkAFv01i2G8,233
|
|
122
|
-
label_studio_sdk/import_storage/redis/types/redis_create_response.py,sha256=
|
|
123
|
-
label_studio_sdk/import_storage/redis/types/redis_update_response.py,sha256=
|
|
127
|
+
label_studio_sdk/import_storage/redis/types/redis_create_response.py,sha256=5GhrJWkBZJm_EHgu5Sx1UGy56fIUbI-9xU6xgkmF_yU,2399
|
|
128
|
+
label_studio_sdk/import_storage/redis/types/redis_update_response.py,sha256=Rr0z-tloLT3wuV0nOCHGivQyXTG3eNmhBfpd4sER0Gk,2399
|
|
124
129
|
label_studio_sdk/import_storage/s3/__init__.py,sha256=rx9uoPmoHyzvS_wdV3C5Fb6ZJVeJKU5Ouk5DexADJl4,171
|
|
125
|
-
label_studio_sdk/import_storage/s3/client.py,sha256=
|
|
130
|
+
label_studio_sdk/import_storage/s3/client.py,sha256=0OCk3nUZyvgMf4JbpOcpujPgHmyAjhdP-Phwgt_De14,43150
|
|
126
131
|
label_studio_sdk/import_storage/s3/types/__init__.py,sha256=Qiv7JBYh7srMTsdVLmsF7cg_jYumAokCUbh2jrNNE8c,213
|
|
127
|
-
label_studio_sdk/import_storage/s3/types/s3create_response.py,sha256
|
|
128
|
-
label_studio_sdk/import_storage/s3/types/s3update_response.py,sha256=
|
|
132
|
+
label_studio_sdk/import_storage/s3/types/s3create_response.py,sha256=-Y0PL9zqB3Kmd-Bcwdjf3or1-Mer3d17dtbKyzW1_j8,3285
|
|
133
|
+
label_studio_sdk/import_storage/s3/types/s3update_response.py,sha256=Y6Oi6iLERXP_lvl48uF5b_A4GY-LysZJSIZ2JnwWDa0,3285
|
|
129
134
|
label_studio_sdk/import_storage/types/__init__.py,sha256=LSPRtCZ04H1CRzFC6KQnse2KDh5Weeo9IPmRoluhvoc,203
|
|
130
135
|
label_studio_sdk/import_storage/types/import_storage_list_types_response_item.py,sha256=dXfZjNrSliDu9nDP3jrNfxPOUAyILN7vJ6_uArkMiY0,1199
|
|
136
|
+
label_studio_sdk/label_interface/__init__.py,sha256=Eg6y3mAaYdKzJ5ZPhU_BTX2qoNPafthdxLD2I_rmXoU,38
|
|
137
|
+
label_studio_sdk/label_interface/base.py,sha256=KnsmCkBAGXw_2WNKg5PQ88qjqoUbFiEnvK-DDcKXcg4,2776
|
|
138
|
+
label_studio_sdk/label_interface/control_tags.py,sha256=J4kB-q1KZaOnrnRvEFhng_GsXEKiBWTw6I7ADaoLqU8,22090
|
|
139
|
+
label_studio_sdk/label_interface/data_examples.json,sha256=uCYvCtMIxPi1-jLlFhwJPh01tLyMIRwTjINeAeW-JzE,8195
|
|
140
|
+
label_studio_sdk/label_interface/interface.py,sha256=VVZ6htWBSHedK2X_48GEl0geFk03vaU6eii-s-K8gis,35042
|
|
141
|
+
label_studio_sdk/label_interface/label_tags.py,sha256=nWEo21Gd8IPzIO72UqraLrChIbvrSMCA_eEhzYGnGCc,2282
|
|
142
|
+
label_studio_sdk/label_interface/object_tags.py,sha256=jZb4OVXjgB_MyHzOyexXZvwKXe2kBw3QgThtNDDAO14,8154
|
|
143
|
+
label_studio_sdk/label_interface/region.py,sha256=fNZgPESjSQtKTwG8XLOtTttn6eU63kTGe5qMudDoTB0,1845
|
|
131
144
|
label_studio_sdk/ml/__init__.py,sha256=J4ncAcAOU_qriOx_Im9eFmXyupKM19SXMcpMcXSmw-I,455
|
|
132
145
|
label_studio_sdk/ml/client.py,sha256=PkwLvK3JO6CEwfqrVBUQJi8FaYUSRoayTqryGtt5LsI,35591
|
|
133
146
|
label_studio_sdk/ml/types/__init__.py,sha256=P6nY1akoIWZ95wDY3iQJGvp9VdM9Kifj7fTCVrdf6qw,640
|
|
@@ -140,7 +153,8 @@ label_studio_sdk/ml/types/ml_update_response_auth_method.py,sha256=1AhvSHg_qDNKx
|
|
|
140
153
|
label_studio_sdk/predictions/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
141
154
|
label_studio_sdk/predictions/client.py,sha256=2lsZH8_WMUa6nRNJ1igA0pHHE2AdUIzcLHOn9jlgOqE,25569
|
|
142
155
|
label_studio_sdk/projects/__init__.py,sha256=XHzKx2ttQBr1tcp4xyoMiNpbfQoY71fqqEh_AWjWu1k,284
|
|
143
|
-
label_studio_sdk/projects/client.py,sha256=
|
|
156
|
+
label_studio_sdk/projects/client.py,sha256=yddSkwzCEvMymse7eBakZ1cyuQXBrdy8vML5y_oScRE,42726
|
|
157
|
+
label_studio_sdk/projects/client_ext.py,sha256=9Wa_Jd6mDV98d5_LEgeBuWz0c04R_PvkQiwEtZTu9zU,573
|
|
144
158
|
label_studio_sdk/projects/exports/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
145
159
|
label_studio_sdk/projects/exports/client.py,sha256=l6xLfVe532YJQRrdG50-bxk2BfLaYji_5NIS-7ksloM,35783
|
|
146
160
|
label_studio_sdk/projects/types/__init__.py,sha256=Ui_c86Dq2E_2fStSNhwgxwi_3JjoO-YwCqTgiMPxu-k,348
|
|
@@ -149,12 +163,13 @@ label_studio_sdk/projects/types/projects_import_tasks_response.py,sha256=QleGWz6
|
|
|
149
163
|
label_studio_sdk/projects/types/projects_list_response.py,sha256=6iZSgnw8O5FRizmgobiVKqWJC1UjcXQLWduhJs-9CzU,1274
|
|
150
164
|
label_studio_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
151
165
|
label_studio_sdk/tasks/__init__.py,sha256=a30krVHgQie5L6dCoFHY2FinuDWikj_gQUCGalFhVa8,185
|
|
152
|
-
label_studio_sdk/tasks/client.py,sha256=
|
|
166
|
+
label_studio_sdk/tasks/client.py,sha256=lj4DCprYjpBMCL4sya_FbKhWGb173b-Ng9S7WJPT3Rk,30819
|
|
167
|
+
label_studio_sdk/tasks/client_ext.py,sha256=zOOUKUufEcB89AuwfQ6uFIUIai0k0dS23Sn0V0QQWWI,548
|
|
153
168
|
label_studio_sdk/tasks/types/__init__.py,sha256=F5n2075irgvO9TyLAXzp26Tybg_lxMC56UySZzHby8I,237
|
|
154
169
|
label_studio_sdk/tasks/types/tasks_list_request_fields.py,sha256=5YXxQgyzoaL0QjSE-aLs_fepCUuzj28iqUndh5NxGGg,166
|
|
155
170
|
label_studio_sdk/tasks/types/tasks_list_response.py,sha256=Jc-ncfOVi6b9fFVspOdosE0AKlLto6w7bcURr4F72_E,1705
|
|
156
171
|
label_studio_sdk/types/__init__.py,sha256=d-D2OV-PAhWrzrLZQ1tRFFsvG1BujJkPNib3BxK8M_4,4237
|
|
157
|
-
label_studio_sdk/types/annotation.py,sha256=
|
|
172
|
+
label_studio_sdk/types/annotation.py,sha256=EJaFw_Lo5aFNCk4hw4AfR9iobADkJjTNKzRxOdJFYS0,3649
|
|
158
173
|
label_studio_sdk/types/annotation_filter_options.py,sha256=_MjVVtTtQCb7hq7g9HnfFPktp4mb5n_ut7TL05mL7JQ,1495
|
|
159
174
|
label_studio_sdk/types/annotation_last_action.py,sha256=g1CU8ypFyneqqf_eWtNH-lC6Q_h1i_IporC-Fq6nkxs,392
|
|
160
175
|
label_studio_sdk/types/azure_blob_export_storage.py,sha256=JR3tu4ZYlKXVoVUFZYPdOvbWzcOLQfwGVAYsXDt6XUU,3343
|
|
@@ -201,7 +216,7 @@ label_studio_sdk/types/s3import_storage.py,sha256=ztrH-qqQnpZvgZSSE_l06ZK9GvS6vK
|
|
|
201
216
|
label_studio_sdk/types/s3import_storage_status.py,sha256=tufP_yMEimX4e3hzGPmKqVdDPNeaT4P178fBx3BmgIk,214
|
|
202
217
|
label_studio_sdk/types/serialization_option.py,sha256=WQqHZTqXTERA_83fkPsjxq1yTMj9DsOnfDJy76Xh3xo,1278
|
|
203
218
|
label_studio_sdk/types/serialization_options.py,sha256=FKubgrOGtD3t6Xi7N81zJxWV6WkWmu0WOrq1WD289TA,1774
|
|
204
|
-
label_studio_sdk/types/task.py,sha256=
|
|
219
|
+
label_studio_sdk/types/task.py,sha256=guuakI3ZRl4CdjEtZbbpM8v734Z9nR9pDkk2GrBWcGs,4637
|
|
205
220
|
label_studio_sdk/types/task_filter_options.py,sha256=ECmGUKl-lGXEr5BLkh2enPJMpnHkA3P-Niof_i6AB0A,1926
|
|
206
221
|
label_studio_sdk/types/user_simple.py,sha256=KfBGAEKWcJfoevRTCsrK1zYa81MXJcUf1IQ9p95nqVA,1333
|
|
207
222
|
label_studio_sdk/types/view.py,sha256=zIlUL8kgko-Gjdijjzz9L_zgHJfRFSSHJUQIUaX6D4Y,1797
|
|
@@ -215,25 +230,27 @@ label_studio_sdk/users/types/__init__.py,sha256=piwIvEOYFNLlEeWae92M9zoJ-LX6-7C-
|
|
|
215
230
|
label_studio_sdk/users/types/users_get_token_response.py,sha256=YIejH3pLDEX-t2VvNlFIYvHgsrjh1rWzYryJQV8o6Gk,1234
|
|
216
231
|
label_studio_sdk/users/types/users_reset_token_response.py,sha256=UJ-3wToXII5gdPhvHH_NOyycAhBNq-zCKnIh0Xx2SGY,1235
|
|
217
232
|
label_studio_sdk/version.py,sha256=Eku78MTxkaZ9PVTy-mNpvYkPrxl_z3iFk0EtJr4ESTM,84
|
|
218
|
-
label_studio_sdk/views/__init__.py,sha256=
|
|
233
|
+
label_studio_sdk/views/__init__.py,sha256=Uk1XymsEilbfS_Rpg8t_iiPDAOMu0DnotdZNv_fuZTU,1311
|
|
219
234
|
label_studio_sdk/views/client.py,sha256=kmVD3MnfkVnCesncBeQsyNr07zY5PIKU3Ba14gCs9uU,18979
|
|
220
|
-
label_studio_sdk/views/types/__init__.py,sha256=
|
|
221
|
-
label_studio_sdk/views/types/views_create_request_data.py,sha256=
|
|
222
|
-
label_studio_sdk/views/types/views_create_request_data_filters.py,sha256=
|
|
223
|
-
label_studio_sdk/views/types/views_create_request_data_filters_conjunction.py,sha256=
|
|
224
|
-
label_studio_sdk/views/types/views_create_request_data_filters_items_item.py,sha256=
|
|
225
|
-
label_studio_sdk/views/types/
|
|
226
|
-
label_studio_sdk/views/types/
|
|
227
|
-
label_studio_sdk/views/types/
|
|
228
|
-
label_studio_sdk/views/types/
|
|
229
|
-
label_studio_sdk/views/types/
|
|
230
|
-
label_studio_sdk/views/types/
|
|
231
|
-
label_studio_sdk/views/types/
|
|
232
|
-
label_studio_sdk/views/types/
|
|
235
|
+
label_studio_sdk/views/types/__init__.py,sha256=hnFtg6bC-Lpbqu9Ul0akQ4XR9ogIgypC8089P392v48,1994
|
|
236
|
+
label_studio_sdk/views/types/views_create_request_data.py,sha256=6pvIRFJrvtYtaQMZP7bQ3hsEF6oSTgZE-jaR2Os-c_0,2068
|
|
237
|
+
label_studio_sdk/views/types/views_create_request_data_filters.py,sha256=09RLdykGPKS13AXM8N1RJ9QVY7Lq0Ctvtw0mOqtaxRY,2173
|
|
238
|
+
label_studio_sdk/views/types/views_create_request_data_filters_conjunction.py,sha256=oAmyia_O5bN1oYIIctlXLuW9CkAXr8uZxGGtY-O522Q,177
|
|
239
|
+
label_studio_sdk/views/types/views_create_request_data_filters_items_item.py,sha256=0SaS_ra2JIB1D5cRAS9RKnWxjcG9JR3FZ6bD9oGNcb8,5429
|
|
240
|
+
label_studio_sdk/views/types/views_create_request_data_filters_items_item_filter.py,sha256=e1118ZrVc677US1CWIyVNL-JKveP7BWgvzVQ9E5E3ak,1037
|
|
241
|
+
label_studio_sdk/views/types/views_create_request_data_filters_items_item_operator.py,sha256=t0gj-aTmFPmsd4Q7vA7GCkEY3ABX95Rq1rC9-0-So6I,474
|
|
242
|
+
label_studio_sdk/views/types/views_create_request_data_ordering_item.py,sha256=vVlxUECgxTicZ5GkoOj90Wa1HL7LqBy8gTANo6iC3XU,873
|
|
243
|
+
label_studio_sdk/views/types/views_update_request_data.py,sha256=JRZ35h6usprkIQSD-5KhC253lLLLBnO4Fx-juQ5IisI,2068
|
|
244
|
+
label_studio_sdk/views/types/views_update_request_data_filters.py,sha256=05PoW8owGbdW08o7s_pLarxmYLDGTWvEmPgDz9SF-as,2173
|
|
245
|
+
label_studio_sdk/views/types/views_update_request_data_filters_conjunction.py,sha256=ilxbjT2_JkExn6ITSsqugnAw4kw38ihq1MZLh0aw9OI,177
|
|
246
|
+
label_studio_sdk/views/types/views_update_request_data_filters_items_item.py,sha256=tj1um-plqYpKTwXSWH_hZl6wBNN5mIxwgqaS0kxTsSs,5429
|
|
247
|
+
label_studio_sdk/views/types/views_update_request_data_filters_items_item_filter.py,sha256=76A7qVzjt5wtbhX2zch4AXbwtz-734NS3Im7Y7F_p6A,1037
|
|
248
|
+
label_studio_sdk/views/types/views_update_request_data_filters_items_item_operator.py,sha256=TL_v2wADS00zfQdOvYAOksMCXKmooWP9qossf7MS44w,474
|
|
249
|
+
label_studio_sdk/views/types/views_update_request_data_ordering_item.py,sha256=6TjHuKVqsCJ2SHWncUTVue182zx8a2ADu0_JOBSFaj4,873
|
|
233
250
|
label_studio_sdk/webhooks/__init__.py,sha256=0DSbAQyqXqt6PKwuuIVD7omuduXEibruIm5h0_68EKk,165
|
|
234
251
|
label_studio_sdk/webhooks/client.py,sha256=jAAN8y1f5uS4MjHV_TRFY2syHzHliqBx83s16hJg4ow,23277
|
|
235
252
|
label_studio_sdk/webhooks/types/__init__.py,sha256=NAHGRDDJqPr2fve8K4XwAV8Dr-OfLPhGmamY_VCzSvk,196
|
|
236
253
|
label_studio_sdk/webhooks/types/webhooks_update_request_actions_item.py,sha256=qBGwoU6G5uRwDGdJCXgqjJ2TzVLcak3sNObxMCgOjJg,517
|
|
237
|
-
label_studio_sdk-1.0.
|
|
238
|
-
label_studio_sdk-1.0.
|
|
239
|
-
label_studio_sdk-1.0.
|
|
254
|
+
label_studio_sdk-1.0.1.dist-info/METADATA,sha256=GacPm9jxja9ZDJCXmnugdwPcnZm047pZhMxq2DmMrrg,4692
|
|
255
|
+
label_studio_sdk-1.0.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
256
|
+
label_studio_sdk-1.0.1.dist-info/RECORD,,
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
"""
|
|
3
|
-
|
|
4
|
-
import json
|
|
5
|
-
from uuid import uuid4
|
|
6
|
-
|
|
7
|
-
from typing import Any
|
|
8
|
-
from pydantic import BaseModel, Field
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class Region(BaseModel):
|
|
12
|
-
"""
|
|
13
|
-
Class for Region Tag
|
|
14
|
-
|
|
15
|
-
Attributes:
|
|
16
|
-
-----------
|
|
17
|
-
id: str
|
|
18
|
-
The unique identifier of the region
|
|
19
|
-
x: int
|
|
20
|
-
The x coordinate of the region
|
|
21
|
-
y: int
|
|
22
|
-
|
|
23
|
-
"""
|
|
24
|
-
|
|
25
|
-
id: str = Field(default_factory=lambda: str(uuid4()))
|
|
26
|
-
from_tag: Any
|
|
27
|
-
to_tag: Any
|
|
28
|
-
value: Any
|
|
29
|
-
|
|
30
|
-
def _dict(self):
|
|
31
|
-
""" """
|
|
32
|
-
return {
|
|
33
|
-
"id": self.id,
|
|
34
|
-
"from_name": self.from_tag.name,
|
|
35
|
-
"to_name": self.to_tag.name,
|
|
36
|
-
"type": self.from_tag.tag.lower(),
|
|
37
|
-
# TODO This needs to be improved
|
|
38
|
-
"value": self.value.dict(),
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
def to_json(self):
|
|
42
|
-
""" """
|
|
43
|
-
return json.dumps(self._dict())
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|