More cleaning up of forward type hints to fix import errors

This commit is contained in:
Dion Moult
2024-05-07 14:58:12 +10:00
parent 89c4cbeb05
commit 424a06f6c8
5 changed files with 12 additions and 18 deletions
@@ -30,7 +30,7 @@ class Clipping:
operand_type: str = "IfcHalfSpaceSolid"
@classmethod
def parse(cls, raw_data: Any) -> Union[ifcopenshell.entity_instance, Clipping, None]:
def parse(cls, raw_data: Any) -> Union[ifcopenshell.entity_instance, "Clipping", None]:
"""Parse various formats into a clipping object
`raw_data` can be either: