This commit is contained in:
Andrej730
2026-09-02 14:44:41 +05:00
parent 66126d21bc
commit 6b62723aae
5 changed files with 27 additions and 12 deletions
+2 -1
View File
@@ -31,6 +31,7 @@ import ifcopenshell.guid
import ifcopenshell.util.brick
import ifcopenshell.util.element
import ifcopenshell.util.system
from brickschema.persistent import Changeset
import bonsai.core.brick
import bonsai.core.tool
@@ -580,7 +581,7 @@ class BrickStore:
@classmethod
@contextmanager
def new_changeset(cls) -> Generator[Any, None, None]:
def new_changeset(cls) -> Generator[Changeset]:
cls.current_changesets += 1
with BrickStore.graph.new_changeset("PROJECT") as cs:
yield cs