You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.
When installing Twilio (pip install twilio), as of today, the Twilio version is 6.0.0, which uses a slightly different import and initialization. As detailed in Twilio's migration guide, the following changes are required in ge-checker-cron.py
from twilio.rest import TwilioRestClient needs to change to from twilio.rest import Client
client = TwilioRestClient(account_sid, auth_token) needs to change to client = Client(account_sid, auth_token)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When installing Twilio (
pip install twilio
), as of today, the Twilio version is 6.0.0, which uses a slightly different import and initialization. As detailed in Twilio's migration guide, the following changes are required in ge-checker-cron.pyfrom twilio.rest import TwilioRestClient
needs to change tofrom twilio.rest import Client
client = TwilioRestClient(account_sid, auth_token)
needs to change toclient = Client(account_sid, auth_token)
The text was updated successfully, but these errors were encountered: