8000 Merge pull request #257 from nookiepl/patch-1 · PNPtutorials/twilio-python@26ecc6d · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 26ecc6d

Browse files
committed
Merge pull request twilio#257 from nookiepl/patch-1
Added missing "addresses" endpoint to client.py
2 parents bae3081 + 316c6ab commit 26ecc6d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

twilio/rest/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from twilio.rest.resources import (
33
UNSET_TIMEOUT,
44
Accounts,
5+
Addresses,
56
Applications,
67
AuthorizedConnectApps,
78
CallFeedback,
@@ -57,6 +58,7 @@ def __init__(self, account=None, token=None, base="https://api.twilio.com",
5758
self.auth,
5859
timeout
5960
)
61+
self.addresses = Addresses(self.account_uri, self.auth, timeout)
6062
self.calls = Calls(self.account_uri, self.auth, timeout)
6163
self.caller_ids = CallerIds(self.account_uri, self.auth, timeout)
6264
self.connect_apps = ConnectApps(self.account_uri, self.auth, timeout)

0 commit comments

Comments
 (0)
0