Update api spec (#125)

* 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:
Jess Frazelle
2023-08-17 14:30:53 -07:00
committed by GitHub
parent 1e693890ef
commit f522911d7b
81 changed files with 404 additions and 315 deletions

View File

@ -6,7 +6,7 @@ from ..models.point2d import Point2d
from ..models.point3d import Point3d
from ..types import UNSET, Unset
PS = TypeVar("PS", bound="line")
WR = TypeVar("WR", bound="line")
@attr.s(auto_attribs=True)
@ -33,7 +33,7 @@ class line:
return field_dict
@classmethod
def from_dict(cls: Type[PS], src_dict: Dict[str, Any]) -> PS:
def from_dict(cls: Type[WR], src_dict: Dict[str, Any]) -> WR:
d = src_dict.copy()
_end = d.pop("end", UNSET)
end: Union[Unset, Point3d]
@ -69,7 +69,7 @@ class line:
return key in self.additional_properties
WR = TypeVar("WR", bound="arc")
XL = TypeVar("XL", bound="arc")
@attr.s(auto_attribs=True)
@ -108,7 +108,7 @@ class arc:
return field_dict
@classmethod
def from_dict(cls: Type[WR], src_dict: Dict[str, Any]) -> WR:
def from_dict(cls: Type[XL], src_dict: Dict[str, Any]) -> XL:
d = src_dict.copy()
angle_end = d.pop("angle_end", UNSET)
@ -153,7 +153,7 @@ class arc:
return key in self.additional_properties
XL = TypeVar("XL", bound="bezier")
ZX = TypeVar("ZX", bound="bezier")
@attr.s(auto_attribs=True)
@ -190,7 +190,7 @@ class bezier:
return field_dict
@classmethod
def from_dict(cls: Type[XL], src_dict: Dict[str, Any]) -> XL:
def from_dict(cls: Type[ZX], src_dict: Dict[str, Any]) -> ZX:
d = src_dict.copy()
_control1 = d.pop("control1", UNSET)
control1: Union[Unset, Point3d]