Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting max_annotations directly at project creation does not work #339

Open
JB9891 opened this issue Oct 11, 2024 · 0 comments
Open

setting max_annotations directly at project creation does not work #339

JB9891 opened this issue Oct 11, 2024 · 0 comments

Comments

@JB9891
Copy link

JB9891 commented Oct 11, 2024

Hello,

with the following setting

  • label-studio=1.13.1
  • label-studio-sdk=1.0.4

we encountered the following issue:

  • We are trying to set maximum_annotations to a higher number then 1 (10), directly at project creation with ls.projects.create(maximum_annotations=10)
  • Although we can confirm that the value seems to be set correctly in the database, the functionality does not seem to work as expected --> The tasks gets flagged as completed after the first annotations is submitted.
  • But if we then update the project with a different value for maximum_annotations (e.g. 9) via ls.projects.update(id=id, maximum_annotations=9), the functionality works as expected.

Can you please look into this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant