-
Notifications
You must be signed in to change notification settings - Fork 83
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
[JS] Anno crud #1010
[JS] Anno crud #1010
Conversation
js/src/client.ts
Outdated
*/ | ||
public async readAnnotationQueue(queueId: string): Promise<AnnotationQueue> { | ||
// TODO: Replace when actual endpoint is added | ||
const queue = await this.listAnnotationQueues({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Naming is a bit funny here - getAnnotationQueue
maybe?
readAnnotationQueue
sounds like it should just return the items in the queue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ya.... I think for sake of consistency I'm gonna keep it though since we use read
elsewhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs tests but looks fine overall
Add methods that are in the slots attribute to the functions list --------- Co-authored-by: Nick Huang <[email protected]>
a71423a
to
f3d3bd6
Compare
I need to add tests