Skip to content

Dynamic email registration recipients using variables #11791

Dynamic email registration recipients using variables

Dynamic email registration recipients using variables #11791

Triggered via pull request December 24, 2024 15:45
Status Failure
Total duration 1m 40s
Artifacts

code_quality.yml

on: pull_request
Check import sorting
40s
Check import sorting
Check code formatting with black
41s
Check code formatting with black
Code style (flake8)
41s
Code style (flake8)
Check for model changes not present in the migrations or default_admin_index fixture
1m 31s
Check for model changes not present in the migrations or default_admin_index fixture
Lint dependencies
4s
Lint dependencies
Type checking (Pyright)
33s
Type checking (Pyright)
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 6 warnings
Type checking (Pyright): src/openforms/registrations/contrib/email/config.py#L137
Could not access item in TypedDict   "to_emails" is not a required key in "Options", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
Type checking (Pyright): src/openforms/registrations/contrib/email/config.py#L137
Could not access item in TypedDict   "to_email_from_variable" is not a required key in "Options", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
Type checking (Pyright): src/openforms/registrations/contrib/email/plugin.py#L52
Could not access item in TypedDict   "to_email_from_variable" is not a required key in "Options", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
Type checking (Pyright): src/openforms/registrations/contrib/email/plugin.py#L211
Could not access item in TypedDict   "to_email_from_variable" is not a required key in "Options", so access may result in runtime exception (reportTypedDictNotRequiredAccess)
Type checking (Pyright): src/openforms/registrations/contrib/email/plugin.py#L238
Argument of type "list[str] | list[Any] | None" cannot be assigned to parameter "recipients" of type "list[str]" in function "send_registration_email"   Type "list[str] | list[Any] | None" is incompatible with type "list[str]"     "None" is incompatible with "list[str]" (reportArgumentType)
Type checking (Pyright)
5 errors
Lint dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Type checking (Pyright)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check import sorting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code style (flake8)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check code formatting with black
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check for model changes not present in the migrations or default_admin_index fixture
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636