File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1- from contextlib import suppress
21from datetime import date , datetime
32from typing import TYPE_CHECKING , Literal , Optional
43
87
98from .base import BaseObject , ObjectType
109from .file import File
11-
12- with suppress (ImportError ):
13- from .part import Part
10+ from .part import Part
1411
1512if TYPE_CHECKING :
1613 from csfunctions .events import EventData
@@ -99,3 +96,6 @@ class CADDocument(Document):
9996 """
10097
10198 object_type : Literal [ObjectType .CAD_DOCUMENT ] = ObjectType .CAD_DOCUMENT # type: ignore[assignment]
99+
100+
101+ Part .model_rebuild ()
Original file line number Diff line number Diff line change 1- from contextlib import suppress
21from datetime import date , datetime
32from typing import TYPE_CHECKING , Literal , Optional
43
1110if TYPE_CHECKING :
1211 from csfunctions .events import EventData
1312
14- with suppress (ImportError ):
1513 from .document import Document
1614
1715
You can’t perform that action at this time.
0 commit comments