Skip to content

Commit dfd07bc

Browse files
committed
feat(lab-3897): add default return when using update project workflow
1 parent 91063bc commit dfd07bc

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/kili/adapters/kili_api_gateway/project_workflow/operations_mixin.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,7 @@ def update_project_workflow(
2828
"""Update properties in a project workflow."""
2929
project_workflow_input = project_input_mapper(data=project_workflow_data)
3030

31-
fields = tuple(
32-
name
33-
for name, val in project_workflow_input.items()
34-
if val is not None and name != "steps"
35-
)
31+
fields = ["enforceStepSeparation", "steps{id}"]
3632
fragment = fragment_builder(fields)
3733
mutation = get_update_project_workflow_mutation(fragment)
3834

0 commit comments

Comments
 (0)