HumanSignal / HumanSignal/label-studio

Bug with being able to run `list_annotations` function on a Label Studio project object in SDK

Open
#5,524 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
28.3k
Forks
3.7k
Avg merge
14h
Merged PRs (30d)
15

Description

**Describe the bug**
I should be able to run the `list_annotations` function in https://github.com/HumanSignal/label-studio-sdk/blob/master/label_studio_sdk/project.py

**To Reproduce**
Steps to reproduce the behavior:

Run this code for a given task id and your Label Studio project object:
`
annotations = project.list_annotations(task_id)`

**Expected behavior**
I expected to be able to run the list_annotations function defined in the `project.py` script but got this error instead

**Screenshots**
If applicable, add screenshots to help explain your prob
![Screenshot 2024-03-01 at 9 41 42 AM](https://github.com/HumanSignal/label-studio/assets/8604219/e9061f01-f2b3-469c-a0a0-4678e55ea160)
lem.

**Environment (please complete the following information):**
- OS: Sonoma 14.3 on Macbook Pro M3
- Label Studio Version: label-studio-sdk 0.0.32

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.