From 44336addaf7ce149a56cc9b4d8d9cca161f3598f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20Jedlicska?= Date: Tue, 30 May 2023 18:01:55 +0200 Subject: [PATCH] fix(structural-properties): add missing ShapeType member --- src/specklepy/objects/structural/properties.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/specklepy/objects/structural/properties.py b/src/specklepy/objects/structural/properties.py index 65810c88..e0153a1e 100644 --- a/src/specklepy/objects/structural/properties.py +++ b/src/specklepy/objects/structural/properties.py @@ -65,6 +65,7 @@ class ShapeType(int, Enum): Box = 7 Catalogue = 8 Explicit = 9 + Undefined = 10 class PropertyTypeSpring(int, Enum): @@ -90,7 +91,9 @@ class Property(Base, speckle_type=STRUCTURAL_PROPERTY): name: Optional[str] = None -class SectionProfile(Base, speckle_type=STRUCTURAL_PROPERTY + ".Profiles.SectionProfile"): +class SectionProfile( + Base, speckle_type=STRUCTURAL_PROPERTY + ".Profiles.SectionProfile" +): name: Optional[str] = None shapeType: Optional[ShapeType] = None area: float = 0.0