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:
@ -6,7 +6,7 @@ from dateutil.parser import isoparse
|
||||
|
||||
from ..types import UNSET, Unset
|
||||
|
||||
II = TypeVar("II", bound="VerificationToken")
|
||||
CQ = TypeVar("CQ", bound="VerificationToken")
|
||||
|
||||
@attr.s(auto_attribs=True)
|
||||
class VerificationToken:
|
||||
@ -51,7 +51,7 @@ This is typically used to verify a user's email address. """ # noqa: E501
|
||||
return field_dict
|
||||
|
||||
@classmethod
|
||||
def from_dict(cls: Type[II], src_dict: Dict[str, Any]) -> II:
|
||||
def from_dict(cls: Type[CQ], src_dict: Dict[str, Any]) -> CQ:
|
||||
d = src_dict.copy()
|
||||
_created_at = d.pop("created_at", UNSET)
|
||||
created_at: Union[Unset, datetime.datetime]
|
||||
|
Reference in New Issue
Block a user