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

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