Skip to content

Commit 8539ea8

Browse files
committed
update vonage_subaccounts.ListSubaccountsResponse for compatibility with Python 3.8
1 parent f5c8ca8 commit 8539ea8

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

subaccounts/CHANGES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
# 1.0.1
2+
- Updated `vonage_subaccounts.ListSubaccountsResponse` for compatibility with Python 3.8
3+
14
# 1.0.0
25
- Initial upload

subaccounts/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = 'vonage-subaccounts'
3-
version = '1.0.0'
3+
version = '1.0.1'
44
description = 'Vonage Subaccounts API package'
55
readme = "README.md"
66
authors = [{ name = "Vonage", email = "devrel@vonage.com" }]

subaccounts/src/vonage_subaccounts/responses.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Optional, Union
1+
from typing import List, Optional, Union
22

33
from pydantic import BaseModel, Field
44

@@ -23,7 +23,7 @@ class Subaccount(VonageAccount):
2323

2424
class ListSubaccountsResponse(BaseModel):
2525
primary_account: PrimaryAccount
26-
subaccounts: list[Subaccount]
26+
subaccounts: List[Subaccount]
2727
total_balance: float
2828
total_credit_limit: Union[int, float]
2929

vonage/CHANGES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 3.99.3a1
2+
- Updated `vonage_subaccounts.ListSubaccountsResponse` for compatibility with Python 3.8
3+
14
# 3.99.3a0
25
- Add support for the [Vonage Subaccounts API](https://developer.vonage.com/en/use-cases/using-subaccounts).
36

vonage/src/vonage/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '3.99.3a0'
1+
__version__ = '3.99.3a1'

0 commit comments

Comments
 (0)