review_task

imerit_ango.sdk.SDK.

review_task(task_id, review_status, pct_details)

Reviews a task by updating its review status and, if applicable, attaching additional review details.

Parameters

  • task_id: string

  • review_status: ReviewStatus

    • The review outcome to be applied to the task.

    • Options:

      • ReviewStatus.ACCEPTED

      • ReviewStatus.REJECTED

  • pct_details: dict

    • Additional review details, primarily used for PCT review workflows.

    • Example:

      • {"reason": "Missing annotations", "errorCodes": ["E001", "E002"]}

Returns:

  • output: dict

    • A dictionary containing the result of the operation.

Example

Accept a task in review stage:

Reject a task and include additional review details (applicable to PCT projects only):

Last updated