Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Change Log
## [4.60.2](https://github.com/plivo/plivo-python/tree/v4.60.2) (2026-05-26)
**Feature - Expose sub_account_name on Number resource**
- `Number` resource now surfaces `sub_account_name` alongside the existing `sub_account` (auth_id) on rented number listing and get APIs (dynamic attribute, already worked at runtime; this release adds explicit test coverage)

## [4.60.1](https://github.com/plivo/plivo-python/tree/v4.60.1) (2026-04-17)
**Bug Fix - PhoneNumber Compliance API**
- Fixed Requirements.get() sending None values as query params when not provided
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name='plivo',
version='4.60.1',
version='4.60.2',
description='A Python SDK to make voice calls & send SMS using Plivo and to generate Plivo XML',
long_description=long_description,
url='https://github.com/plivo/plivo-python',
Expand Down
3 changes: 2 additions & 1 deletion tests/resources/fixtures/numberGetResponse.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"resource_uri": "/v1/Account/MANWVLYTK4ZWU1YTY4ZT/Number/17609915566/",
"sms_enabled": true,
"sms_rate": "0.00000",
"sub_account": null,
"sub_account": "SAXXXXXXXXXXXXXXXXXX",
"sub_account_name": "Marketing",
"voice_enabled": true,
"voice_rate": "0.00850"
}
3 changes: 2 additions & 1 deletion tests/resources/fixtures/numberListResponse.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"resource_uri": "/v1/Account/MANWVLYTK4ZWU1YTY4ZT/Number/18135401302/",
"sms_enabled": true,
"sms_rate": "0.00000",
"sub_account": null,
"sub_account": "SAXXXXXXXXXXXXXXXXXX",
"sub_account_name": "Marketing",
"active": true,
"city": "USA",
"compliance_application_id": null,
Expand Down
2 changes: 2 additions & 0 deletions tests/resources/test_numbers.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ def test_numbers_list_all_invalid_params(self):
def test_get(self):
number = self.client.numbers.get(number_id)
self.assertResponseMatches(number)
self.assertEqual('SAXXXXXXXXXXXXXXXXXX', number.sub_account)
self.assertEqual('Marketing', number.sub_account_name)
self.assertUrlEqual(self.client.current_request.url,
self.get_url('Number', number_id))
self.assertEqual(self.client.current_request.method, 'GET')
Expand Down
Loading