Update api spec (#157)

* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Jess Frazelle
2023-10-12 09:02:59 -07:00
committed by GitHub
parent 4120a139cd
commit 036965255a
77 changed files with 11218 additions and 10784 deletions

View File

@ -9,7 +9,7 @@ from ..models.card_details import CardDetails
from ..models.payment_method_type import PaymentMethodType
from ..types import UNSET, Unset
QT = TypeVar("QT", bound="PaymentMethod")
VM = TypeVar("VM", bound="PaymentMethod")
@attr.s(auto_attribs=True)
class PaymentMethod:
@ -56,7 +56,7 @@ class PaymentMethod:
return field_dict
@classmethod
def from_dict(cls: Type[QT], src_dict: Dict[str, Any]) -> QT:
def from_dict(cls: Type[VM], src_dict: Dict[str, Any]) -> VM:
d = src_dict.copy()
_billing_info = d.pop("billing_info", UNSET)
billing_info: Union[Unset, BillingInfo]