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

@ -4,7 +4,7 @@ import attr
from ..types import UNSET, Unset
FT = TypeVar("FT", bound="ModelingError")
NX = TypeVar("NX", bound="ModelingError")
@attr.s(auto_attribs=True)
@ -39,7 +39,7 @@ class ModelingError:
return field_dict
@classmethod
def from_dict(cls: Type[FT], src_dict: Dict[str, Any]) -> FT:
def from_dict(cls: Type[NX], src_dict: Dict[str, Any]) -> NX:
d = src_dict.copy()
error_code = d.pop("error_code", UNSET)