Closed Robin5605 closed 1 year ago
Typehint the data dict in the send_email function in mainframe/utils/mailer.py to be dict[str, Any] because this line of code is invalid, according to pyright:
data
send_email
mainframe/utils/mailer.py
dict[str, Any]
data[recipients_type] =_build_formatted_recipients_list(recipients_list)
We could've just # pyright: ignore here but I thought type-hinting the data variable to be dict[str, Any] was more explicit.
# pyright: ignore
Typehint the
data
dict in thesend_email
function inmainframe/utils/mailer.py
to bedict[str, Any]
because this line of code is invalid, according to pyright:We could've just
# pyright: ignore
here but I thought type-hinting thedata
variable to bedict[str, Any]
was more explicit.