Fix Ruff UP013 (convert-typed-dict-functional-to-class)

Apparently `type` is okay and doesn't break things in even in Python 3.12
This commit is contained in:
Andrej730
2025-07-11 10:46:17 +05:00
parent 0fcc47508a
commit e1976d5bfd
@@ -19,19 +19,12 @@ import ifcopenshell
from typing import Any, TypedDict, Literal, Union from typing import Any, TypedDict, Literal, Union
AttributeDict = TypedDict( class AttributeDict(TypedDict):
"AttributeDict", type: Union[
{ Literal["string", "null"],
"type": Union[ str, # IFC Class.
Literal[ ]
"string", value: Any
"null",
],
str, # IFC Class.
],
"value": Any,
},
)
def edit_structural_boundary_condition( def edit_structural_boundary_condition(