Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2024-02-24 17:03:55 -08:00
parent 218c6b4672
commit dedbe43c3e
101 changed files with 7680 additions and 857 deletions

View File

@ -1,13 +1,14 @@
from pydantic import BaseModel, ConfigDict
from ..models.length_unit import LengthUnit
class Point2d(BaseModel):
"""A point in 2D space"""
x: float
x: LengthUnit
y: float
y: LengthUnit
model_config = ConfigDict(protected_namespaces=())