Skip to content

Commit

Permalink
Merge pull request #1124 from AI4Bharat/minor_fix_ac_en_stage
Browse files Browse the repository at this point in the history
minor_fix in acoustic_enabled_stage
  • Loading branch information
aparna-aa authored Oct 25, 2024
2 parents 87c0ffd + 748a6ef commit 6227184
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions backend/tasks/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1801,6 +1801,8 @@ def partial_update(self, request, pk=None):
is_acoustic_project_type or is_StandardizedTranscriptionEditing,
(
is_acoustic_project_type
and "acoustic_enabled_stage"
in annotation_obj.task.project_id.metadata_json
and annotation_obj.task.project_id.metadata_json[
"acoustic_enabled_stage"
]
Expand Down Expand Up @@ -1863,6 +1865,8 @@ def partial_update(self, request, pk=None):
is_acoustic_project_type or is_StandardizedTranscriptionEditing,
(
is_acoustic_project_type
and "acoustic_enabled_stage"
in annotation_obj.task.project_id.metadata_json
and annotation_obj.task.project_id.metadata_json[
"acoustic_enabled_stage"
]
Expand Down Expand Up @@ -1942,6 +1946,8 @@ def partial_update(self, request, pk=None):
is_acoustic_project_type or is_StandardizedTranscriptionEditing,
(
is_acoustic_project_type
and "acoustic_enabled_stage"
in annotation_obj.task.project_id.metadata_json
and annotation_obj.task.project_id.metadata_json[
"acoustic_enabled_stage"
]
Expand Down Expand Up @@ -2043,6 +2049,8 @@ def partial_update(self, request, pk=None):
is_acoustic_project_type or is_StandardizedTranscriptionEditing,
(
is_acoustic_project_type
and "acoustic_enabled_stage"
in annotation_obj.task.project_id.metadata_json
and annotation_obj.task.project_id.metadata_json[
"acoustic_enabled_stage"
]
Expand Down Expand Up @@ -2152,6 +2160,8 @@ def partial_update(self, request, pk=None):
is_acoustic_project_type or is_StandardizedTranscriptionEditing,
(
is_acoustic_project_type
and "acoustic_enabled_stage"
in annotation_obj.task.project_id.metadata_json
and annotation_obj.task.project_id.metadata_json[
"acoustic_enabled_stage"
]
Expand Down Expand Up @@ -2244,6 +2254,8 @@ def partial_update(self, request, pk=None):
is_acoustic_project_type or is_StandardizedTranscriptionEditing,
(
is_acoustic_project_type
and "acoustic_enabled_stage"
in annotation_obj.task.project_id.metadata_json
and annotation_obj.task.project_id.metadata_json[
"acoustic_enabled_stage"
]
Expand Down

0 comments on commit 6227184

Please sign in to comment.