mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
typing
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user