Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2023-11-28 14:29:16 -08:00
parent 6b8807feea
commit 373b5ef4ae
123 changed files with 1858 additions and 1955 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
CG = TypeVar("CG", bound="PathSegmentInfo")
UH = TypeVar("UH", bound="PathSegmentInfo")
@attr.s(auto_attribs=True)
@ -39,7 +39,7 @@ class PathSegmentInfo:
return field_dict
@classmethod
def from_dict(cls: Type[CG], src_dict: Dict[str, Any]) -> CG:
def from_dict(cls: Type[UH], src_dict: Dict[str, Any]) -> UH:
d = src_dict.copy()
_command = d.pop("command", UNSET)
command: Union[Unset, PathCommand]