- Removed the retina endpoints
- Migrated to use Pydantic models for request and response validation
- Removed support for Python 3.8
- Added support for Python 3.12 and 3.13
- Removed support for Python 3.6 and 3.7
- Added support for Python 3.11
- Added automatic retries with backoff for failed requests
- Fixed added files to display sets
- Removed client-side json validation, which is instead handled by Grand Challenge
- Algorithm jobs can be created with inputs that have an interface with superkind file
- Removed
create_display_sets_from_images
utitlity function in favor ofadd_cases_to_reader_study
- Added support for all interface types in
add_cases_to_reader_study
- Dropped reader study answer POST data validation
- Added support for angle answer types
page()
now returns aPageResponse(list)
object rather than alist
, which adds the attributesoffset
,limit
andtotal_count
- Fix uploading files from
str
paths - Remove deprecated keys from reader study API
- Updates
httpx
to0.22
- Added support for display items
- Added line answer types to other schemas
- Added line answer types to reader study schema
- Breaking Change Removed
_IMAGE
answer types - Added support for python 3.9 and 3.10
- Added line answer types
- Added
archive_item
toupload_cases
which allows adding images to existing archive items - Added
interface
toupload_cases
which allows specifying the image type when uploading to archive and archive items. Can only be used in combination witharchive
orarchive_item
. - Added
update_archive_item
which allows editing of archive item values
- Fix redirect from
reader_study.ground_truth
- Fix
reader_study.ground_truth
- Added
client.images.download
- Removed deprecated
client.raw_image_upload_session_files
- Breaking Change Switched the backend from
requests
tohttpx
- Breaking Change Removed
client.get_algorithm(algorithm=...)
, useclient.algorithms.detail(slug=...)
instead - Added
AsyncClient
for asynchronous interation with the Grand Challenge API - Added option for getting objects by filters in detail view
- Added optional
timeout
parameter to client - Removed deprecated
algorithm
argument toupload_cases
- Added optional
answer
argument toupload_cases
- Added
archives
endpoint - Added
MASK
answertype - Added optional
follow_redirects
argument toClient.__call__
- Added
run_external_job
to execute algorithms directly - Deprecated the
algorithm
argument toupload_cases
which will be removed in 0.5.0, userun_external_job
instead
- Allow same domain calls
- Normalize API tokens
- Fix number answer type support for readerstudy validation
- Adds support for multiple polygon image answers
- Adds support for Number answers
- Adds support for Image answers
- Allows setting
content
rather thanfilename
inupload_files
-
Breaking Changes in
upload_cases
:- Renamed kwarg
files_to_upload
tofiles
algorithm
kwarg now takes aslug
rather than atitle
- Removed
run_external_algorithm
, useupload_cases
instead
- Renamed kwarg
-
Add Multiple 2D bounding box question types to reader studies
- Add support for ETDRS grid annotation endpoints
- Skip validation of PATCH requests
- Fixed reader study detail lookups
- Note: this release has been yanked from pypi
- Added support for retina polygon annotation sets and retina single polygon annotations
- If authentication token is unset, the
GRAND_CHALLENGE_AUTHORIZATION
will be used as a fallback
- Allow null answers
- Added GET request params
- Added ground truth endpoint for reader studies
- Added support for uploading to archives and reader studies
- Added Polygon and Choice question types to reader studies
- Dropped Python 2.7 and 3.5
- Added support for Python 3.7 and 3.8
- First release on PyPI.