label-studio-sdk 2.0.8__py3-none-any.whl → 2.0.10__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 +36 -16
- label_studio_sdk/base_client.py +0 -4
- label_studio_sdk/core/client_wrapper.py +1 -1
- label_studio_sdk/export_storage/__init__.py +13 -2
- label_studio_sdk/export_storage/client.py +4 -0
- label_studio_sdk/export_storage/databricks/client.py +1406 -0
- label_studio_sdk/import_storage/__init__.py +13 -2
- label_studio_sdk/import_storage/client.py +4 -0
- label_studio_sdk/import_storage/databricks/__init__.py +2 -0
- label_studio_sdk/import_storage/databricks/client.py +1466 -0
- label_studio_sdk/import_storage/gcswif/client.py +30 -0
- label_studio_sdk/organizations/invites/client.py +31 -6
- label_studio_sdk/projects/__init__.py +0 -2
- label_studio_sdk/projects/client.py +186 -32
- label_studio_sdk/projects/client_ext.py +20 -8
- label_studio_sdk/projects/types/__init__.py +0 -2
- label_studio_sdk/projects/types/lse_project_create_request_sampling.py +2 -2
- label_studio_sdk/projects/types/patched_lse_project_update_request_sampling.py +2 -2
- label_studio_sdk/prompts/client.py +340 -1
- label_studio_sdk/prompts/runs/client.py +127 -0
- label_studio_sdk/tasks/client.py +7 -2
- label_studio_sdk/types/__init__.py +36 -12
- label_studio_sdk/types/all_roles_project_list.py +10 -10
- label_studio_sdk/types/all_roles_project_list_sampling.py +2 -2
- label_studio_sdk/types/azure_blob_import_storage.py +5 -0
- label_studio_sdk/types/cancel_model_run_response.py +19 -0
- label_studio_sdk/types/configurable_permission_option.py +2 -2
- label_studio_sdk/types/databricks_export_storage.py +113 -0
- label_studio_sdk/types/databricks_export_storage_request.py +107 -0
- label_studio_sdk/types/databricks_import_storage.py +123 -0
- label_studio_sdk/types/databricks_import_storage_request.py +117 -0
- label_studio_sdk/types/default165enum.py +5 -0
- label_studio_sdk/types/gcs_import_storage.py +5 -0
- label_studio_sdk/types/gcswif_import_storage.py +5 -0
- label_studio_sdk/types/gcswif_import_storage_request.py +5 -0
- label_studio_sdk/types/local_files_import_storage.py +5 -0
- label_studio_sdk/types/lse_project_counts.py +8 -8
- label_studio_sdk/types/lse_project_create_sampling.py +2 -2
- label_studio_sdk/types/{project.py → lse_project_response.py} +44 -31
- label_studio_sdk/types/lse_project_response_sampling.py +7 -0
- label_studio_sdk/types/{project_skip_queue.py → lse_project_response_skip_queue.py} +1 -1
- label_studio_sdk/types/lse_project_sampling.py +2 -2
- label_studio_sdk/types/lse_project_update_sampling.py +2 -2
- label_studio_sdk/types/lse_task.py +6 -0
- label_studio_sdk/types/lse_task_serializer_for_reviewers.py +6 -0
- label_studio_sdk/types/lse_user.py +1 -0
- label_studio_sdk/types/lse_user_api.py +1 -0
- label_studio_sdk/types/options165enum.py +5 -0
- label_studio_sdk/types/organization_permission.py +7 -4
- label_studio_sdk/types/paginated_project_member.py +1 -0
- label_studio_sdk/types/paginated_project_subset_tasks_response_list.py +23 -0
- label_studio_sdk/types/project_subset_item.py +21 -0
- label_studio_sdk/types/project_subset_task_item.py +24 -0
- label_studio_sdk/types/project_subset_tasks_response.py +27 -0
- label_studio_sdk/types/review_settings.py +14 -0
- label_studio_sdk/types/review_settings_request.py +14 -0
- label_studio_sdk/types/review_settings_request_sampling.py +8 -0
- label_studio_sdk/types/review_settings_sampling.py +8 -0
- label_studio_sdk/types/review_settings_sampling_enum.py +5 -0
- label_studio_sdk/types/{sampling_enum.py → sampling_de5enum.py} +1 -1
- label_studio_sdk/types/who_am_i_user.py +1 -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.8.dist-info → label_studio_sdk-2.0.10.dist-info}/METADATA +41 -90
- {label_studio_sdk-2.0.8.dist-info → label_studio_sdk-2.0.10.dist-info}/RECORD +70 -57
- label_studio_sdk/blueprints/client.py +0 -272
- label_studio_sdk/projects/types/projects_list_request_filter.py +0 -5
- label_studio_sdk/types/blueprint.py +0 -41
- label_studio_sdk/types/configurable_permission_option_default.py +0 -7
- label_studio_sdk/types/project_sampling.py +0 -7
- /label_studio_sdk/{blueprints → export_storage/databricks}/__init__.py +0 -0
- {label_studio_sdk-2.0.8.dist-info → label_studio_sdk-2.0.10.dist-info}/LICENSE +0 -0
- {label_studio_sdk-2.0.8.dist-info → label_studio_sdk-2.0.10.dist-info}/WHEEL +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
label_studio_sdk/__init__.py,sha256=
|
|
1
|
+
label_studio_sdk/__init__.py,sha256=24ObsbbLyR88D8WTHAjaQu9qOHWKPe0o6TbOGwWoo90,20434
|
|
2
2
|
label_studio_sdk/_extensions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
label_studio_sdk/_extensions/eval/categorical.py,sha256=MxH2Jl8Mc6HS2byBnlRgABZgwMutSQdH3tgspwCkxqk,2703
|
|
4
4
|
label_studio_sdk/_extensions/label_studio_tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -55,11 +55,9 @@ label_studio_sdk/annotations/client.py,sha256=5WwgsMNydsGq4hOZkw9bNgfYFqnB6e1Zc8
|
|
|
55
55
|
label_studio_sdk/annotations/types/__init__.py,sha256=fFJUpZiJV7q7otQJVzsz9wJ1R8j_5qnm59z6ktmhWhE,409
|
|
56
56
|
label_studio_sdk/annotations/types/annotation_bulk_serializer_with_selected_items_request_last_action.py,sha256=bY82sf_78SmtUjwpSLEmL6UfSFcXjpPCc9sRDqNUEDs,273
|
|
57
57
|
label_studio_sdk/annotations/types/annotations_create_bulk_response_item.py,sha256=I-yNfeAGxx1sSeG2QQd_EHFo2m2xHOI7PEfZFWQAWMU,631
|
|
58
|
-
label_studio_sdk/base_client.py,sha256=
|
|
58
|
+
label_studio_sdk/base_client.py,sha256=g60CEVYG-tsos7eKV9vwEe3Qyos_neoNgFVGcN0pDlE,12810
|
|
59
59
|
label_studio_sdk/billing/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
60
60
|
label_studio_sdk/billing/client.py,sha256=EvXxch0d-6DRnh1fSIqOr51VQcM1EDGPUN-TVNCgdGs,3642
|
|
61
|
-
label_studio_sdk/blueprints/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
62
|
-
label_studio_sdk/blueprints/client.py,sha256=45PmanhB2n7tIDhtamYhP6qy-GOjDMbKTxsXLi-Il9k,7806
|
|
63
61
|
label_studio_sdk/client.py,sha256=g5YFI-U6OxGiGJ2aMqeREF1tGt-7LA5NSDl2CvW0wNA,916
|
|
64
62
|
label_studio_sdk/comments/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
65
63
|
label_studio_sdk/comments/client.py,sha256=OO3GN3CkLtqvjGEk8qRLrsx-AnRkIT7uew0iuIUbQsE,27722
|
|
@@ -85,7 +83,7 @@ label_studio_sdk/converter/main.py,sha256=gfe5zPV2dnIk4ifG1AT95ExkzOSLzje0EOjnW0
|
|
|
85
83
|
label_studio_sdk/converter/utils.py,sha256=VshPBwZLu2VPIGVsShKAkZwB_zKz0VvMkNRCwWeEqWg,18702
|
|
86
84
|
label_studio_sdk/core/__init__.py,sha256=ce_PzO3KeABqvV_Tz7cF_EnMf_mjAGZw9sp2q4XfFvY,1672
|
|
87
85
|
label_studio_sdk/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
|
88
|
-
label_studio_sdk/core/client_wrapper.py,sha256=
|
|
86
|
+
label_studio_sdk/core/client_wrapper.py,sha256=m0KiDmBV33wQPJYCHIU2qukCgrbRFCLTSSLwQCZK7jw,2247
|
|
89
87
|
label_studio_sdk/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
90
88
|
label_studio_sdk/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
91
89
|
label_studio_sdk/core/http_client.py,sha256=siUQ6UV0ARZALlxubqWSSAAPC9B4VW8y6MGlHStfaeo,19552
|
|
@@ -106,12 +104,14 @@ label_studio_sdk/errors/internal_server_error.py,sha256=8USCagXyJJ1MOm9snpcXIUt6
|
|
|
106
104
|
label_studio_sdk/errors/method_not_allowed_error.py,sha256=J58udm4lqm5DjnmtFYhVZRVAL3q2pH8TKnEZv3ZafAI,270
|
|
107
105
|
label_studio_sdk/errors/not_found_error.py,sha256=tBVCeBC8n3C811WHRj_n-hs3h8MqwR5gp0vLiobk7W8,262
|
|
108
106
|
label_studio_sdk/errors/unauthorized_error.py,sha256=1ewNCqSG1P-uogB5yCNwreq4Bf3VRor0woSOXS4NjPU,266
|
|
109
|
-
label_studio_sdk/export_storage/__init__.py,sha256=
|
|
107
|
+
label_studio_sdk/export_storage/__init__.py,sha256=wV8vx94m27R37JSlTLqPXdmp0Yv1ZyHW0I7pTv70bZ0,375
|
|
110
108
|
label_studio_sdk/export_storage/azure/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
111
109
|
label_studio_sdk/export_storage/azure/client.py,sha256=IWs16aePljaO_k9OFCK46TaWXRx-bZ98MhJEhcAS6Wg,30760
|
|
112
110
|
label_studio_sdk/export_storage/azure_spi/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
113
111
|
label_studio_sdk/export_storage/azure_spi/client.py,sha256=bCrcCOI6iklyAlDOFLy-AL_DfLh2WumgvZoXc7iQ7BE,44684
|
|
114
|
-
label_studio_sdk/export_storage/client.py,sha256=
|
|
112
|
+
label_studio_sdk/export_storage/client.py,sha256=MKuL7B6CMCJEn8l5hPEeR4QkWCTUSWulMkHcfSHurqc,5960
|
|
113
|
+
label_studio_sdk/export_storage/databricks/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
114
|
+
label_studio_sdk/export_storage/databricks/client.py,sha256=JH50vFWnXlag9IdLt0ggr-nkfOrKChOBmhjVWlOxjiQ,44176
|
|
115
115
|
label_studio_sdk/export_storage/gcs/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
116
116
|
label_studio_sdk/export_storage/gcs/client.py,sha256=kccAvVrTrYIKqhB8DDAoUTeMrxusBf5p2t9wTuXTQSw,31487
|
|
117
117
|
label_studio_sdk/export_storage/gcswif/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
@@ -128,16 +128,18 @@ label_studio_sdk/export_storage/types/__init__.py,sha256=G7iAfiRBL1WTYsluefJV4ZF
|
|
|
128
128
|
label_studio_sdk/export_storage/types/export_storage_list_types_response_item.py,sha256=g-yiiSzRPKOgjN_fiOmGnrL3C92JYBUZMAQSHlXjf14,644
|
|
129
129
|
label_studio_sdk/files/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
130
130
|
label_studio_sdk/files/client.py,sha256=OuSmuewFavBVm9bstwpb9CeGyJASEi_BS7HePvBDVYI,18899
|
|
131
|
-
label_studio_sdk/import_storage/__init__.py,sha256=
|
|
131
|
+
label_studio_sdk/import_storage/__init__.py,sha256=_h-ZnZ_TUsugME8zE3F_aeAkbbIU5rWEJxmDsQfMWCU,375
|
|
132
132
|
label_studio_sdk/import_storage/azure/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
133
133
|
label_studio_sdk/import_storage/azure/client.py,sha256=8SFzqUcy3H-fqtK3MVeOTCZAEcXssI2GonQf-Dj3a4o,35336
|
|
134
134
|
label_studio_sdk/import_storage/azure_spi/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
135
135
|
label_studio_sdk/import_storage/azure_spi/client.py,sha256=kcgiuI2t7ePB53gNMb1m9FOs7de0ohmhjilACjzCWQM,46316
|
|
136
|
-
label_studio_sdk/import_storage/client.py,sha256=
|
|
136
|
+
label_studio_sdk/import_storage/client.py,sha256=O41W9ohoc2IjUlr7DZpE5tAcGM_yHlaIQIpLBycKg4I,5946
|
|
137
|
+
label_studio_sdk/import_storage/databricks/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
138
|
+
label_studio_sdk/import_storage/databricks/client.py,sha256=yVRovPnE4zXf2_GKsOM3uIXDIuosn6L6yWrFZ6yWspM,46078
|
|
137
139
|
label_studio_sdk/import_storage/gcs/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
138
140
|
label_studio_sdk/import_storage/gcs/client.py,sha256=i7YSqj_akheMLPgOC14Tc4NDc8fIdpQYVxh8ipWWiiM,36087
|
|
139
141
|
label_studio_sdk/import_storage/gcswif/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
140
|
-
label_studio_sdk/import_storage/gcswif/client.py,sha256=
|
|
142
|
+
label_studio_sdk/import_storage/gcswif/client.py,sha256=60eOXFWyBVJ4sJiyhyq7ymMU6IqtuoLdfRNAxPw_CcI,47770
|
|
141
143
|
label_studio_sdk/import_storage/local/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
142
144
|
label_studio_sdk/import_storage/local/client.py,sha256=vhTRYk4DklYlNbgd5vqwbys96yb5vlrUAHaJHfXQ-wg,29958
|
|
143
145
|
label_studio_sdk/import_storage/redis/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
@@ -173,7 +175,7 @@ label_studio_sdk/model_providers/types/model_providers_list_model_provider_choic
|
|
|
173
175
|
label_studio_sdk/organizations/__init__.py,sha256=zaatz_dOveQ-LLlIhPykE9zB2lhnbLenklYdPgdYsgk,278
|
|
174
176
|
label_studio_sdk/organizations/client.py,sha256=tvy4wQOiGqI7KNqEnohDLmTvunVARk_-LR21m1rV_B4,31976
|
|
175
177
|
label_studio_sdk/organizations/invites/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
176
|
-
label_studio_sdk/organizations/invites/client.py,sha256=
|
|
178
|
+
label_studio_sdk/organizations/invites/client.py,sha256=8xpe_SpTv_37-eQ5bRCiw_-nHpXwzE3RwDTsBc_RJY0,11898
|
|
177
179
|
label_studio_sdk/organizations/members/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
178
180
|
label_studio_sdk/organizations/members/client.py,sha256=P7U1tmgOY_T1FfPQ5i4pDD8j_A3vNcwyfSZeAq2ZL8s,22677
|
|
179
181
|
label_studio_sdk/organizations/permissions/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
@@ -184,7 +186,7 @@ label_studio_sdk/predictions/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1r
|
|
|
184
186
|
label_studio_sdk/predictions/client.py,sha256=byZeW8GKDcQybZtF7JypVSuDkAOynDZ7B3m9zOcKns0,23930
|
|
185
187
|
label_studio_sdk/project_templates/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
186
188
|
label_studio_sdk/project_templates/client.py,sha256=nSVskzXekK0kZlFwz0InJmX-JsYAorH83y429gX5UyU,29214
|
|
187
|
-
label_studio_sdk/projects/__init__.py,sha256=
|
|
189
|
+
label_studio_sdk/projects/__init__.py,sha256=XukQAJexST6Iv6pgYufE6Er3UBYAooYA5C5iTwUjbac,3920
|
|
188
190
|
label_studio_sdk/projects/assignments/__init__.py,sha256=bllP6i4AeZvmw72dM7ZUC3yV6jo7T_xs6ygkFpi0BcY,1419
|
|
189
191
|
label_studio_sdk/projects/assignments/client.py,sha256=7_N3Sfok8fafM8g7XUek8quRdIi9Ryy0ZYs0VkUtewU,26692
|
|
190
192
|
label_studio_sdk/projects/assignments/types/__init__.py,sha256=0qltWGWdInAPW5mvPcOHdhNjgGSoR-bgr5gPa6Ctql8,2169
|
|
@@ -202,8 +204,8 @@ label_studio_sdk/projects/assignments/types/assignments_bulk_assign_request_type
|
|
|
202
204
|
label_studio_sdk/projects/assignments/types/assignments_bulk_assign_response.py,sha256=ufd6CtcQZa7g3qX6IYoI_iTa5XdPK_Gj3qXt0Ox0djE,783
|
|
203
205
|
label_studio_sdk/projects/assignments/types/assignments_delete_request_type.py,sha256=v8TJIzwbZMxDx4OqODX3jwlrYnAeDE5W3jJFYaTe7WE,164
|
|
204
206
|
label_studio_sdk/projects/assignments/types/assignments_update_request_type.py,sha256=bq1LYqiRIF4HQIzswN70myDCpgRWNWCzS2Y65-gtEQ8,164
|
|
205
|
-
label_studio_sdk/projects/client.py,sha256=
|
|
206
|
-
label_studio_sdk/projects/client_ext.py,sha256=
|
|
207
|
+
label_studio_sdk/projects/client.py,sha256=pH9mF_rkSkYzA_ttF_CYZ0xZtC5xA8wPVlvDNztoQQM,95112
|
|
208
|
+
label_studio_sdk/projects/client_ext.py,sha256=evGy81u0Ek6Q3GV1DfxPAq3iibNVLOM768pqF4EO4ZY,2242
|
|
207
209
|
label_studio_sdk/projects/exports/__init__.py,sha256=d-VUTRrtssGHCzxO7Hb4sUA8dcvfiQhlW1Z6x_KtvHQ,145
|
|
208
210
|
label_studio_sdk/projects/exports/client.py,sha256=fn7cWuPfgq5Qlc2fx2wevMVryviFOoLo46WjTx9D0jQ,39806
|
|
209
211
|
label_studio_sdk/projects/exports/client_ext.py,sha256=p6dvCv3VvBxX1EhtkwTwE3Px-ZCAqCH7Py1ywwYed2Q,11298
|
|
@@ -250,23 +252,22 @@ label_studio_sdk/projects/stats/types/stats_user_prediction_agreement_response_a
|
|
|
250
252
|
label_studio_sdk/projects/stats/types/stats_user_review_score_response.py,sha256=IkHp70wdojC7OEpNDrI_HkXNF06CSyTOatbpn-btwb4,945
|
|
251
253
|
label_studio_sdk/projects/stats/types/stats_user_review_score_response_performance_score.py,sha256=v_2id5FlC8FsLXHYdQeyvXVhUh5LUSxsALELPNc0KEc,172
|
|
252
254
|
label_studio_sdk/projects/stats/types/stats_user_review_score_response_review_score.py,sha256=2aUmSJpi4CCvuJaUtCf-wGWJpf-WC8kTM4cr1vTFNxw,167
|
|
253
|
-
label_studio_sdk/projects/types/__init__.py,sha256=
|
|
254
|
-
label_studio_sdk/projects/types/lse_project_create_request_sampling.py,sha256=
|
|
255
|
+
label_studio_sdk/projects/types/__init__.py,sha256=lLYLOvnuo-s4KN5BGVTLtzbfazQubAPSsgZGkkXN62U,944
|
|
256
|
+
label_studio_sdk/projects/types/lse_project_create_request_sampling.py,sha256=reHoOX3N-mxO78NyrLQKWqhx6_n7S4oCd6GFK1Bc_qw,248
|
|
255
257
|
label_studio_sdk/projects/types/lse_project_create_request_skip_queue.py,sha256=0KAP0didzYHcbZL5h7HjMv62Hg0bp4GafyFdoKrk-SE,244
|
|
256
|
-
label_studio_sdk/projects/types/patched_lse_project_update_request_sampling.py,sha256=
|
|
258
|
+
label_studio_sdk/projects/types/patched_lse_project_update_request_sampling.py,sha256=xU1ZWxaAXor6Ah8TkAUVe0dtq2_Mz_P6J8u3KCXAWIc,255
|
|
257
259
|
label_studio_sdk/projects/types/patched_lse_project_update_request_skip_queue.py,sha256=lNMH6T-8o1JSpqAd4A7beduc_kpkrtEGuO81BAbhe6U,251
|
|
258
260
|
label_studio_sdk/projects/types/projects_duplicate_response.py,sha256=ZccLAQbnPIzE0j4Nl8tuE3gj6GpEJNuLb0MihlrAJew,643
|
|
259
261
|
label_studio_sdk/projects/types/projects_import_predictions_response.py,sha256=WB1IWMWFyQrDIRbnnwfakbHxShgjkpemdtxWqFWpbHg,716
|
|
260
262
|
label_studio_sdk/projects/types/projects_import_tasks_response.py,sha256=xCvl5LaPy0pnhaSxgXRhHOZfjCmhZyD1hfcBuqOXFNs,1654
|
|
261
|
-
label_studio_sdk/projects/types/projects_list_request_filter.py,sha256=h7ec1q1eCcJb39tL3bWN0RGEhKjde9rAT9zizlJv8bU,189
|
|
262
263
|
label_studio_sdk/prompts/__init__.py,sha256=1iFVHCib0Oh9NY5V3pdQdThh3rK-jzbKp7fBTP7e8MU,449
|
|
263
|
-
label_studio_sdk/prompts/client.py,sha256=
|
|
264
|
+
label_studio_sdk/prompts/client.py,sha256=UaMgJpLvY5KW_lDuXih8VeHBxX5-nQb8-bAWwDduvEA,48265
|
|
264
265
|
label_studio_sdk/prompts/indicators/__init__.py,sha256=yoGwST9VAiG8VK9wMY3lg8sxjE66JpLOdOLexA7ao-Q,153
|
|
265
266
|
label_studio_sdk/prompts/indicators/client.py,sha256=M7Mls1rsfjm2V-EdTxNRZbbNI5DOWW8l4o0Z9cZi4Jk,7415
|
|
266
267
|
label_studio_sdk/prompts/indicators/types/__init__.py,sha256=db20VVHX4XQIVSpTgzTKERxmOL8s9ccath9TOClQc5I,177
|
|
267
268
|
label_studio_sdk/prompts/indicators/types/indicators_list_response_item.py,sha256=k9Dmk1zVUjnodE1ngddiQ7pV-dB8r1_NqufD24x7qOQ,682
|
|
268
269
|
label_studio_sdk/prompts/runs/__init__.py,sha256=o6GLzKNZevVPlSvNx_Tdf8xNX51s6gA4SvNL2rUF7bk,157
|
|
269
|
-
label_studio_sdk/prompts/runs/client.py,sha256=
|
|
270
|
+
label_studio_sdk/prompts/runs/client.py,sha256=Kx22qcl8SnY8ROz6JhlQgRUmhEWDp5S4H5LpQ0HyuM0,16196
|
|
270
271
|
label_studio_sdk/prompts/runs/types/__init__.py,sha256=iAA-b05WePpMQ5Q7DejSb-vD38ET-cNNXBMlHU3i46Q,184
|
|
271
272
|
label_studio_sdk/prompts/runs/types/runs_list_request_project_subset.py,sha256=F3H-dbfdJpe5hD_V_buW2_ZtpMTgum7Pcgb1pLYecBo,178
|
|
272
273
|
label_studio_sdk/prompts/types/__init__.py,sha256=KkzGrUqIlFu-9GqtQtICgJl0qCIylKVtC5b1-Ocqzsc,230
|
|
@@ -283,20 +284,20 @@ label_studio_sdk/sso/saml/client.py,sha256=cJjtUwqe1-OLqIizs3x0Jkmn_HNgeI1DwCQzf
|
|
|
283
284
|
label_studio_sdk/sso/scim/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
284
285
|
label_studio_sdk/sso/scim/client.py,sha256=f701q9CmoSVBxkhNsG7U0vwbBlbCZjbJzkcTEVm5eEk,9310
|
|
285
286
|
label_studio_sdk/tasks/__init__.py,sha256=S7ezO_rgM2LjAdKINXt5BFDFHUgyr0DTIaDKN8COFaQ,145
|
|
286
|
-
label_studio_sdk/tasks/client.py,sha256=
|
|
287
|
+
label_studio_sdk/tasks/client.py,sha256=lwdS--4C1l8uf6gkkA24wYknp8hJvXwVyheL-cVPWaQ,59807
|
|
287
288
|
label_studio_sdk/tasks/client_ext.py,sha256=ZA0mE7DzgPWgUw4BKbtodyXJPCyG2Oe5BmMWWKuvn3M,786
|
|
288
289
|
label_studio_sdk/tasks/types/__init__.py,sha256=3YbOmwUbf5BwGU_-gL9C2KK56jVYI32j6Wc9tarrzF0,165
|
|
289
290
|
label_studio_sdk/tasks/types/tasks_list_request_fields.py,sha256=5YXxQgyzoaL0QjSE-aLs_fepCUuzj28iqUndh5NxGGg,166
|
|
290
291
|
label_studio_sdk/tokens/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
291
292
|
label_studio_sdk/tokens/client.py,sha256=xcGl2ZA6Ojc9fZAbZQrqZ-yfBfllCUvvD4gzDM2HvW4,19125
|
|
292
293
|
label_studio_sdk/tokens/client_ext.py,sha256=DJ4vEslU0BKragW51LjJW-AG1uogPiCeEGB3o6qtAK4,6030
|
|
293
|
-
label_studio_sdk/types/__init__.py,sha256=
|
|
294
|
+
label_studio_sdk/types/__init__.py,sha256=POSEH1VL1pwEIw142FC2ia3ozxP-FE5njTqodvbYK4s,20584
|
|
294
295
|
label_studio_sdk/types/action_enum.py,sha256=5dJlg23VHWVcFR1NvsKyUPTFuORMtiIsA887EpCzvTU,382
|
|
295
296
|
label_studio_sdk/types/actions_enum.py,sha256=h2lpUstX459SfopuhWzpUONFhMYNkeWsddTxmTIx54k,575
|
|
296
297
|
label_studio_sdk/types/activity_log.py,sha256=nU1OMVtFgH1mrgYAFpDd9lnIr-4aAuFyo7ZhgGtXF_4,1398
|
|
297
298
|
label_studio_sdk/types/activity_log_response.py,sha256=z2Ya8wH-LD_2C34CkQXoRRMQZ8qRWv1YFysMf7YDLxk,940
|
|
298
|
-
label_studio_sdk/types/all_roles_project_list.py,sha256=
|
|
299
|
-
label_studio_sdk/types/all_roles_project_list_sampling.py,sha256=
|
|
299
|
+
label_studio_sdk/types/all_roles_project_list.py,sha256=1R5PeA48Q41ahYbrw-f7GIKNkSbOfh-kLCX8PlDjLOQ,6470
|
|
300
|
+
label_studio_sdk/types/all_roles_project_list_sampling.py,sha256=gp1qTwC1uFYwTqQ7734oAadwYANeiaqUiNrSTPgEUcc,228
|
|
300
301
|
label_studio_sdk/types/all_roles_project_list_skip_queue.py,sha256=qG46c-oIEljyv5BtHLqGYqzQVSn57JhjUzp5ws2b1wQ,224
|
|
301
302
|
label_studio_sdk/types/annotated_enum.py,sha256=27V8YMHtJtJITG-Ehwvgv7Y6ZEKPgK-9_qnbXvwxrYg,156
|
|
302
303
|
label_studio_sdk/types/annotation.py,sha256=vEMzQpyCzOMO4egNFPJhMXbsQNYrGrRzdveWcKnDAjA,3633
|
|
@@ -314,7 +315,7 @@ label_studio_sdk/types/assignment_settings_request_label_stream_task_distributio
|
|
|
314
315
|
label_studio_sdk/types/associated_project.py,sha256=NzSJTUMtf8Pk02c_1TWcmtgJerwdeNhjN8Bc6HAZWgo,937
|
|
315
316
|
label_studio_sdk/types/auth_method_enum.py,sha256=d74Q_NNA8_TJrifHfwKnp0UnM2kRcbyYghwjUttv0ag,160
|
|
316
317
|
label_studio_sdk/types/azure_blob_export_storage.py,sha256=bXd4yMYcQn9IyHUPcRNci1BuiFXTPBeaBxpqWwQw5sU,2541
|
|
317
|
-
label_studio_sdk/types/azure_blob_import_storage.py,sha256=
|
|
318
|
+
label_studio_sdk/types/azure_blob_import_storage.py,sha256=yMubsYxlhR4HRCq2mf1X5i9DGMcA7-stYTad6xFhRik,2721
|
|
318
319
|
label_studio_sdk/types/azure_service_principal_export_storage.py,sha256=1nzwVNW1rZXzc7k95gRHT7rImS_zrdo2_dz1wl_KeUY,2934
|
|
319
320
|
label_studio_sdk/types/azure_service_principal_export_storage_request.py,sha256=ZG-Ha0xA3Jou0_wjtN_chAQBmeP7fpTw7Y7e7EH2N9Q,2833
|
|
320
321
|
label_studio_sdk/types/azure_service_principal_import_storage.py,sha256=B34OtD8wXuuC1rcE3rXUAZ9zsJlX6bw1CyzB8vNk_sc,3087
|
|
@@ -325,19 +326,23 @@ label_studio_sdk/types/billing_checks.py,sha256=oDWKLdEHZTUx4MDdUPkLdg_zJSyeqk7b
|
|
|
325
326
|
label_studio_sdk/types/billing_flags.py,sha256=NE6fU89GOTmMsnRzNeELwaTRrlnUWb-YW451sKbMvXQ,1482
|
|
326
327
|
label_studio_sdk/types/billing_info_response.py,sha256=vvZyV_s4htMo-YN3dnQuduKKMvT7A_wcOMDjm312p8A,698
|
|
327
328
|
label_studio_sdk/types/blank_enum.py,sha256=vYagq5xwjlI6eOtcMnnEH9O5IpIgKGXA2c-BkbOdI84,111
|
|
328
|
-
label_studio_sdk/types/blueprint.py,sha256=vlnBR4wNXn5cblg0-8O0pcXTdrgJbCzo67dxcHQiRgs,1108
|
|
329
329
|
label_studio_sdk/types/blueprint_list.py,sha256=gQjvW8Y3avEQivb0vDJwMlJ2tsgJDQ53ggxf2WZIXTM,894
|
|
330
330
|
label_studio_sdk/types/budget_reset_period_enum.py,sha256=_GZlGEVuaFPG7Hv8OVzZEhczgXBB2pYUo2wXifjv8UY,166
|
|
331
|
+
label_studio_sdk/types/cancel_model_run_response.py,sha256=Y4TJbdm7xXuvqiUL_SaMfRnhFO1Tf6ujtDrsX_Kgvtw,569
|
|
331
332
|
label_studio_sdk/types/child_filter.py,sha256=7qWK61ruBDaYj6COaeBW6KUwKbeu_HOPEx977ho0baU,1126
|
|
332
333
|
label_studio_sdk/types/comment.py,sha256=ZMPqvMCj9L2RH40ggHL0a5N0NfaRf5rBAQvOuSevRVU,1478
|
|
333
334
|
label_studio_sdk/types/comment_request.py,sha256=LqqLFRKm3zfMFLW74AOjKLQUIhEIGlfGgZUUsgGBDmw,1004
|
|
334
335
|
label_studio_sdk/types/comment_serializer_with_expanded_user.py,sha256=ARzKtX-l8BA4mpPeg27djUd5tFVmF1eq6AU0wJyl3i0,1471
|
|
335
|
-
label_studio_sdk/types/configurable_permission_option.py,sha256=
|
|
336
|
-
label_studio_sdk/types/configurable_permission_option_default.py,sha256=S6XO9nhpNBvRSofxTeOccJvS7z4NxlnlqFunVrb4_xA,223
|
|
336
|
+
label_studio_sdk/types/configurable_permission_option.py,sha256=gySpaisswhUSvo0DIbwRfej2_dKZP4dl5rG1JB64H8Q,811
|
|
337
337
|
label_studio_sdk/types/converted_format.py,sha256=0vdOAQRfccS1aI75df3z5v-ujBacYGo4YECdlyiGlGY,793
|
|
338
338
|
label_studio_sdk/types/converted_format_request.py,sha256=4hoaY0SlMtGCDmfAYCw-3_1e1YPxatumTohApCk_QvE,788
|
|
339
339
|
label_studio_sdk/types/count_limit.py,sha256=Gj_e9ajx9CFWV2PfEePnh7xy38kkQxlhE4MA9D6Hz5Y,628
|
|
340
340
|
label_studio_sdk/types/custom_scripts_editable_by_enum.py,sha256=D6cvF_3KZd5SHfG5mZ4ymCw58tbjK_rNUBegjMchklw,163
|
|
341
|
+
label_studio_sdk/types/databricks_export_storage.py,sha256=nXPLv0BNWvMwdA570KKSd6NAH2El9SuvgKaOhC1YK4c,2850
|
|
342
|
+
label_studio_sdk/types/databricks_export_storage_request.py,sha256=uVLpa6z1QrSJ4E1h3_CfSHrdLnpUOPxe68UFsTmTmIs,2788
|
|
343
|
+
label_studio_sdk/types/databricks_import_storage.py,sha256=5Wkeff0ViMYd_acNKGhTvAIWgUZOxArlRSPXO8ffeL0,3086
|
|
344
|
+
label_studio_sdk/types/databricks_import_storage_request.py,sha256=vcNaEEV2LVJ7iETOc8a0NTq2QN1Iu2ls7YQpPmrLK9Y,3024
|
|
345
|
+
label_studio_sdk/types/default165enum.py,sha256=V1ZZVslQl1_FSPJhTQgdYchE38HcR8oyTqOEHYgOwVk,180
|
|
341
346
|
label_studio_sdk/types/default_role.py,sha256=CgJH12PA25A_8nJfb6E4P5_wbqELC6AV6iD0gpHLKHo,3055
|
|
342
347
|
label_studio_sdk/types/default_role_custom_scripts_editable_by.py,sha256=5YdtFSNWL363z6C6IuucAVEFyxeztxd0ZgwHj3YZJv4,274
|
|
343
348
|
label_studio_sdk/types/edition_enum.py,sha256=ve-LU0FMQIY3RcCdQ3iEPjscCz-kft8hZ77oYRX_MZ8,162
|
|
@@ -347,18 +352,18 @@ label_studio_sdk/types/filter.py,sha256=BxT68BJB8oBATaimvM3aSo6znzLclHvZfG_4s6Qy
|
|
|
347
352
|
label_studio_sdk/types/filter_group.py,sha256=CmapvsW0KLKHLiJazp6ccMPzVd6j_OxBw0uufG2WYmE,695
|
|
348
353
|
label_studio_sdk/types/finished_enum.py,sha256=0gbRd21JVKi7SMHyISOhDt7-xAtH6C5IuxrOIw-SmJc,155
|
|
349
354
|
label_studio_sdk/types/gcs_export_storage.py,sha256=ODCh8LG4ksv19WD6X2n1TJl_6Z2ozeFdpyhboT1gOwM,2573
|
|
350
|
-
label_studio_sdk/types/gcs_import_storage.py,sha256=
|
|
355
|
+
label_studio_sdk/types/gcs_import_storage.py,sha256=g-HWzuKmgv0Dbfewa6zuoPZdOkl_9qhs_pS3s0ylbH4,2750
|
|
351
356
|
label_studio_sdk/types/gcswif_export_storage.py,sha256=1vwmClNTFzGLSB7OFlCjhjHs78LtvMCvyDu480voFBA,3074
|
|
352
357
|
label_studio_sdk/types/gcswif_export_storage_request.py,sha256=YhLvP8RHD51UP7A5-AU9sS7Cc6rS0uRQripyP1YBFLk,2973
|
|
353
|
-
label_studio_sdk/types/gcswif_import_storage.py,sha256=
|
|
354
|
-
label_studio_sdk/types/gcswif_import_storage_request.py,sha256=
|
|
358
|
+
label_studio_sdk/types/gcswif_import_storage.py,sha256=odQL1ah4C7VoQN6NCxn3eluES_79BjBF5MNpY-TEKjM,3251
|
|
359
|
+
label_studio_sdk/types/gcswif_import_storage_request.py,sha256=xy4lz-4W9tlJR29D7ytXa5UqKzlNRDtXwm_OvKCXRZo,3150
|
|
355
360
|
label_studio_sdk/types/hotkeys.py,sha256=x0RTEPlqMRB7pEwdTd4nkOFu9fdSbuiZ_etIchRS_EE,604
|
|
356
361
|
label_studio_sdk/types/import_api_request.py,sha256=7lPdufFyiykLii0k935NmDZYxzs19bHMwNs1YausNF4,2624
|
|
357
362
|
label_studio_sdk/types/inference_run_cost_estimate.py,sha256=jCDocozRw363e5QPV_OviOhWzscUJGXlvE9PsmtsE-4,1310
|
|
358
363
|
label_studio_sdk/types/label_stream_task_distribution_enum.py,sha256=LZDvMbZigztE5k0In3mvILBaYi1g8tQYRdwnpRr-BYA,193
|
|
359
364
|
label_studio_sdk/types/last_action_enum.py,sha256=Rgd9Ak8CS6SKumKapkpXOgv0G4e7PXWa_3i7r3VH3Zk,386
|
|
360
365
|
label_studio_sdk/types/local_files_export_storage.py,sha256=KrVHtbUqflCD5qah_Fq3cpfhjbO072mknQUV4Rcz8L8,2177
|
|
361
|
-
label_studio_sdk/types/local_files_import_storage.py,sha256=
|
|
366
|
+
label_studio_sdk/types/local_files_import_storage.py,sha256=nZtWD_1Fw7XaubCokeDpdKAemeioP3xer1rELzSLSPU,2193
|
|
362
367
|
label_studio_sdk/types/lse_annotation_filter_options.py,sha256=tPC4vmeJdczA3YDosyB7-1hUczcOJJK3ugn_XR7svB0,1344
|
|
363
368
|
label_studio_sdk/types/lse_annotation_filter_options_request.py,sha256=fWD0HpcIzGZEI_JsRU-yOI0NiWF3WjMMR5eCBT-zGJU,1373
|
|
364
369
|
label_studio_sdk/types/lse_annotation_filter_options_request_reviewed.py,sha256=QnHdZ4664WrsplfkhX5xq-3jkpES1LS9f5A1vHJjhKE,233
|
|
@@ -372,20 +377,23 @@ label_studio_sdk/types/lse_organization.py,sha256=mSSEe3uE0wJ9FWEot-GV8_qRrD_7cw
|
|
|
372
377
|
label_studio_sdk/types/lse_organization_custom_scripts_editable_by.py,sha256=y-IxR7V6xr6n_z934BXzg4pEjZ06FF-lcT6YiYjLMaM,278
|
|
373
378
|
label_studio_sdk/types/lse_organization_member_list.py,sha256=NIkPnczq9KrowYJTtLGvGNQtSUejgrMnB7k-k5kuQ_Y,912
|
|
374
379
|
label_studio_sdk/types/lse_project.py,sha256=2wUkVY-6DClokcXCxRFHBO743XFXzj6VSc1Z_Su-Mus,7161
|
|
375
|
-
label_studio_sdk/types/lse_project_counts.py,sha256=
|
|
380
|
+
label_studio_sdk/types/lse_project_counts.py,sha256=4X9C6_GPawSFDCijPAcCLzLYrn16NVX4I3gug189Ejo,1265
|
|
376
381
|
label_studio_sdk/types/lse_project_create.py,sha256=pnGL13P9xT0_KqPgs_Ha3Rao9b6yB5s4sumWS_dONdA,6042
|
|
377
|
-
label_studio_sdk/types/lse_project_create_sampling.py,sha256=
|
|
382
|
+
label_studio_sdk/types/lse_project_create_sampling.py,sha256=Egoj9e4JKitVZEw7yQdJSJygmoVUTg2xkGZiK4_-oWM,225
|
|
378
383
|
label_studio_sdk/types/lse_project_create_skip_queue.py,sha256=MNCyF-K7MvppwVD9yByeZsEcCFAv3R46ufx3drzUWfs,221
|
|
379
|
-
label_studio_sdk/types/
|
|
384
|
+
label_studio_sdk/types/lse_project_response.py,sha256=LLmNTG7_x-7DWO4BrFS3HnrBZeZVeiF3fbXJ1J55Lic,6690
|
|
385
|
+
label_studio_sdk/types/lse_project_response_sampling.py,sha256=5Ibxi4L6qBstEpa4d2tOwqQGAJxPK_fUw7HSszuAEFM,227
|
|
386
|
+
label_studio_sdk/types/lse_project_response_skip_queue.py,sha256=Zf8keF9bdkrdKp2pcWrLmhj0nmlO9kIg0cHNuD5gB_c,223
|
|
387
|
+
label_studio_sdk/types/lse_project_sampling.py,sha256=iEJ_hGcX7uDNOrqtnsf-L8eaar07BTMrXa8L_c6L_UM,219
|
|
380
388
|
label_studio_sdk/types/lse_project_skip_queue.py,sha256=GI8Jm7vJ2qFnnDF80MtuwxvBh12Iy3p8iLiTk5vGfSU,215
|
|
381
389
|
label_studio_sdk/types/lse_project_update.py,sha256=6G-c7agVGHpVxkV3OZyejfNreBxMCNQYEDRpJHjNO18,6961
|
|
382
|
-
label_studio_sdk/types/lse_project_update_sampling.py,sha256=
|
|
390
|
+
label_studio_sdk/types/lse_project_update_sampling.py,sha256=aNEO2LzxoI6l-ry-DppqiUSqD3Iep62irLfZ6ow5BYo,225
|
|
383
391
|
label_studio_sdk/types/lse_project_update_skip_queue.py,sha256=KPCTdIN145xcOTKxA4l3dyAZath9zly9PVfRBEbaiJM,221
|
|
384
392
|
label_studio_sdk/types/lse_s3export_storage.py,sha256=Ao0MeKyHGdOy1FRIBF96vZP8Y0Ken37fwNUUw8t_yRM,3334
|
|
385
393
|
label_studio_sdk/types/lse_s3export_storage_request.py,sha256=OxmVJvuVh-PVBtfAeSijeG8NLvYMZK3TRs1kTFkEgqk,3233
|
|
386
394
|
label_studio_sdk/types/lse_s3import_storage.py,sha256=5lbzEQ9pPr6D2x0prvZFfEKRKbkVbxW5bP589zjsBeg,3511
|
|
387
395
|
label_studio_sdk/types/lse_s3import_storage_request.py,sha256=bgv3IzEL_q8r9eNxB0UIxLpy3yEB77LkOoYbwwvVZ1I,3410
|
|
388
|
-
label_studio_sdk/types/lse_task.py,sha256=
|
|
396
|
+
label_studio_sdk/types/lse_task.py,sha256=MN3FDXUsK4DuKtpGw0pcXAzJagjkTWW1xnOptpjzGEM,3940
|
|
389
397
|
label_studio_sdk/types/lse_task_drafts_item.py,sha256=V-EXOdhNmTHCFxzIRlwLGcVpiByZFRHxb-c0qNsHfTw,769
|
|
390
398
|
label_studio_sdk/types/lse_task_filter_options.py,sha256=XiJUNQcoqPVWJGT_76O3REAuk6zN0Ta1ThTGk5aOBKw,2210
|
|
391
399
|
label_studio_sdk/types/lse_task_filter_options_annotated.py,sha256=-0l0anGws-B889zYX-VPCAUVlabzZGLVcpE8HfKln1Y,224
|
|
@@ -401,11 +409,11 @@ label_studio_sdk/types/lse_task_predictions_item.py,sha256=-thtYUl3yB0y2XHTC1inP
|
|
|
401
409
|
label_studio_sdk/types/lse_task_serializer_for_annotators.py,sha256=jJbuLnMDsZHFnsYQWA9oY6Qx82S7cS5ik2YOKBJX9CI,1750
|
|
402
410
|
label_studio_sdk/types/lse_task_serializer_for_annotators_drafts_item.py,sha256=MXtWOeyzjkwK09t6o_z34jadLOHHPfNOwrjkGdIIXyY,792
|
|
403
411
|
label_studio_sdk/types/lse_task_serializer_for_annotators_predictions_item.py,sha256=pFC73bYK1H7MriQE_qoX3znGlXgXD9ZcP3-oQ2STcaY,1130
|
|
404
|
-
label_studio_sdk/types/lse_task_serializer_for_reviewers.py,sha256=
|
|
412
|
+
label_studio_sdk/types/lse_task_serializer_for_reviewers.py,sha256=OvmTOZDouvRLcRlXE4ctRZ_DtRPqezFAmrXM1CPxP6w,4100
|
|
405
413
|
label_studio_sdk/types/lse_task_serializer_for_reviewers_drafts_item.py,sha256=EfySRnQD4wuzEAKNjrxaf_6vAe5tw0FJEe39BYiDNQc,791
|
|
406
414
|
label_studio_sdk/types/lse_task_serializer_for_reviewers_predictions_item.py,sha256=ZeUjfTTFqmOZ7CVs6uqV-uJ0PtcWucQv54GAcqBVKOI,1129
|
|
407
|
-
label_studio_sdk/types/lse_user.py,sha256=
|
|
408
|
-
label_studio_sdk/types/lse_user_api.py,sha256=
|
|
415
|
+
label_studio_sdk/types/lse_user.py,sha256=d697wggquMSIp4x8tuWnQoysNAg2fJPjVlgfglja6zQ,1644
|
|
416
|
+
label_studio_sdk/types/lse_user_api.py,sha256=pZU9UwIVJxphzmFbyRvv76PVDq7CTjFoGw2pq06s9PE,1572
|
|
409
417
|
label_studio_sdk/types/lse_user_organization_member_list.py,sha256=njjCE1DddO92Ncry8R9Uyinx7aIzBhVMvors5R4TU3I,1523
|
|
410
418
|
label_studio_sdk/types/lseapi_token_create.py,sha256=IP5uO2iCQT0mi-0SAb7mzEX87Ik_GliTD8pa5az6nf8,603
|
|
411
419
|
label_studio_sdk/types/lseapi_token_list.py,sha256=6ARiZVlG4w_na_cTP453z10fZaSqaQioi9crlYb_0Ms,601
|
|
@@ -424,12 +432,13 @@ label_studio_sdk/types/model_run.py,sha256=F7Hns7WI6vS8VkxdWbmG6wF9ggtFadhnRgoI0
|
|
|
424
432
|
label_studio_sdk/types/model_run_status_enum.py,sha256=j83OJKAf0MXkoTPTP-nkPxkaXdlrYmJTBOh3I01DR3M,208
|
|
425
433
|
label_studio_sdk/types/null_enum.py,sha256=rtcmzB3rfjGmmTssMrK_i0iiyXqIDQJZKw5TLd_kbtM,80
|
|
426
434
|
label_studio_sdk/types/onboarding_state_enum.py,sha256=ypsbXGgdnO7_Ld1rQlblL_QtC0xwT0uA4f2iDlyCLoI,239
|
|
435
|
+
label_studio_sdk/types/options165enum.py,sha256=hE7OPpXMfs1BPdY6MoNtCzASJxxCXfjRb3IN1dNxUPo,180
|
|
427
436
|
label_studio_sdk/types/organization_billing.py,sha256=Ir1WFlpEDz2inMYiK3paxCDjezmNfqzn5M2EE8Gk_2o,619
|
|
428
437
|
label_studio_sdk/types/organization_id.py,sha256=m7ew37tOrmWlhTsfiZtBGLyc1iEfftdqlx3Iv1F5c38,803
|
|
429
438
|
label_studio_sdk/types/organization_invite.py,sha256=l6q6F2LpGUjD0LxAId0zZboWoVVO0nyf0EMOaEuSnzI,632
|
|
430
439
|
label_studio_sdk/types/organization_member.py,sha256=aFQq-VWEMd8pX5eqzxt-feCbQkx8CXsNtxw-JilY6pU,936
|
|
431
440
|
label_studio_sdk/types/organization_membership.py,sha256=AyI2C4P453v8S3-VupLshC1b0K8sC09CBDj-ZMTqAVU,664
|
|
432
|
-
label_studio_sdk/types/organization_permission.py,sha256=
|
|
441
|
+
label_studio_sdk/types/organization_permission.py,sha256=hgIOJZc1vZLJE9DS6eo0zKYl9QcERIKPYiupb91PhH8,1102
|
|
433
442
|
label_studio_sdk/types/organization_permission_request.py,sha256=J33v9oESKNQf_lDy7-aYQ6KznH6AjbKZSDvejmCGRec,787
|
|
434
443
|
label_studio_sdk/types/paginated_all_roles_project_list_list.py,sha256=oOe6LOBdiy0LFlHjKeqGGnmmqMer6OxR7kPE2zS-7A4,760
|
|
435
444
|
label_studio_sdk/types/paginated_annotation_history_list.py,sha256=WaaMgDRFe2j5a8w-2sYcJmmRN7g7WvTrYsbOg5j4Yic,750
|
|
@@ -437,13 +446,13 @@ label_studio_sdk/types/paginated_lse_organization_member_list_list.py,sha256=zTy
|
|
|
437
446
|
label_studio_sdk/types/paginated_lse_project_counts_list.py,sha256=3e6n40xtPy9dv-kV0Qjqyqq3qW2-KAObUK_nFf0HebM,747
|
|
438
447
|
label_studio_sdk/types/paginated_lse_user_list.py,sha256=mgEBh_e9F1O9_tJs2O12T3_KwrmsEvpyW01Y8qPXspo,710
|
|
439
448
|
label_studio_sdk/types/paginated_paginated_project_member_list.py,sha256=K6323my5YWSM9jsbq98Kpa2xHGrdizMYdEUyutiGymg,771
|
|
440
|
-
label_studio_sdk/types/paginated_project_member.py,sha256=
|
|
449
|
+
label_studio_sdk/types/paginated_project_member.py,sha256=gY-WgnvvkqLq5SvLqkvwJjt_KgjUYtmlmt1KuAQkmGU,1681
|
|
450
|
+
label_studio_sdk/types/paginated_project_subset_tasks_response_list.py,sha256=16G0ivnRJbTh5Vb-r5xE9Y-zXmCs6C1NMwejd71mJLY,788
|
|
441
451
|
label_studio_sdk/types/paginated_role_based_task_list.py,sha256=d-fIE8kqfynKfnTpirLt_E2VMwsoXcNzFX1jT-hzbYY,904
|
|
442
452
|
label_studio_sdk/types/pause.py,sha256=rJl4A2QkPvSYq7rYNE4CglyJ_P73F8UG88Sdbo0X95M,2110
|
|
443
453
|
label_studio_sdk/types/pause_request.py,sha256=vJHh0cYDICaxJsXsYjKvqR5-Hd3zxv1gPl1YIisefbo,1283
|
|
444
454
|
label_studio_sdk/types/prediction.py,sha256=eqERSK1XAPlNxFLHexIujQYggLez0m988b8TV7ZkPCw,1891
|
|
445
455
|
label_studio_sdk/types/prediction_request.py,sha256=BpLWHoGJuG9xgWe3ymx67d8ICRt9ovWt6lYj7oZUdnA,1717
|
|
446
|
-
label_studio_sdk/types/project.py,sha256=yRPglO4livlfxBEZP-koo9Ab4B-oJ8OLy0Jn_oOmLhU,5931
|
|
447
456
|
label_studio_sdk/types/project_group.py,sha256=sASxxH5KUYCMWsKE8IUU5zsgCSxiyX8p6dEKuQkhG5g,667
|
|
448
457
|
label_studio_sdk/types/project_group_request.py,sha256=jLGipNUBL6YBb4lfye2jrKwuRXQr7E4mp7d6KObF19Q,674
|
|
449
458
|
label_studio_sdk/types/project_group_role_enum.py,sha256=1MLxDuR5ydZGHvILnB2_vbIf52P7oTEs7KlsveMT2Wc,180
|
|
@@ -451,9 +460,10 @@ label_studio_sdk/types/project_import.py,sha256=mgjHnlxx9QHaSdjQM2Vr8i0zMfEMukgo
|
|
|
451
460
|
label_studio_sdk/types/project_label_config.py,sha256=pYvB09g9mopzZbSgkPMwC3eou8wHUEj6CkQk7QllBjA,673
|
|
452
461
|
label_studio_sdk/types/project_label_config_request.py,sha256=O_IcPOADSztE02hkrC4PJiHN2LBSbT0SJ9Tj3A7IkbA,680
|
|
453
462
|
label_studio_sdk/types/project_member_bulk_assign_roles_request.py,sha256=m9YV2PiNnFVg76Ufqusm6_zxe9P9Xjg9VstWaJNPWMk,642
|
|
454
|
-
label_studio_sdk/types/project_sampling.py,sha256=n7U04PqHAIJ-53MqiQ9i6EyUn4RklVWu6KjZ-__FyhU,207
|
|
455
|
-
label_studio_sdk/types/project_skip_queue.py,sha256=SW4RQaUGV9VmW_kUv9v6ngrReHt8YGeaxRKEIazYdjY,212
|
|
456
463
|
label_studio_sdk/types/project_subset_enum.py,sha256=KuppmnQZwBtl3WD1g6B7Cosyf-S7_tYaB7PZvvD9GGs,167
|
|
464
|
+
label_studio_sdk/types/project_subset_item.py,sha256=E0BmDYH_meV5UUfghhjWzsTgpnT-fZ0CZw_wZMptTmQ,682
|
|
465
|
+
label_studio_sdk/types/project_subset_task_item.py,sha256=-m_OjzZ5lTpC2ynO8zjKkeAkA7bwsQ8lYokUCVDb_yQ,940
|
|
466
|
+
label_studio_sdk/types/project_subset_tasks_response.py,sha256=H9UTzMq0UtFPX97C6IbgZN6_pCWO984gX94KSpu-IHc,894
|
|
457
467
|
label_studio_sdk/types/project_template.py,sha256=xhbJEn9cFFDgOyrucFS-7IhvkaHzHXCYbPastiKfwyk,1425
|
|
458
468
|
label_studio_sdk/types/project_template_request.py,sha256=QwBPw0Vyk8xsRGjQ8QEnqX-JOXU0tRxHUo629PPJuZ0,1362
|
|
459
469
|
label_studio_sdk/types/prompts_status_enum.py,sha256=g0EHGa6fJav2Xq7_eNowijMX_q9bzZkjoImOf_-KuXE,391
|
|
@@ -464,12 +474,15 @@ label_studio_sdk/types/redis_import_storage.py,sha256=rWkmh7resA7MCktHJ_YbAk1Vet
|
|
|
464
474
|
label_studio_sdk/types/refined_prompt_response.py,sha256=QfvX7H-ranz97t4L0LVGE2F3YorcSLzOMRIVXbBT8c4,1463
|
|
465
475
|
label_studio_sdk/types/requeue_rejected_tasks_mode_enum.py,sha256=C_0Gr-NdR5C9gQ_K7mnZ_LlhGhvNOLqL3RuythlKQFs,185
|
|
466
476
|
label_studio_sdk/types/review_criteria_enum.py,sha256=LR7JBVnDYD8vUtjqDoh9CyZtD5KYkmbcoiQJ597aXbI,156
|
|
467
|
-
label_studio_sdk/types/review_settings.py,sha256=
|
|
468
|
-
label_studio_sdk/types/review_settings_request.py,sha256=
|
|
477
|
+
label_studio_sdk/types/review_settings.py,sha256=lfmBDaEntWDx6BHMFZWQLkF0lzHgzN47ubDQo54zbG8,3272
|
|
478
|
+
label_studio_sdk/types/review_settings_request.py,sha256=G08AmR16ysaEqm5XdE8DpJV9trP5v4I0kFKm00DPQGs,3301
|
|
469
479
|
label_studio_sdk/types/review_settings_request_requeue_rejected_tasks_mode.py,sha256=1mYnW_-Rf5SxXwZIqM5LS4rtATRMKr1TVhK4iqrxE70,333
|
|
470
480
|
label_studio_sdk/types/review_settings_request_review_criteria.py,sha256=jbnHXIPcGTarHAVEtzzi5-tprDk4eIX184ptsuao8r0,246
|
|
481
|
+
label_studio_sdk/types/review_settings_request_sampling.py,sha256=jSkews716mUDoOFPV1G65oSGkomB1EtdQ4E6AL_PTNY,310
|
|
471
482
|
label_studio_sdk/types/review_settings_requeue_rejected_tasks_mode.py,sha256=1Rb7RvttHvzEM_zAfrWF22lbd9Ah75d876T10bnxgVI,326
|
|
472
483
|
label_studio_sdk/types/review_settings_review_criteria.py,sha256=jwNkr--dHJkoOzam1Xnji1zqzt8xjs2ToNNMgtfejfw,239
|
|
484
|
+
label_studio_sdk/types/review_settings_sampling.py,sha256=KnR4pGIFUwgl6WP3VesZuPRswHYAqwIZYmYCesCisAM,303
|
|
485
|
+
label_studio_sdk/types/review_settings_sampling_enum.py,sha256=E_jwsV-4qbwe9Tc1llAFV7wCT0XfaT69pkfIILZk3dQ,171
|
|
473
486
|
label_studio_sdk/types/reviewed_enum.py,sha256=FsqYlxkK9Esx7zSiuIVLhMZeDMYocoZyKI_u2g8RHOw,155
|
|
474
487
|
label_studio_sdk/types/role9e7enum.py,sha256=nJoXEHF4O87K5PDqFn0HGG_AQ0LOeGPTWkZ-ggtgPDg,177
|
|
475
488
|
label_studio_sdk/types/role_based_task.py,sha256=3zseKdoI_SIq_b2EUShS4o-fh7dDeIwiT-3QRwsSCro,367
|
|
@@ -477,7 +490,7 @@ label_studio_sdk/types/s3export_storage.py,sha256=NIV9R5FcOTnamaPPypCyO7BZa5oMjh
|
|
|
477
490
|
label_studio_sdk/types/s3import_storage.py,sha256=D2NJcwS7tJ0J2c_z1GfByw2_K_BDyw2o_RdnqdhwgOI,3287
|
|
478
491
|
label_studio_sdk/types/saml_settings.py,sha256=fhHI0j1H1-QZ4jqhBrpYbNIBO-p8dgbLBpGrgPH8YOE,761
|
|
479
492
|
label_studio_sdk/types/saml_settings_update.py,sha256=J-Rj-PEHZHo-EpJKltE2zM6HmUeQgJUhPfj7Yymaou0,809
|
|
480
|
-
label_studio_sdk/types/
|
|
493
|
+
label_studio_sdk/types/sampling_de5enum.py,sha256=IouAt_Jd91WjXxt2P98a5m2LoXtQ_m1i-WU1Kz15gho,212
|
|
481
494
|
label_studio_sdk/types/scim_settings.py,sha256=2ESks5_hLiaUHlOEQNQ8U_mPGfhnlsBeflc6WSpSP0E,761
|
|
482
495
|
label_studio_sdk/types/scim_settings_update.py,sha256=n624U7NLnrabbAVN-blZ3y89ebzPuFrnXg1fh3Dt0SU,809
|
|
483
496
|
label_studio_sdk/types/scope_enum.py,sha256=u2HWNCsVmQhNVDIW4jq7xjbi1GLSIK7pUMnTj77v2tQ,166
|
|
@@ -510,7 +523,7 @@ label_studio_sdk/types/webhook_serializer_for_update.py,sha256=x52Tfps9jaiml5cr2
|
|
|
510
523
|
label_studio_sdk/types/who_am_i_lse_fields.py,sha256=mZZyQ7BeRJwxSYJvgr94fHCxgZM0wBQ9NGr7LkYN_hw,1815
|
|
511
524
|
label_studio_sdk/types/who_am_i_lse_fields_onboarding_state.py,sha256=E1v7QgVn1MEwTv9gQLXPDNlgm-1sKKYcRfe8HMGe_Ps,289
|
|
512
525
|
label_studio_sdk/types/who_am_i_lse_fields_trial_role.py,sha256=edD3Mw9CBgQM_ZxHsRn9tdqh2DzYvefsHNyCfHhrT90,265
|
|
513
|
-
label_studio_sdk/types/who_am_i_user.py,sha256=
|
|
526
|
+
label_studio_sdk/types/who_am_i_user.py,sha256=dEkmvQbMYTuGxi7KysISZKjKO8unUoNkDcqbKEOyGi4,1702
|
|
514
527
|
label_studio_sdk/types/workspace.py,sha256=6To6WDvZWejhm1vAdIehlq6h9vpPN8UpMc92YA6g49I,1273
|
|
515
528
|
label_studio_sdk/types/workspace_member_create.py,sha256=vPsS7IC6hPz9eDgr6TN2xIP7U40Eb1Tv7Ly8Zvn44iI,714
|
|
516
529
|
label_studio_sdk/types/workspace_member_list.py,sha256=TSP6g33n3OGtMV-Uz7rmME4oR_4bb42vG9ne8I4UEJQ,698
|
|
@@ -561,17 +574,17 @@ label_studio_sdk/webhooks/types/webhooks_info_response_reviews_deleted.py,sha256
|
|
|
561
574
|
label_studio_sdk/webhooks/types/webhooks_info_response_tasks_created.py,sha256=ephgO22xdgWJUvzyj3sPgsVCsVhsKxVQvA0W0nXN2cE,785
|
|
562
575
|
label_studio_sdk/webhooks/types/webhooks_info_response_tasks_deleted.py,sha256=_J0al_hFAXG7tqqVkBSqbpl6VB4H9DYCqDY07MjGIlE,785
|
|
563
576
|
label_studio_sdk/workspaces/__init__.py,sha256=4IfkSXstAMN7sS3_Z6jV9m75h2ER0bpaX_J_TO0WTPU,110
|
|
564
|
-
label_studio_sdk/workspaces/client.py,sha256=
|
|
577
|
+
label_studio_sdk/workspaces/client.py,sha256=C2KzA_n83EO75-4dEEPrj-g4dptfgmD-AWzNNUHr22Q,25658
|
|
565
578
|
label_studio_sdk/workspaces/members/__init__.py,sha256=5TumCIWOTZDOZa5pJd-sg4BooYoPm9hqO0N3frUCGlo,225
|
|
566
579
|
label_studio_sdk/workspaces/members/bulk/__init__.py,sha256=a9iYfTwhgtS3l_5HLym31_5xHD4G3jWA_T-ZLvoz2Qc,175
|
|
567
|
-
label_studio_sdk/workspaces/members/bulk/client.py,sha256=
|
|
580
|
+
label_studio_sdk/workspaces/members/bulk/client.py,sha256=UrU156sRfI7Ju4XWwthT3zesro8b4x67zTEyK_eh5sA,10176
|
|
568
581
|
label_studio_sdk/workspaces/members/bulk/types/__init__.py,sha256=mIdGHkaAbK1Mq6tVM0QA8IqefxknjU3zLZgbIaIOdhY,221
|
|
569
582
|
label_studio_sdk/workspaces/members/bulk/types/bulk_delete_response.py,sha256=sUNqoGRnpxGxxx1i0lYuK5F_L0RzxlQ3rPDhxqih1hA,602
|
|
570
583
|
label_studio_sdk/workspaces/members/bulk/types/bulk_post_response.py,sha256=LV0qxT81BaKqMdG4__k_tN3NmMCjMFIpjIsE5FJBuBk,598
|
|
571
|
-
label_studio_sdk/workspaces/members/client.py,sha256=
|
|
584
|
+
label_studio_sdk/workspaces/members/client.py,sha256=gOsdSU94L4H0yt5iJL9MHiFBfsfBZZ6BV-MTL1k0dew,14116
|
|
572
585
|
label_studio_sdk/workspaces/members/paginated/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
573
|
-
label_studio_sdk/workspaces/members/paginated/client.py,sha256=
|
|
574
|
-
label_studio_sdk-2.0.
|
|
575
|
-
label_studio_sdk-2.0.
|
|
576
|
-
label_studio_sdk-2.0.
|
|
577
|
-
label_studio_sdk-2.0.
|
|
586
|
+
label_studio_sdk/workspaces/members/paginated/client.py,sha256=vTyjdS30Mr09OAT06MgCeiXvVCKxJYtJFtb0odMgnZE,7831
|
|
587
|
+
label_studio_sdk-2.0.10.dist-info/LICENSE,sha256=ymVrFcHiJGjHeY30NWZgdV-xzNEtfuC63oK9ZeMDjhs,11341
|
|
588
|
+
label_studio_sdk-2.0.10.dist-info/METADATA,sha256=o_Hb646wqCObSJN9AnOs36OionIoFypLQbFfV-5LmKk,6982
|
|
589
|
+
label_studio_sdk-2.0.10.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
590
|
+
label_studio_sdk-2.0.10.dist-info/RECORD,,
|
|
@@ -1,272 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
3
|
-
import typing
|
|
4
|
-
from ..core.client_wrapper import SyncClientWrapper
|
|
5
|
-
from ..core.request_options import RequestOptions
|
|
6
|
-
from ..types.blueprint import Blueprint
|
|
7
|
-
from ..core.unchecked_base_model import construct_type
|
|
8
|
-
from json.decoder import JSONDecodeError
|
|
9
|
-
from ..core.api_error import ApiError
|
|
10
|
-
from ..core.jsonable_encoder import jsonable_encoder
|
|
11
|
-
from ..core.client_wrapper import AsyncClientWrapper
|
|
12
|
-
|
|
13
|
-
# this is used as the default value for optional parameters
|
|
14
|
-
OMIT = typing.cast(typing.Any, ...)
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
class BlueprintsClient:
|
|
18
|
-
def __init__(self, *, client_wrapper: SyncClientWrapper):
|
|
19
|
-
self._client_wrapper = client_wrapper
|
|
20
|
-
|
|
21
|
-
def create(
|
|
22
|
-
self,
|
|
23
|
-
*,
|
|
24
|
-
project: int,
|
|
25
|
-
created_by: typing.Optional[int] = OMIT,
|
|
26
|
-
description: typing.Optional[str] = OMIT,
|
|
27
|
-
label_config: typing.Optional[str] = OMIT,
|
|
28
|
-
title: typing.Optional[str] = OMIT,
|
|
29
|
-
request_options: typing.Optional[RequestOptions] = None,
|
|
30
|
-
) -> Blueprint:
|
|
31
|
-
"""
|
|
32
|
-
Create a new blueprint
|
|
33
|
-
|
|
34
|
-
Parameters
|
|
35
|
-
----------
|
|
36
|
-
project : int
|
|
37
|
-
|
|
38
|
-
created_by : typing.Optional[int]
|
|
39
|
-
|
|
40
|
-
description : typing.Optional[str]
|
|
41
|
-
Project description
|
|
42
|
-
|
|
43
|
-
label_config : typing.Optional[str]
|
|
44
|
-
Labeling configuration in XML format
|
|
45
|
-
|
|
46
|
-
title : typing.Optional[str]
|
|
47
|
-
Blueprint name. Must be between 3 and 50 characters long.
|
|
48
|
-
|
|
49
|
-
request_options : typing.Optional[RequestOptions]
|
|
50
|
-
Request-specific configuration.
|
|
51
|
-
|
|
52
|
-
Returns
|
|
53
|
-
-------
|
|
54
|
-
Blueprint
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
Examples
|
|
58
|
-
--------
|
|
59
|
-
from label_studio_sdk import LabelStudio
|
|
60
|
-
|
|
61
|
-
client = LabelStudio(
|
|
62
|
-
api_key="YOUR_API_KEY",
|
|
63
|
-
)
|
|
64
|
-
client.blueprints.create(
|
|
65
|
-
project=1,
|
|
66
|
-
)
|
|
67
|
-
"""
|
|
68
|
-
_response = self._client_wrapper.httpx_client.request(
|
|
69
|
-
"api/blueprints/",
|
|
70
|
-
method="POST",
|
|
71
|
-
json={
|
|
72
|
-
"created_by": created_by,
|
|
73
|
-
"description": description,
|
|
74
|
-
"label_config": label_config,
|
|
75
|
-
"project": project,
|
|
76
|
-
"title": title,
|
|
77
|
-
},
|
|
78
|
-
headers={
|
|
79
|
-
"content-type": "application/json",
|
|
80
|
-
},
|
|
81
|
-
request_options=request_options,
|
|
82
|
-
omit=OMIT,
|
|
83
|
-
)
|
|
84
|
-
try:
|
|
85
|
-
if 200 <= _response.status_code < 300:
|
|
86
|
-
return typing.cast(
|
|
87
|
-
Blueprint,
|
|
88
|
-
construct_type(
|
|
89
|
-
type_=Blueprint, # type: ignore
|
|
90
|
-
object_=_response.json(),
|
|
91
|
-
),
|
|
92
|
-
)
|
|
93
|
-
_response_json = _response.json()
|
|
94
|
-
except JSONDecodeError:
|
|
95
|
-
raise ApiError(status_code=_response.status_code, body=_response.text)
|
|
96
|
-
raise ApiError(status_code=_response.status_code, body=_response_json)
|
|
97
|
-
|
|
98
|
-
def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None:
|
|
99
|
-
"""
|
|
100
|
-
Delete a blueprint by ID
|
|
101
|
-
|
|
102
|
-
Parameters
|
|
103
|
-
----------
|
|
104
|
-
id : str
|
|
105
|
-
|
|
106
|
-
request_options : typing.Optional[RequestOptions]
|
|
107
|
-
Request-specific configuration.
|
|
108
|
-
|
|
109
|
-
Returns
|
|
110
|
-
-------
|
|
111
|
-
None
|
|
112
|
-
|
|
113
|
-
Examples
|
|
114
|
-
--------
|
|
115
|
-
from label_studio_sdk import LabelStudio
|
|
116
|
-
|
|
117
|
-
client = LabelStudio(
|
|
118
|
-
api_key="YOUR_API_KEY",
|
|
119
|
-
)
|
|
120
|
-
client.blueprints.delete(
|
|
121
|
-
id="id",
|
|
122
|
-
)
|
|
123
|
-
"""
|
|
124
|
-
_response = self._client_wrapper.httpx_client.request(
|
|
125
|
-
f"api/blueprints/{jsonable_encoder(id)}/",
|
|
126
|
-
method="DELETE",
|
|
127
|
-
request_options=request_options,
|
|
128
|
-
)
|
|
129
|
-
try:
|
|
130
|
-
if 200 <= _response.status_code < 300:
|
|
131
|
-
return
|
|
132
|
-
_response_json = _response.json()
|
|
133
|
-
except JSONDecodeError:
|
|
134
|
-
raise ApiError(status_code=_response.status_code, body=_response.text)
|
|
135
|
-
raise ApiError(status_code=_response.status_code, body=_response_json)
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
class AsyncBlueprintsClient:
|
|
139
|
-
def __init__(self, *, client_wrapper: AsyncClientWrapper):
|
|
140
|
-
self._client_wrapper = client_wrapper
|
|
141
|
-
|
|
142
|
-
async def create(
|
|
143
|
-
self,
|
|
144
|
-
*,
|
|
145
|
-
project: int,
|
|
146
|
-
created_by: typing.Optional[int] = OMIT,
|
|
147
|
-
description: typing.Optional[str] = OMIT,
|
|
148
|
-
label_config: typing.Optional[str] = OMIT,
|
|
149
|
-
title: typing.Optional[str] = OMIT,
|
|
150
|
-
request_options: typing.Optional[RequestOptions] = None,
|
|
151
|
-
) -> Blueprint:
|
|
152
|
-
"""
|
|
153
|
-
Create a new blueprint
|
|
154
|
-
|
|
155
|
-
Parameters
|
|
156
|
-
----------
|
|
157
|
-
project : int
|
|
158
|
-
|
|
159
|
-
created_by : typing.Optional[int]
|
|
160
|
-
|
|
161
|
-
description : typing.Optional[str]
|
|
162
|
-
Project description
|
|
163
|
-
|
|
164
|
-
label_config : typing.Optional[str]
|
|
165
|
-
Labeling configuration in XML format
|
|
166
|
-
|
|
167
|
-
title : typing.Optional[str]
|
|
168
|
-
Blueprint name. Must be between 3 and 50 characters long.
|
|
169
|
-
|
|
170
|
-
request_options : typing.Optional[RequestOptions]
|
|
171
|
-
Request-specific configuration.
|
|
172
|
-
|
|
173
|
-
Returns
|
|
174
|
-
-------
|
|
175
|
-
Blueprint
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
Examples
|
|
179
|
-
--------
|
|
180
|
-
import asyncio
|
|
181
|
-
|
|
182
|
-
from label_studio_sdk import AsyncLabelStudio
|
|
183
|
-
|
|
184
|
-
client = AsyncLabelStudio(
|
|
185
|
-
api_key="YOUR_API_KEY",
|
|
186
|
-
)
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
async def main() -> None:
|
|
190
|
-
await client.blueprints.create(
|
|
191
|
-
project=1,
|
|
192
|
-
)
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
asyncio.run(main())
|
|
196
|
-
"""
|
|
197
|
-
_response = await self._client_wrapper.httpx_client.request(
|
|
198
|
-
"api/blueprints/",
|
|
199
|
-
method="POST",
|
|
200
|
-
json={
|
|
201
|
-
"created_by": created_by,
|
|
202
|
-
"description": description,
|
|
203
|
-
"label_config": label_config,
|
|
204
|
-
"project": project,
|
|
205
|
-
"title": title,
|
|
206
|
-
},
|
|
207
|
-
headers={
|
|
208
|
-
"content-type": "application/json",
|
|
209
|
-
},
|
|
210
|
-
request_options=request_options,
|
|
211
|
-
omit=OMIT,
|
|
212
|
-
)
|
|
213
|
-
try:
|
|
214
|
-
if 200 <= _response.status_code < 300:
|
|
215
|
-
return typing.cast(
|
|
216
|
-
Blueprint,
|
|
217
|
-
construct_type(
|
|
218
|
-
type_=Blueprint, # type: ignore
|
|
219
|
-
object_=_response.json(),
|
|
220
|
-
),
|
|
221
|
-
)
|
|
222
|
-
_response_json = _response.json()
|
|
223
|
-
except JSONDecodeError:
|
|
224
|
-
raise ApiError(status_code=_response.status_code, body=_response.text)
|
|
225
|
-
raise ApiError(status_code=_response.status_code, body=_response_json)
|
|
226
|
-
|
|
227
|
-
async def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None:
|
|
228
|
-
"""
|
|
229
|
-
Delete a blueprint by ID
|
|
230
|
-
|
|
231
|
-
Parameters
|
|
232
|
-
----------
|
|
233
|
-
id : str
|
|
234
|
-
|
|
235
|
-
request_options : typing.Optional[RequestOptions]
|
|
236
|
-
Request-specific configuration.
|
|
237
|
-
|
|
238
|
-
Returns
|
|
239
|
-
-------
|
|
240
|
-
None
|
|
241
|
-
|
|
242
|
-
Examples
|
|
243
|
-
--------
|
|
244
|
-
import asyncio
|
|
245
|
-
|
|
246
|
-
from label_studio_sdk import AsyncLabelStudio
|
|
247
|
-
|
|
248
|
-
client = AsyncLabelStudio(
|
|
249
|
-
api_key="YOUR_API_KEY",
|
|
250
|
-
)
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
async def main() -> None:
|
|
254
|
-
await client.blueprints.delete(
|
|
255
|
-
id="id",
|
|
256
|
-
)
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
asyncio.run(main())
|
|
260
|
-
"""
|
|
261
|
-
_response = await self._client_wrapper.httpx_client.request(
|
|
262
|
-
f"api/blueprints/{jsonable_encoder(id)}/",
|
|
263
|
-
method="DELETE",
|
|
264
|
-
request_options=request_options,
|
|
265
|
-
)
|
|
266
|
-
try:
|
|
267
|
-
if 200 <= _response.status_code < 300:
|
|
268
|
-
return
|
|
269
|
-
_response_json = _response.json()
|
|
270
|
-
except JSONDecodeError:
|
|
271
|
-
raise ApiError(status_code=_response.status_code, body=_response.text)
|
|
272
|
-
raise ApiError(status_code=_response.status_code, body=_response_json)
|