Skip to content

Commit de3ff40

Browse files
author
Jens Kürten
committed
remove unneeded linked parts and docs
1 parent 8d99f0b commit de3ff40

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

csfunctions/events/document_field_calculation.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ class DocumentFieldCalculationData(BaseModel):
1111
document: Document = Field(..., description="Current state of the document")
1212
action: Literal["create", "modify", "copy", "index"] = Field(..., description="Action being performed")
1313
linked_parts: list[Part] = Field(..., description="Parts that belong to the document")
14-
linked_documents: list[Document] = Field(..., description="Related documents (e.g. source document)")
1514

1615

1716
class DocumentFieldCalculationEvent(BaseEvent):

csfunctions/events/part_field_calculation.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ class PartFieldCalculationData(BaseModel):
1212
action: Literal["create", "modify", "copy", "index"] = Field(..., description="Action being performed")
1313

1414
linked_documents: list[Document] = Field(..., description="List of documents that are referenced by the parts.")
15-
linked_parts: list[Part] = Field(..., description="Related parts (e.g. source part)")
1615

1716

1817
class PartFieldCalculationEvent(BaseEvent):

0 commit comments

Comments
 (0)