Skip to content

Commit

Permalink
Update utils.py (#677)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuji38kwmt authored Sep 3, 2024
1 parent 1311bd8 commit 20304c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion annofabapi/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def get_number_of_rejections(task_histories: List[TaskHistoryShort], phase: Task
タスク履歴から、指定されたタスクフェーズでの差し戻し回数を取得する。
Args:
task_histories: タスク履歴
task_histories: 簡易的なタスク履歴。 ``getTask`` APIで取得したタスクの ``histories_by_phase`` プロパティに相当します。
phase: どのフェーズで差し戻されたか(TaskPhase.INSPECTIONかTaskPhase.ACCEPTANCE)
phase_stage: どのフェーズステージで差し戻されたか。デフォルトは1。
Expand Down

0 comments on commit 20304c4

Please sign in to comment.