Есть следующий исходник
При попытке отправить на почту сообщение я вижу следующую ошибку
TypeError: __init__() takes 1 positional argument but 2 were given
File "I:\python\lib\site-packages\flask\app.py", line 1836, in __call__
return self.wsgi_app(environ, start_response)
File "I:\python\lib\site-packages\flask\app.py", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "I:\python\lib\site-packages\flask\app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
File "I:\python\lib\site-packages\flask\_compat.py", line 33, in reraise
raise value
File "I:\python\lib\site-packages\flask\app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "I:\python\lib\site-packages\flask\app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "I:\python\lib\site-packages\flask\app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "I:\python\lib\site-packages\flask\_compat.py", line 33, in reraise
raise value
File "I:\python\lib\site-packages\flask\app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "I:\python\lib\site-packages\flask\app.py", line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "G:\flask\fopster\hello.py", line 56, in send
msg = Message('Hi', sender = 'mymail@gmail.com', recipients = ['recipient@gmail.com'])
Помогите понять что не так?