
| Current Path : /var/www/web-klick.de/dsh/order_model/.archive/ixml/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/web-klick.de/dsh/order_model/.archive/ixml/location.py |
from typing import Optional
from pydantic import BaseModel
from ordermodel.position import Position
class Location(BaseModel):
"""Model to carry coordinate information with optional meta data.
Currently only 2D-coordinates are supported.
Type hint notation by 'pydantic'.
(see https://pypi.org/project/pydantic/)
Attributes:
"""
id: int # Todo: Check if required.
position: Position
description: Optional[str]
orientation_degree: Optional[int, float]
mask_space: Optional[str] # Todo: Check if required.
stepping: str