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