I use labelstudio 1.12.1 and labelstudio sdk 1.0.0
I wanted to create a new annotation using the SDK. A call using the current python example does not work and leads to an validation error. Also it seems like the data structure of the examples and what is actually saved when creating an annotation manually is different.
@StickyDoughnut thanks for reporting the initial bug, feel free to create a new issue or message me on Slack if the issue persists (and I'll reopen this issue for more discussion)
Hi!
I use labelstudio 1.12.1 and labelstudio sdk 1.0.0
I wanted to create a new annotation using the SDK. A call using the current python example does not work and leads to an validation error. Also it seems like the data structure of the examples and what is actually saved when creating an annotation manually is different.
The documentation says:
but labelstudio saves the values like this:
When I call api with curl like this:
The annotation is created properly. Doing the same with the python SDK also creates the annotation properly but leads to a validation error:
It returns "value is not a valid dict".