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

bundle the request when creating a studyset and annotation #401

Open
jdkent opened this issue Jan 19, 2023 · 1 comment
Open

bundle the request when creating a studyset and annotation #401

jdkent opened this issue Jan 19, 2023 · 1 comment

Comments

@jdkent
Copy link
Member

jdkent commented Jan 19, 2023

when creating a studyset, allow creation of annotation as well

@nicoalee
Copy link
Collaborator

This is a nice to have.
If the user makes a request to initialize the extraction phase, 2 separate requests are made: 1 to create a studyset, and 1 to create an annotation. If the annotation fails, the studyset is still created which will result in an invalid state for the project to be in.

In reality, we haven't really encountered this issue that much. Worst case, a user can try again.

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

No branches or pull requests

2 participants