diff --git a/gso/workflows/l3_core_service/geant_ip/terminate_geant_ip.py b/gso/workflows/l3_core_service/geant_ip/terminate_geant_ip.py index afae36f22ce0d4472fbd33c26b8928abb8e87dc1..b96474dd618fae98f0fd50798cac382d3dca9f3c 100644 --- a/gso/workflows/l3_core_service/geant_ip/terminate_geant_ip.py +++ b/gso/workflows/l3_core_service/geant_ip/terminate_geant_ip.py @@ -20,8 +20,9 @@ def initial_input_form_generator(subscription_id: UUIDstr) -> FormGenerator: class TerminateForm(SubmitFormPage): tt_number: TTNumber - yield TerminateForm - return {"subscription": subscription} + user_input = yield TerminateForm + + return {"subscription": subscription} | user_input.model_dump() @workflow( diff --git a/gso/workflows/l3_core_service/ias/terminate_ias.py b/gso/workflows/l3_core_service/ias/terminate_ias.py index c6d2f22725e78f47fa0612495550ecbb2e2d21ea..5cc25a6e22cc9a987df33ca8e9b2ec4880bd5bd8 100644 --- a/gso/workflows/l3_core_service/ias/terminate_ias.py +++ b/gso/workflows/l3_core_service/ias/terminate_ias.py @@ -20,8 +20,9 @@ def initial_input_form_generator(subscription_id: UUIDstr) -> FormGenerator: class TerminateForm(SubmitFormPage): tt_number: TTNumber - yield TerminateForm - return {"subscription": subscription} + user_input = yield TerminateForm + + return {"subscription": subscription} | user_input.model_dump() @workflow( diff --git a/gso/workflows/l3_core_service/lhcone/terminate_lhcone.py b/gso/workflows/l3_core_service/lhcone/terminate_lhcone.py index c82f7f7ae9d25fe902872238e38bd93287b47731..021e2b70bd3cff4c8ecee47a59e98b9985cbda53 100644 --- a/gso/workflows/l3_core_service/lhcone/terminate_lhcone.py +++ b/gso/workflows/l3_core_service/lhcone/terminate_lhcone.py @@ -20,8 +20,9 @@ def initial_input_form_generator(subscription_id: UUIDstr) -> FormGenerator: class TerminateForm(SubmitFormPage): tt_number: TTNumber - yield TerminateForm - return {"subscription": subscription} + user_input = yield TerminateForm + + return {"subscription": subscription} | user_input.model_dump() @workflow(