Skip to content

0.2.0 Release

Latest
Compare
Choose a tag to compare
@JavierLuna JavierLuna released this 12 May 14:05
· 4 commits to master since this release
c3ab618

0.2.0

This release adds CRUD Curation operations.

from pycaprio.mappings import InceptionFormat
# Get the annotations or a specific document as e.g. binary CAS
file = client.api.annotation(1, 4, 'test-user', curation_format=InceptionFormat.BIN)
# The below function then uploads the file with the new status
client.api.create_curation(1, 4, curation_format = InceptionFormat.BIN, content =  annotations, document_state = DocumentState.CURATION_IN_PROGRESS)

Changelog

PYCAP #33 : Add CRUD Curation operations
PYCAP #34 : Fix documentation of curations not rendering as it should