python 3.9 compatibility

This commit is contained in:
Andrej730
2024-05-23 16:42:19 +05:00
parent c70745826a
commit 7f2c7eb467
@@ -254,7 +254,7 @@ def schema_by_name(
return ifcopenshell_wrapper.schema_by_name(schema)
def guess_format(path: Path) -> Union[str | None]:
def guess_format(path: Path) -> Union[str, None]:
"""Guesses the IFC format using file extension
IFCs may be serialised as different formats. The most common is a ``.ifc``