13 lines
182 B
Python
13 lines
182 B
Python
|
|
from pydantic import BaseModel
|
|
|
|
from ..models.unit_angle import UnitAngle
|
|
|
|
|
|
class Angle(BaseModel):
|
|
"""An angle, with a specific unit."""
|
|
|
|
unit: UnitAngle
|
|
|
|
value: float
|