HumanSignal / label-studio-sdk

Label Studio SDK
https://api.labelstud.io
Apache License 2.0
99 stars 61 forks source link

Add update task method #60

Closed strickvl closed 2 years ago

strickvl commented 2 years ago

I added a method to allow for the updating of tasks (specifically for the addition of meta k:v pairs, for my use case) via the Python SDK.

I wasn't really sure how to go about adding tests, though the CONTRIBUTING.md document encourages us to do so. There aren't any pre-existing tests, so adding tests would probably be a pretty huge effort just for this one addition (since I'd have to think through the best way to test and mock up all these API calls etc). Happy to take guidance on this.

makseq commented 2 years ago

Thank you for your contribution!