ERROR SHOWN: ‘str’ object has no attribute ‘client’
There is a typo in the variable name in the statement where you have called send_sms function.
Change it from Sms.send_sms to sms.sent_sms
There is a typo in the variable name in the statement where you have called send_sms function.
Change it from Sms.send_sms to sms.sent_sms