Update api spec (#97)

* YOYO NEW API SPEC!

* updates

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

* attempt fix

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

* fix

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

* fix

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

* fix

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-05-26 12:31:24 -07:00
committed by GitHub
parent 65137564cf
commit 74f5be43fa
108 changed files with 2040 additions and 12172 deletions

View File

@ -6,7 +6,7 @@ from dateutil.parser import isoparse
from ..types import UNSET, Unset
W = TypeVar("W", bound="User")
D = TypeVar("D", bound="User")
@attr.s(auto_attribs=True)
@ -83,7 +83,7 @@ class User:
return field_dict
@classmethod
def from_dict(cls: Type[W], src_dict: Dict[str, Any]) -> W:
def from_dict(cls: Type[D], src_dict: Dict[str, Any]) -> D:
d = src_dict.copy()
company = d.pop("company", UNSET)