Update api spec (#159)

* 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-10-17 15:35:56 -07:00
committed by GitHub
parent 036965255a
commit 6ad21a2c87
129 changed files with 2802 additions and 1206 deletions

View File

@ -6,7 +6,7 @@ from ..models.modeling_cmd_id import ModelingCmdId
from ..models.path_command import PathCommand
from ..types import UNSET, Unset
HR = TypeVar("HR", bound="PathSegmentInfo")
UY = TypeVar("UY", bound="PathSegmentInfo")
@attr.s(auto_attribs=True)
class PathSegmentInfo:
@ -37,7 +37,7 @@ class PathSegmentInfo:
return field_dict
@classmethod
def from_dict(cls: Type[HR], src_dict: Dict[str, Any]) -> HR:
def from_dict(cls: Type[UY], src_dict: Dict[str, Any]) -> UY:
d = src_dict.copy()
_command = d.pop("command", UNSET)
command: Union[Unset, PathCommand]