Update api spec (#140)

* YOYO NEW API SPEC!

* bump version

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

* fixes

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-09-06 11:27:00 -07:00
committed by GitHub
parent f63509a1eb
commit 01a73859d4
66 changed files with 682 additions and 639 deletions

View File

@ -7,7 +7,7 @@ from dateutil.parser import isoparse
from ..models.uuid import Uuid
from ..types import UNSET, Unset
WN = TypeVar("WN", bound="Session")
EQ = TypeVar("EQ", bound="Session")
@attr.s(auto_attribs=True)
@ -58,7 +58,7 @@ class Session:
return field_dict
@classmethod
def from_dict(cls: Type[WN], src_dict: Dict[str, Any]) -> WN:
def from_dict(cls: Type[EQ], src_dict: Dict[str, Any]) -> EQ:
d = src_dict.copy()
_created_at = d.pop("created_at", UNSET)
created_at: Union[Unset, datetime.datetime]