mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
typing
This commit is contained in:
@@ -448,8 +448,7 @@ class Project(bonsai.core.tool.Project):
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_header_data(cls) -> HeaderData:
|
def get_header_data(cls) -> HeaderData:
|
||||||
if not (ifc_file := tool.Ifc.get()):
|
assert (ifc_file := tool.Ifc.get())
|
||||||
return {}
|
|
||||||
|
|
||||||
# MVD.
|
# MVD.
|
||||||
if isinstance(ifc_file, ifcopenshell.sqlite):
|
if isinstance(ifc_file, ifcopenshell.sqlite):
|
||||||
|
|||||||
Reference in New Issue
Block a user