Skip to content

Commit d85d3e3

Browse files
committed
[Librarian] Regenerated @ 4b32678e9d8859e19f1feb1af566eea8533a36c9 51518c9f2f9294597fd0471d5c647016ef4023ee
1 parent dbda867 commit d85d3e3

File tree

5 files changed

+111
-49
lines changed

5 files changed

+111
-49
lines changed

CHANGES.md

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

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

6+
[2025-07-24] Version 9.7.0
7+
--------------------------
8+
**Library - Fix**
9+
- [PR #878](https://github.com/twilio/twilio-python/pull/878): Remove not existence class ServiceList. Thanks to [@lopenchi](https://github.com/lopenchi)!
10+
11+
**Events**
12+
- Remove `SinkSid` parameter when updating subscriptions. **(breaking change)**
13+
14+
**Twiml**
15+
- Remove Duplicates.
16+
- Add Polly Generative voices.
17+
- Add Latest Google (Chirp3-HD) voices.
18+
19+
620
[2025-07-10] Version 9.6.5
721
--------------------------
822
**Library - Fix**

twilio/rest/events/v1/subscription/__init__.py

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -110,39 +110,31 @@ async def fetch_async(self) -> "SubscriptionInstance":
110110
return await self._proxy.fetch_async()
111111

112112
def update(
113-
self,
114-
description: Union[str, object] = values.unset,
115-
sink_sid: Union[str, object] = values.unset,
113+
self, description: Union[str, object] = values.unset
116114
) -> "SubscriptionInstance":
117115
"""
118116
Update the SubscriptionInstance
119117
120118
:param description: A human readable description for the Subscription.
121-
:param sink_sid: The SID of the sink that events selected by this subscription should be sent to. Sink must be active for the subscription to be created.
122119
123120
:returns: The updated SubscriptionInstance
124121
"""
125122
return self._proxy.update(
126123
description=description,
127-
sink_sid=sink_sid,
128124
)
129125

130126
async def update_async(
131-
self,
132-
description: Union[str, object] = values.unset,
133-
sink_sid: Union[str, object] = values.unset,
127+
self, description: Union[str, object] = values.unset
134128
) -> "SubscriptionInstance":
135129
"""
136130
Asynchronous coroutine to update the SubscriptionInstance
137131
138132
:param description: A human readable description for the Subscription.
139-
:param sink_sid: The SID of the sink that events selected by this subscription should be sent to. Sink must be active for the subscription to be created.
140133
141134
:returns: The updated SubscriptionInstance
142135
"""
143136
return await self._proxy.update_async(
144137
description=description,
145-
sink_sid=sink_sid,
146138
)
147139

148140
@property
@@ -250,23 +242,19 @@ async def fetch_async(self) -> SubscriptionInstance:
250242
)
251243

252244
def update(
253-
self,
254-
description: Union[str, object] = values.unset,
255-
sink_sid: Union[str, object] = values.unset,
245+
self, description: Union[str, object] = values.unset
256246
) -> SubscriptionInstance:
257247
"""
258248
Update the SubscriptionInstance
259249
260250
:param description: A human readable description for the Subscription.
261-
:param sink_sid: The SID of the sink that events selected by this subscription should be sent to. Sink must be active for the subscription to be created.
262251
263252
:returns: The updated SubscriptionInstance
264253
"""
265254

266255
data = values.of(
267256
{
268257
"Description": description,
269-
"SinkSid": sink_sid,
270258
}
271259
)
272260
headers = values.of({})
@@ -282,23 +270,19 @@ def update(
282270
return SubscriptionInstance(self._version, payload, sid=self._solution["sid"])
283271

284272
async def update_async(
285-
self,
286-
description: Union[str, object] = values.unset,
287-
sink_sid: Union[str, object] = values.unset,
273+
self, description: Union[str, object] = values.unset
288274
) -> SubscriptionInstance:
289275
"""
290276
Asynchronous coroutine to update the SubscriptionInstance
291277
292278
:param description: A human readable description for the Subscription.
293-
:param sink_sid: The SID of the sink that events selected by this subscription should be sent to. Sink must be active for the subscription to be created.
294279
295280
:returns: The updated SubscriptionInstance
296281
"""
297282

298283
data = values.of(
299284
{
300285
"Description": description,
301-
"SinkSid": sink_sid,
302286
}
303287
)
304288
headers = values.of({})

0 commit comments

Comments
 (0)