label-studio-sdk icon indicating copy to clipboard operation
label-studio-sdk copied to clipboard

setting max_annotations directly at project creation does not work

Open JB9891 opened this issue 1 year ago • 1 comments

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?

JB9891 avatar Oct 11 '24 14:10 JB9891

Hello, it was a bug in label studio itself, not in sdk. Could you try it again with the latest version of label studio from the develop branch?

makseq avatar Dec 31 '24 02:12 makseq