We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1de90b0 commit 6e81385Copy full SHA for 6e81385
csfunctions/handler.py
@@ -68,8 +68,8 @@ def link_objects(event: Event):
68
# e.g. all parts would be in Event.data.parts = list[Part]
69
70
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
+ # go through each field in data and look for fields that are lists of BaseObjects
+ # or direct BaseObjects
73
74
field = getattr(data, field_name)
75
if isinstance(field, list):
0 commit comments