Redbrick-sdk

Latest version: v2.19.8

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 14 of 32

2.13.0a1

Added:
- Support to export segmentations in DICOM RT-Struct format using `--rt-struct` in redbrick export / `rt_struct: bool` in Export.export_tasks
- Export.get_active_time

def get_active_time(
self,
*,
stage_name: str,
task_id: Optional[str] = None,
concurrency: int = 100,
) -> Iterator[Dict]:
"""Get active time spent on tasks for labeling/reviewing.
Parameters
-----------
stage_name: str
Stage for which to return the time info.

task_id: Optional[str] = None
If set, will return info for the given task in the given stage.

concurrency: int = 100
Request batch size.

Returns
-----------
Iterator[Dict]
>>> [{
"orgId": string,
"projectId": string,
"stageName": string,
"taskId": string,
"completedBy": string,
"timeSpent": number, In milliseconds
"completedAt": datetime,
"cycle": number Task cycle
}]
"""

- Export.list_tasks added param

completed_at: Optional[Tuple[Optional[float], Optional[float]]] = None
If present, will return tasks that were completed in the given time range.
The tuple contains the `from` and `to` timestamps respectively.


Changed:
- Renamed RBOrganization.create_taxonomy_new -> RBOrganization.create_taxonomy
- Export.export_tasks now returns Iterator[Dict]
- Export.list_tasks now returns Iterator[Dict]
- Export.get_task_events now returns Iterator[Dict]
- Unified all `user` entities across exports to email of user.

Removed:
- Export.search_tasks
- Export.redbrick_nifti
- Labeling.get_tasks
- Labeling.get_task_queue
- Labeling.assign_tasks (removed current_user param)

2.12.10a1

What's Changed
* Support DICOM RT-Struct segmentations export by pritamrungta in https://github.com/redbrick-ai/redbrick-sdk/pull/160


**Full Changelog**: https://github.com/redbrick-ai/redbrick-sdk/compare/v2.12.9...v2.12.10a1

2.12.9

What's Changed
* Fix image export for consensus tasks by pritamrungta in https://github.com/redbrick-ai/redbrick-sdk/pull/159


**Full Changelog**: https://github.com/redbrick-ai/redbrick-sdk/compare/v2.12.8...v2.12.9

2.12.8

What's Changed
* (v2.12.8) - Add superTruth in consensus export by pritamrungta in https://github.com/redbrick-ai/redbrick-sdk/pull/158


**Full Changelog**: https://github.com/redbrick-ai/redbrick-sdk/compare/v2.12.7...v2.12.8

2.12.7

What's Changed
* (v2.12.7) - Add extra info in Export.list_tasks by pritamrungta in https://github.com/redbrick-ai/redbrick-sdk/pull/157

[{
"taskId": str,
"name": str,
"createdAt": str,
"currentStageName": str,
"createdBy"?: {"userId": str, "email": str},
"priority"?: float([0, 1]),
"metaData"?: dict,
"series"?: [{"name"?: str, "metaData"?: dict}],
"assignees"?: [{"userId": str, "email": str}]
}]


**Full Changelog**: https://github.com/redbrick-ai/redbrick-sdk/compare/v2.12.6...v2.12.7

2.12.6

**Full Changelog**: https://github.com/redbrick-ai/redbrick-sdk/compare/v2.12.5...v2.12.6

Page 14 of 32

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.