* regenerate

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes and cleanup

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* I have generated the latest API!

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Jess Frazelle
2023-07-31 12:50:30 -07:00
committed by GitHub
parent d678182dcf
commit 4c3f497d73
141 changed files with 1432 additions and 566 deletions

View File

@ -7,7 +7,7 @@ from dateutil.parser import isoparse
from ..models.uuid import Uuid
from ..types import UNSET, Unset
F = TypeVar("F", bound="Session")
VP = TypeVar("VP", bound="Session")
@attr.s(auto_attribs=True)
@ -58,7 +58,7 @@ class Session:
return field_dict
@classmethod
def from_dict(cls: Type[F], src_dict: Dict[str, Any]) -> F:
def from_dict(cls: Type[VP], src_dict: Dict[str, Any]) -> VP:
d = src_dict.copy()
_created_at = d.pop("created_at", UNSET)
created_at: Union[Unset, datetime.datetime]
@ -81,7 +81,7 @@ class Session:
if isinstance(_session_token, Unset):
session_token = UNSET
else:
session_token = Uuid(_session_token)
session_token = _session_token # type: ignore[arg-type]
_updated_at = d.pop("updated_at", UNSET)
updated_at: Union[Unset, datetime.datetime]