Skip to content

Switch to using Client from twilio.rest rather than the deleted TwiloRestClient#17883

Merged
balloob merged 1 commit intohome-assistant:devfrom
rohankapoorcom:twilio-client-change-dev
Oct 27, 2018
Merged

Switch to using Client from twilio.rest rather than the deleted TwiloRestClient#17883
balloob merged 1 commit intohome-assistant:devfrom
rohankapoorcom:twilio-client-change-dev

Conversation

@rohankapoorcom
Copy link
Copy Markdown
Member

@rohankapoorcom rohankapoorcom commented Oct 27, 2018

Description:

Twilio changed the class that needs to be used from TwilioRestClient to Client. Source.

This broke after the twilio client was upgraded in #17424 and an API change was missed.

Related issue (if applicable): fixes #17871

This one is affecting 0.81 and should be shipped in the next bugfix release. However, I'm not sure how to do that since the component itself was rewritten in #17715 (so the files are not in the same place). This pull request is targeted at dev for release with 0.82.0 and #17885 is targeted at master in case that helps for the hotfix for 0.81.x.

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass

@ghost ghost added the in progress label Oct 27, 2018
Copy link
Copy Markdown

@houndci-bot houndci-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some files could not be reviewed due to errors:

Traceback (most recent call last):
Traceback (most recent call last):
  File "/home/linters/.local/bin/flake8", line 7, in 
    from flake8.main.cli import main
ModuleNotFoundError: No module named 'flake8'

@balloob balloob merged commit d6e4208 into home-assistant:dev Oct 27, 2018
@ghost ghost removed the in progress label Oct 27, 2018
@rohankapoorcom rohankapoorcom deleted the twilio-client-change-dev branch October 27, 2018 20:32
@balloob balloob mentioned this pull request Nov 9, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Feb 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Twilio component not working after upgrade to 0.81.0

4 participants