File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 22
33from pydantic import BaseModel , Field
44
5- from csfunctions .objects import Document , Part
5+ from csfunctions .objects import Part
66
77from .base import BaseEvent , EventNames
88
99
1010class PartCreateCheckData (BaseModel ):
1111 parts : list [Part ] = Field (..., description = "List of parts that are about to be created" )
12- attached_documents : list [Document ] = Field (..., description = "Contains the original part(s) if a part is a copy" )
12+ attached_parts : list [Part ] = Field (..., description = "Contains the original part(s) if a part is a copy" )
1313
1414
1515class PartCreateCheckEvent (BaseEvent ):
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ The event is triggered before any field calculations are performed.
144144| Attribute| Type| Description|
145145| -| -| -|
146146| parts| list[[ Part] ( objects.md#part )] | List of parts that are about to be created.|
147- | attached_documents | list[[ Document ] ( objects.md#document )] | Contains the original part(s) if a part is a copy.|
147+ | attached_parts | list[[ Part ] ( objects.md#part )] | Contains the original part(s) if a part is a copy.|
148148
149149## PartModifyCheckEvent
150150` csfunctions.events.PartModifyCheckEvent `
You can’t perform that action at this time.
0 commit comments