8000 [Librarian] Regenerated @ 7a7839b47231760a343c1db31f805001d48237b2 · BioComputing/twilio-python@0c82d14 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0c82d14

Browse files
committed
[Librarian] Regenerated @ 7a7839b47231760a343c1db31f805001d48237b2
1 parent f2e58ee commit 0c82d14

File tree

320 files changed

+4464
-7535
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

320 files changed

+4464
-7535
lines changed

CHANGES.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ twilio-python Changelog
33

44
Here you can see the full list of changes between each twilio-python release.
55

6+
[2017-10-27] Version 6.8.2
7+
---------------------------
8+
**Chat**
9+
- Add Binding resource
10+
- Add UserBinding resource
11+
12+
613
[2017-10-20] Version 6.8.1
714
---------------------------
815
**Library**

tests/integration/accounts/v1/credential/test_public_key.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,7 @@ def test_create_request(self):
9090
self.client.accounts.v1.credentials \
9191
.public_key.create(public_key="publickey")
9292

93-
values = {
94-
'PublicKey': "publickey",
95-
}
93+
values = {'PublicKey': "publickey",}
9694

9795
self.holodeck.assert_has_request(Request(
9896
'post',

tests/integration/api/v2010/account/call/test_feedback.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ def test_create_request(self):
2222
.calls(sid="CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
2323
.feedback().create(quality_score=1)
2424

25-
values = {
26-
'QualityScore': 1,
27-
}
25+
values = {'QualityScore': 1,}
2826

2927
self.holodeck.assert_has_request(Request(
3028
'post',
@@ -101,9 +99,7 @@ def test_update_request(self):
10199
.calls(sid="CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
102100
.feedback().update(quality_score=1)
103101

104-
values = {
105-
'QualityScore': 1,
106-
}
102+
values = {'QualityScore': 1,}
107103

108104
self.holodeck.assert_has_request(Request(
109105
'post',

tests/integration/api/v2010/account/conference/test_participant.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,7 @@ def test_create_request(self):
100100
.conferences(sid="CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
101101 10000
.participants.create(from_="+987654321", to="+123456789")
102102

103-
values = {
104-
'From': "+987654321",
105-
'To': "+123456789",
106-
}
103+
values = {'From': "+987654321", 'To': "+123456789",}
107104

108105
self.holodeck.assert_has_request(Request(
109106
'post',

tests/integration/api/v2010/account/incoming_phone_number/test_assigned_add_on.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,7 @@ def test_create_request(self):
144144
.incoming_phone_numbers(sid="PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
145145
.assigned_add_ons.create(installed_add_on_sid="XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
146146

147-
values = {
148-
'InstalledAddOnSid': "XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
149-
}
147+
values = {'InstalledAddOnSid': "XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",}
150148

151149
self.holodeck.assert_has_request(Request(
152150
'post',

tests/integration/api/v2010/account/incoming_phone_number/test_local.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,7 @@ def test_create_request(self):
124124
.incoming_phone_numbers \
125125
.local.create(phone_number="+987654321")
126126

127-
values = {
128-
'PhoneNumber': "+987654321",
129-
}
127+
values = {'PhoneNumber': "+987654321",}
130128

131129
self.holodeck.assert_has_request(Request(
132130
'post',

tests/integration/api/v2010/account/incoming_phone_number/test_mobile.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,7 @@ def test_create_request(self):
124124
.incoming_phone_numbers \
125125
.mobile.create(phone_number="+987654321")
126126

127-
values = {
128-
'PhoneNumber': "+987654321",
129-
}
127+
values = {'PhoneNumber': "+987654321",}
130128

131129
self.holodeck.assert_has_request(Request(
132130
'post',

tests/integration/api/v2010/account/incoming_phone_number/test_toll_free.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,7 @@ def test_create_request(self):
124124
.incoming_phone_numbers \
125125
.toll_free.create(phone_number="+987654321")
126126

127-
values = {
128-
'PhoneNumber': "+987654321",
129-
}
127+
values = {'PhoneNumber': "+987654321",}
130128

131129
self.holodeck.assert_has_request(Request(
132130
'post',

tests/integration/api/v2010/account/queue/test_member.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,7 @@ def test_update_request(self):
5555
.queues(sid="QUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
5656
.members(call_sid="CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").update(url="https://example.com", method="GET")
5757

58-
values = {
59-
'Url': "https://example.com",
60-
'Method': "GET",
61-
}
58+
values = {'Url': "https://example.com", 'Method': "GET",}
6259

6360
self.holodeck.assert_has_request(Request(
6461
'post',

tests/integration/api/v2010/account/sip/credential_list/test_credential.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,7 @@ def test_create_request(self):
103103
.credential_lists(sid="CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
104104
.credentials.create(username="username", password="password")
105105

106-
values = {
107-
'Username': "username",
108-
'Password': "password",
109-
}
106+
values = {'Username': "username", 'Password': "password",}
110107

111108
self.holodeck.assert_has_request(Request(
112109
'post',

tests/integration/api/v2010/account/sip/domain/test_credential_list_mapping.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ def test_create_request(self):
2323
.domains(sid="SDaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
2424
.credential_list_mappings.create(credential_list_sid="CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
2525

26-
values = {
27-
'CredentialListSid': "CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
28-
}
26+
values = {'CredentialListSid': "CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",}
2927

3028
self.holodeck.assert_has_request(Request(
3129
'post',

tests/integration/api/v2010/account/sip/domain/test_ip_access_control_list_mapping.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@ def test_create_request(self):
6262
.domains(sid="SDaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
6363
.ip_access_control_list_mappings.create(ip_access_control_list_sid="ALaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
6464

65-
values = {
66-
'IpAccessControlListSid': "ALaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
67-
}
65+
values = {'IpAccessControlListSid': "ALaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",}
6866

6967
self.holodeck.assert_has_request(Request(
7068
'post',

tests/integration/api/v2010/account/sip/ip_access_control_list/test_ip_address.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,7 @@ def test_create_request(self):
104104
.ip_access_control_lists(sid="ALaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
105105
.ip_addresses.create(friendly_name="friendly_name", ip_address="ip_address")
106106

107-
values = {
108-
'FriendlyName': "friendly_name",
109-
'IpAddress': "ip_address",
110-
}
107+
values = {'FriendlyName': "friendly_name", 'IpAddress': "ip_address",}
111108

112109
self.holodeck.assert_has_request(Request(
113110
'post',

tests/integration/api/v2010/account/sip/test_credential_list.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,7 @@ def test_create_request(self):
9191
.sip \
9292
.credential_lists.create(friendly_name="friendly_name")
9393

94-
values = {
95-
'FriendlyName': "friendly_name",
96-
}
94+
values = {'FriendlyName': "friendly_name",}
9795

9896
self.holodeck.assert_has_request(Request(
9997
'post',
@@ -170,9 +168,7 @@ def test_update_request(self):
170168
.sip \
171169
.credential_lists(sid="CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").update(friendly_name="friendly_name")
172170

173-
values = {
174-
'FriendlyName': "friendly_name",
175-
}
171+
values = {'FriendlyName': "friendly_name",}
176172

177173
self.holodeck.assert_has_request(Request(
178174
'post',

tests/integration/api/v2010/account/sip/test_domain.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,7 @@ def test_create_request(self):
102102
.sip \
103103
.domains.create(domain_name="domain_name")
104104

105-
values = {
106-
'DomainName': "domain_name",
107-
}
105+
values = {'DomainName': "domain_name",}
108106

109107
self.holodeck.assert_has_request(Request(
110108
'post',

tests/integration/api/v2010/account/sip/test_ip_access_control_list.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,7 @@ def test_create_request(self):
101101
.sip \
102102
.ip_access_control_lists.create(friendly_name="friendly_name")
103103

104-
values = {
105-
'FriendlyName': "friendly_name",
106-
}
104+
values = {'FriendlyName': "friendly_name",}
107105

108106
self.holodeck.assert_has_request(Request(
109107
'post',
@@ -180,9 +178,7 @@ def test_update_request(self):
180178
.sip \
181179
.ip_access_control_lists(sid="ALaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").update(friendly_name="friendly_name")
182180

183-
values = {
184-
'FriendlyName': "friendly_name",
185-
}
181+
values = {'FriendlyName': "friendly_name",}
186182

187183
self.holodeck.assert_has_request(Request(
188184
'post',

tests/integration/api/v2010/account/test_application.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ def test_create_request(self):
2121
self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
2222
.applications.create(friendly_name="friendly_name")
2323

24-
values = {
25-
'FriendlyName': "friendly_name",
26-
}
24+
values = {'FriendlyName': "friendly_name",}
2725

2826
self.holodeck.assert_has_request(Request(
2927
'post',

tests/integration/api/v2010/account/test_call.py

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@ def test_create_request(self):
2121
self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
2222
.calls.create(to="+123456789", from_="+987654321")
2323

24-
values = {
25-
'To': "+123456789",
26-
'From': "+987654321",
27-
}
24+
values = {'To': "+123456789", 'From': "+987654321",}
2825

2926
self.holodeck.assert_has_request(Request(
3027
'post',
@@ -60,7 +57,9 @@ def test_create_response(self):
6057
"status": "completed",
6158
"subresource_uris": {
6259
"notifications": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json",
63-
"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json"
60+
"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json",
61+
"feedback": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Feedback.json",
62+
"feedback_summaries": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/FeedbackSummary.json"
6463
},
6564
"to": "+14158675309",
6665
"to_formatted": "(415) 867-5309",
@@ -202,14 +201,11 @@ def test_read_full_response(self):
202201
],
203202
"end": 0,
204203
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls.json?PageSize=1&Page=0",
205-
"last_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls.json?PageSize=1&Page=9690",
206204
"next_page_uri": null,
207-
"num_pages": 9691,
208205
"page": 0,
209206
"page_size": 1,
210207
"previous_page_uri": null,
211208
"start": 0,
212-
"total": 9691,
213209
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls.json?PageSize=1&Page=0"
214210
}
215211
'''
@@ -228,14 +224,11 @@ def test_read_empty_response(self):
228224
"calls": [],
229225
"end": 0,
230226
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls.json?PageSize=1&Page=0",
231-
"last_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls.json?PageSize=1&Page=9690",
232227
"next_page_uri": null,
233-
"num_pages": 9691,
234228
"page": 0,
235229
"page_size": 1,
236230
"previous_page_uri": null,
237231
"start": 0,
238-
"total": 9691,
239232
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls.json?PageSize=1&Page=0"
240233
}
241234
'''

tests/integration/api/v2010/account/test_message.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ def test_create_request(self):
2121
self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
2222
.messages.create(to="+123456789")
2323

24-
values = {
25-
'To': "+123456789",
26-
}
24+
values = {'To': "+123456789",}
2725

2826
self.holodeck.assert_has_request(Request(
2927
'post',
@@ -234,9 +232,7 @@ def test_update_request(self):
234232
self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
235233
.messages(sid="MMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").update(body="body")
236234

237-
values = {
238-
'Body': "body",
239-
}
235+
values = {'Body': "body",}
240236

241237
self.holodeck.assert_has_request(Request(
242238
'post',

tests/integration/api/v2010/account/test_queue.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,7 @@ def test_create_request(self):
190190
self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
191191
.queues.create(friendly_name="friendly_name")
192192

193-
values = {
194-
'FriendlyName': "friendly_name",
195-
}
193+
values = {'FriendlyName': "friendly_name",}
196194

197195
self.holodeck.assert_has_request(Request(
198196
'post',

tests/integration/api/v2010/account/test_validation_request.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ def test_create_request(self):
2121
self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
2222
.validation_requests.create(phone_number="+987654321")
2323

24-
values = {
25-
'PhoneNumber': "+987654321",
26-
}
24+
values = {'PhoneNumber': "+987654321",}
2725

2826
self.holodeck.assert_has_request(Request(
2927
'post',

tests/integration/chat/v1/service/channel/test_invite.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,7 @@ def test_create_request(self):
6060
.channels(sid="CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
6161
.invites.create(identity="identity")
6262

63-
values = {
64-
'Identity': "identity",
65-
}
63+
values = {'Identity': "identity",}
6664

6765
self.holodeck.assert_has_request(Request(
6866
'post',

tests/integration/chat/v1/service/channel/test_member.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ def test_create_request(self):
6161
.channels(sid="CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
6262
.members.create(identity="identity")
6363

64-
values = {
65-
'Identity': "identity",
66-
}
64+
values = {'Identity': "identity",}
6765

6866
self.holodeck.assert_has_request(Request(
6967
'post',

tests/integration/chat/v1/service/channel/test_message.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,7 @@ def test_create_request(self):
6363
.channels(sid="CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
6464
.messages.create(body="body")
6565

66-
values = {
67-
'Body': "body",
68-
}
66+
values = {'Body': "body",}
6967

7068
self.holodeck.assert_has_request(Request(
7169
'post',

tests/integration/chat/v1/service/test_role.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,7 @@ def test_create_request(self):
8484
self.client.chat.v1.services(sid="ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
8585
.roles.create(friendly_name="friendly_name", type="channel", permission=['permission'])
8686

87-
values = {
88-
'FriendlyName': "friendly_name",
89-
'Type': "channel",
90-
'Permission': ['permission'],
91-
}
87+
values = {'FriendlyName': "friendly_name", 'Type': "channel", 'Permission': ['permission'],}
9288

9389
self.holodeck.assert_has_request(Request(
9490
'post',
@@ -208,9 +204,7 @@ def test_update_request(self):
208204
self.client.chat.v1.services(sid="ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
209205
.roles(sid="RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").update(permission=['permission'])
210206

211-
values = {
212-
'Permission': ['permission'],
213-
}
207+
values = {'Permission': ['permission'],}
214208

215209
self.holodeck.assert_has_request(Request(
216210
'post',

tests/integration/chat/v1/service/test_user.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,7 @@ def test_create_request(self):
8686
self.client.chat.v1.services(sid="ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
8787
.users.create(identity="identity")
8888

89-
values = {
90-
'Identity': "identity",
91-
}
89+
values = {'Identity': "identity",}
9290

9391
self.holodeck.assert_has_request(Request(
9492
'post',

0 commit comments

Comments
 (0)
0