Skip to content

Commit

Permalink
changed v2 ListObject data type from List[StripeObject] to List[T] (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jar-stripe authored Jan 13, 2025
1 parent b4df98e commit 39ce6f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stripe/v2/_list_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class ListObject(StripeObject, Generic[T]):
"""

OBJECT_NAME = "list"
data: List[StripeObject]
data: List[T]
next_page_url: Optional[str]

def __getitem__(self, k):
Expand Down

0 comments on commit 39ce6f4

Please sign in to comment.