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.point2d import Point2d
@ -9,3 +9,5 @@ class PlaneIntersectAndProject(BaseModel):
"""Corresponding coordinates of given window coordinates, intersected on given plane."""
plane_coordinates: Optional[Point2d] = None
model_config = ConfigDict(protected_namespaces=())