diff --git a/src/ifcopenshell-python/ifcopenshell/api/structural/edit_structural_boundary_condition.py b/src/ifcopenshell-python/ifcopenshell/api/structural/edit_structural_boundary_condition.py index ca9cfa7a66..f88eb7fc71 100644 --- a/src/ifcopenshell-python/ifcopenshell/api/structural/edit_structural_boundary_condition.py +++ b/src/ifcopenshell-python/ifcopenshell/api/structural/edit_structural_boundary_condition.py @@ -19,19 +19,12 @@ import ifcopenshell from typing import Any, TypedDict, Literal, Union -AttributeDict = TypedDict( - "AttributeDict", - { - "type": Union[ - Literal[ - "string", - "null", - ], - str, # IFC Class. - ], - "value": Any, - }, -) +class AttributeDict(TypedDict): + type: Union[ + Literal["string", "null"], + str, # IFC Class. + ] + value: Any def edit_structural_boundary_condition(