Skip to content

Commit

Permalink
Merge branch 'main' into connection-pool-full
Browse files Browse the repository at this point in the history
  • Loading branch information
tiwarishubham635 authored Apr 22, 2024
2 parents e267866 + 1fb82e5 commit d2c4e46
Show file tree
Hide file tree
Showing 11 changed files with 1,062 additions and 24 deletions.
15 changes: 15 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,21 @@ twilio-python Changelog

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

[2024-04-18] Version 9.0.5
--------------------------
**Library - Chore**
- [PR #742](https://github.com/twilio/twilio-python/pull/742): [Snyk] Fix for 3 vulnerabilities. Thanks to [@twilio-product-security](https://github.com/twilio-product-security)!

**Flex**
- Add header `ui_version` to `web_channels` API

**Messaging**
- Redeploy after failed pipeline

**Numbers**
- Add Delete Port In request phone number api and Add Delete Port In request api


[2024-04-04] Version 9.0.4
--------------------------
**Api**
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

setup(
name="twilio",
version="9.0.4",
version="9.0.5",
description="Twilio API client and TwiML generator",
author="Twilio",
help_center="https://www.twilio.com/help/contact",
Expand Down
2 changes: 1 addition & 1 deletion twilio/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version_info__ = ("9", "0", "4")
__version_info__ = ("9", "0", "5")
__version__ = ".".join(__version_info__)
24 changes: 12 additions & 12 deletions twilio/rest/api/v2010/account/call/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class UpdateStatus(object):
:ivar sid: The SID of the Stream resource.
:ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Stream resource.
:ivar call_sid: The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Stream resource is associated with.
:ivar name: The user-specified name of this Stream, if one was given when the Stream was created. This may be used to stop the Stream.
:ivar name: The user-specified name of this Stream, if one was given when the Stream was created. This can be used to stop the Stream.
:ivar status:
:ivar date_updated: The date and time in GMT that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
:ivar uri: The URI of the resource, relative to `https://api.twilio.com`.
Expand Down Expand Up @@ -134,7 +134,7 @@ def __init__(self, version: Version, account_sid: str, call_sid: str, sid: str):
:param version: Version that contains the resource
:param account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Stream resource.
:param call_sid: The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Stream resource is associated with.
:param sid: The SID of the Stream resource, or the `name` used when creating the resource
:param sid: The SID or the `name` of the Stream resource to be stopped
"""
super().__init__(version)

Expand Down Expand Up @@ -449,11 +449,11 @@ def create(
"""
Create the StreamInstance
:param url: Relative or absolute url where WebSocket connection will be established.
:param name: The user-specified name of this Stream, if one was given when the Stream was created. This may be used to stop the Stream.
:param url: Relative or absolute URL where WebSocket connection will be established.
:param name: The user-specified name of this Stream, if one was given when the Stream was created. This can be used to stop the Stream.
:param track:
:param status_callback: Absolute URL of the status callback.
:param status_callback_method: The http method for the status_callback (one of GET, POST).
:param status_callback: Absolute URL to which Twilio sends status callback HTTP requests.
:param status_callback_method: The HTTP method Twilio uses when sending `status_callback` requests. Possible values are `GET` and `POST`. Default is `POST`.
:param parameter1_name: Parameter name
:param parameter1_value: Parameter value
:param parameter2_name: Parameter name
Expand Down Expand Up @@ -1086,11 +1086,11 @@ async def create_async(
"""
Asynchronously create the StreamInstance
:param url: Relative or absolute url where WebSocket connection will be established.
:param name: The user-specified name of this Stream, if one was given when the Stream was created. This may be used to stop the Stream.
:param url: Relative or absolute URL where WebSocket connection will be established.
:param name: The user-specified name of this Stream, if one was given when the Stream was created. This can be used to stop the Stream.
:param track:
:param status_callback: Absolute URL of the status callback.
:param status_callback_method: The http method for the status_callback (one of GET, POST).
:param status_callback: Absolute URL to which Twilio sends status callback HTTP requests.
:param status_callback_method: The HTTP method Twilio uses when sending `status_callback` requests. Possible values are `GET` and `POST`. Default is `POST`.
:param parameter1_name: Parameter name
:param parameter1_value: Parameter value
:param parameter2_name: Parameter name
Expand Down Expand Up @@ -1518,7 +1518,7 @@ def get(self, sid: str) -> StreamContext:
"""
Constructs a StreamContext
:param sid: The SID of the Stream resource, or the `name` used when creating the resource
:param sid: The SID or the `name` of the Stream resource to be stopped
"""
return StreamContext(
self._version,
Expand All @@ -1531,7 +1531,7 @@ def __call__(self, sid: str) -> StreamContext:
"""
Constructs a StreamContext
:param sid: The SID of the Stream resource, or the `name` used when creating the resource
:param sid: The SID or the `name` of the Stream resource to be stopped
"""
return StreamContext(
self._version,
Expand Down
Loading

0 comments on commit d2c4e46

Please sign in to comment.