Skip to content

Commit 5026714

Browse files
committed
Add comment
1 parent 721bf5b commit 5026714

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

djangocms_rest/serializers/plugins.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ def serialize_soft_refs(request: HttpRequest, data: Any) -> Any:
6565
any soft references (dictionaries with 'model' and 'pk' keys) into a more
6666
usable format.
6767
68+
Attention: This function modifies the input data in place.
69+
6870
Args:
6971
data (Any): The input data structure, which can be a dict, list, or other types.
7072

0 commit comments

Comments
 (0)