Skip to content
Snippets Groups Projects
Commit 46256ad6 authored by Mohammad Torkashvand's avatar Mohammad Torkashvand Committed by Karel van Klink
Browse files

remove None from typehints for ias_flavour in imported ias

parent f8b6b3b4
No related branches found
No related tags found
1 merge request!383Feature/refacture l3 core services
......@@ -27,8 +27,8 @@ def initial_input_form_generator() -> FormGenerator:
initial_user_input = yield from initial_generator
# Additional IAS step
class IASExtraForm(FormPage): # TODO: Think about the order of this form when user is filling it
ias_flavor: IASFlavor | None = IASFlavor.IAS_PS_OPT_OUT
class IASExtraForm(FormPage):
ias_flavor: IASFlavor = IASFlavor.IAS_PS_OPT_OUT
ias_extra = yield IASExtraForm
return initial_user_input | ias_extra.model_dump()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment