Skip to content

Commit 6e81385

Browse files
author
Jens Kürten
committed
fix comment
1 parent 1de90b0 commit 6e81385

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

csfunctions/handler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ def link_objects(event: Event):
6868
# e.g. all parts would be in Event.data.parts = list[Part]
6969

7070
for field_name in data.model_fields_set:
71-
# go through each field in data and look for fields that are lists
72-
# objects will always be passed in a list
71+
# go through each field in data and look for fields that are lists of BaseObjects
72+
# or direct BaseObjects
7373

7474
field = getattr(data, field_name)
7575
if isinstance(field, list):

0 commit comments

Comments
 (0)