Files
kittycad.py/kittycad/models/path_segment_info.py
Jess Frazelle 8d476bbec6 pydantic cleanup
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2024-01-06 18:32:34 -08:00

19 lines
392 B
Python

from typing import Optional
from pydantic import BaseModel, ConfigDict
from ..models.modeling_cmd_id import ModelingCmdId
from ..models.path_command import PathCommand
class PathSegmentInfo(BaseModel):
"""Info about a path segment"""
command: PathCommand
command_id: Optional[ModelingCmdId] = None
relative: bool
model_config = ConfigDict(protected_namespaces=())