Skip to content

Commit 75dff91

Browse files
committed
src/trafficgen/types.py: class Dimensions: Corrected a typo in the annotation of field length. Annotation said (wrong) Width. Now corrected to Length.
1 parent a678448 commit 75dff91

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/trafficgen/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ class Dimensions(BaseModelConfig):
184184
185185
"""
186186

187-
length: Annotated[float, Field(gt=0, description="Width of the ship in meters", examples=[130.0])] | None = None
187+
length: Annotated[float, Field(gt=0, description="Length of the ship in meters", examples=[130.0])] | None = None
188188
width: Annotated[float, Field(gt=0, description="Width of the ship in meters", examples=[30.0])] | None = None
189189
height: Annotated[float, Field(gt=0, description="Height of the ship in meters", examples=[15.0])] | None = None
190190
draught: Annotated[float, Field(gt=0, description="Draught of the ship in meters", examples=[15.0])] | None = None

0 commit comments

Comments
 (0)