You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This version has a number of documentation and functional improvements over SDK 1.
42
+
43
+
### Enhancements
44
+
45
+
**Enterprise-only**
46
+
47
+
- Added a new `projects.stats.iaa` endpoint to return stats from the inter-annotator agreement matrix.
48
+
- You can now update tasks that have comments.
49
+
- Added support for `sync` to `S3s` (S3 with IAM role) exports.
50
+
51
+
**Enterprise and open source**
52
+
53
+
- Expanded support to include all project settings, many of which were missing in SDK 1. For example, in Enterprise environments you can now configure `assignment_settings`, `review_settings`, `annotator_evaluation`, and many more.
54
+
- Fixed passing the `project` parameter in `actions.list()` (broken in SDK 1).
55
+
- Relaxed request/response validation reduces pydantic errors in SDK 2.
56
+
57
+
### Breaking changes
58
+
59
+
**Enterprise-only**
60
+
61
+
-`comments.create` no longer accepts a `project` argument.
62
+
- In `prompts.indicators`, the `pk` parameter is now `id`.
63
+
- In `prompts.runs` and `prompts.versions`, the `id` parameter is now `prompt_id`.
64
+
-`workspaces.members.list` responses are now objects instead of dictionaries.
65
+
66
+
**Enterprise and open source**
67
+
68
+
- In `projects.exports` calls, the project ID is now passed as `id`, while the export ID is passed as `export_pk`.
69
+
- Predictions returned in task responses are now objects instead of dictionaries.
70
+
71
+
## SDK 1.0+
72
+
73
+
SDK 1 was released in June 2024.
74
+
75
+
If you use the Label Studio SDK 1 package in any automated pipelines, we strongly recommend pinning your SDK version to `<2.0.0` until you can reconcile the breaking changes.
76
+
77
+
78
+
## SDK <1
79
+
80
+
The version of `label-studio-sdk<1` is deprecated and no longer supported. We recommend updating to the latest version.
81
+
82
+
<details>
83
+
84
+
<summary> To use SDK <1 </summary>
85
+
86
+
If you still want to use the deprecated version, you can install it with `pip install "label-studio-sdk<1"`.
87
+
88
+
OR You can find the branch with the old version by cloning the repository and checking out the branch as follows:
0 commit comments