From 7c573cdc103bfb011fbbf8d7e0976f873c141112 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mose=20M=C3=BCller?= Date: Tue, 7 Nov 2023 17:16:02 +0100 Subject: [PATCH] updating docstring --- src/pydase/utils/serializer.py | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/pydase/utils/serializer.py b/src/pydase/utils/serializer.py index 8515181..c79c1bc 100644 --- a/src/pydase/utils/serializer.py +++ b/src/pydase/utils/serializer.py @@ -283,14 +283,11 @@ def get_nested_dict_by_attr_and_index( with `pydase.utils.serializer.Serializer`. Args: - serialization_dict: - The base dictionary representing serialized data. - attr_name: - The key name representing the attribute in the dictionary. - index: - The optional index for list items within the dictionary value. - allow_append: - Flag to allow appending a new entry if `index` is out of range by one. + serialization_dict: The base dictionary representing serialized data. + attr_name: The key name representing the attribute in the dictionary. + index: The optional index for list items within the dictionary value. + allow_append: Flag to allow appending a new entry if `index` is out of range by + one. Returns: The dictionary or list item corresponding to the attribute and index.