Flask Mail Type Error: missing 1 required positional argument: ‘message’ on Mail.send(msg)

Solution
with mail.connect() as conn:
            msg = Message('Password Reset Request',
                  sender='noreply@demo.com',
                  recipients=[user.email])
            msg.body = 'To reset your password, visit the following link: ' + link +              
            '. If you did not make this request then simply ignore this email and no changes will be made.'
            conn.send(msg)