Redbrick-sdk

Latest version: v2.17.3

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

Scan your dependencies

Page 9 of 28

2.13.3

Added
[PEP-561](https://peps.python.org/pep-0561/) type distribution (#164)
Removed
Implicit version checking (163)

For explicit version check:
- SDK: `redbrick.version()`
- CLI: `redbrick -v`


**Full Changelog**: https://github.com/redbrick-ai/redbrick-sdk/compare/v2.13.2...v2.13.3

2.13.2

**Full Changelog**: https://github.com/redbrick-ai/redbrick-sdk/compare/v2.13.1...v2.13.2

2.13.1

**Full Changelog**: https://github.com/redbrick-ai/redbrick-sdk/compare/v2.13.0...v2.13.1

2.13.0

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)

What's Changed
* Support DICOM RT-Struct segmentations export by pritamrungta in https://github.com/redbrick-ai/redbrick-sdk/pull/160
* Export enhancements by pritamrungta in https://github.com/redbrick-ai/redbrick-sdk/pull/161
* fix super truth export by pritamrungta in https://github.com/redbrick-ai/redbrick-sdk/pull/162



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

2.13.0a2

What's Changed
* fix super truth export by pritamrungta in https://github.com/redbrick-ai/redbrick-sdk/pull/162


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

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)

Page 9 of 28

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.