pydantic cleanup

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2024-01-06 18:32:21 -08:00
parent b233f94a24
commit 8d476bbec6
140 changed files with 1122 additions and 540 deletions

View File

@ -1,6 +1,6 @@
from typing import Optional
from pydantic import BaseModel
from pydantic import BaseModel, ConfigDict
from ..models.modeling_cmd_id import ModelingCmdId
from ..models.path_command import PathCommand
@ -14,3 +14,5 @@ class PathSegmentInfo(BaseModel):
command_id: Optional[ModelingCmdId] = None
relative: bool
model_config = ConfigDict(protected_namespaces=())