Skip to content

Commit 647d3ad

Browse files
committed
more fixes for cicd
1 parent 3cbba7e commit 647d3ad

File tree

1 file changed

+6
-24
lines changed

1 file changed

+6
-24
lines changed

tests/test-server/test_functions_mapper.py

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -298,12 +298,12 @@ def func1(
298298
}
299299
jsonified = {k: v for k, v in jsonified.items() if v is not None}
300300
if "emailInputs" in store:
301-
store["emailInputs"].append(jsonified)
301+
store["emailInputs"].append(jsonified) # type: ignore
302302
else:
303303
store["emailInputs"] = [jsonified]
304304

305305
# Add to send_email_inputs
306-
send_email_inputs.append(jsonified)
306+
send_email_inputs.append(jsonified) # type: ignore
307307

308308
return func1
309309

@@ -370,7 +370,7 @@ def func2(
370370
"userInputCode": template_vars.user_input_code,
371371
}
372372
jsonified = {k: v for k, v in jsonified.items() if v is not None}
373-
send_sms_inputs.append(jsonified)
373+
send_sms_inputs.append(jsonified) # type: ignore
374374

375375
return func2
376376

@@ -961,8 +961,8 @@ def get_override_params() -> OverrideParams:
961961
email_post_password_reset=email_post_password_reset,
962962
send_email_callback_called=send_email_callback_called,
963963
send_email_to_user_email=send_email_to_user_email,
964-
send_email_inputs=send_email_inputs,
965-
send_sms_inputs=send_sms_inputs,
964+
send_email_inputs=send_email_inputs, # type: ignore
965+
send_sms_inputs=send_sms_inputs, # type: ignore
966966
send_email_to_recipe_user_id=send_email_to_recipe_user_id,
967967
user_in_callback=user_in_callback,
968968
email=email_param,
@@ -977,7 +977,7 @@ def get_override_params() -> OverrideParams:
977977
else None
978978
),
979979
core_call_count=Info.core_call_count,
980-
store=store,
980+
store=store, # type: ignore
981981
)
982982

983983

@@ -1019,21 +1019,3 @@ def reset_override_params():
10191019
user_id_in_callback = None
10201020
recipe_user_id_in_callback = None
10211021
store = {}
1022-
1023-
# Type annotations (if needed)
1024-
send_email_to_user_id: Optional[str]
1025-
token: Optional[str]
1026-
user_post_password_reset: Optional[User]
1027-
email_post_password_reset: Optional[str]
1028-
send_email_callback_called: bool
1029-
send_email_to_user_email: Optional[str]
1030-
send_email_inputs: List[Any]
1031-
send_sms_inputs: List[Any]
1032-
send_email_to_recipe_user_id: Optional[str]
1033-
user_in_callback: Optional[Union[User, VerificationEmailTemplateVarsUser]]
1034-
email_param: Optional[str]
1035-
primary_user_in_callback: Optional[User]
1036-
new_account_info_in_callback: Optional[RecipeLevelUser]
1037-
user_id_in_callback: Optional[str]
1038-
recipe_user_id_in_callback: Optional[RecipeUserId]
1039-
store: Dict[str, Any]

0 commit comments

Comments
 (0)