Skip to content

Commit 7f0fb97

Browse files
committed
add docstring
1 parent a497f3a commit 7f0fb97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/python_testing/taglist_and_topology_test_support.py

+1
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ def find_tag_list_problems(roots: list[int], device_types: dict[int, dict[int, s
192192

193193

194194
def flat_list_ok(flat_endpoint_id_to_check: int, endpoints_dict: dict[int, Any]) -> bool:
195+
'''Checks if the (flat) PartsList on the supplied endpoint contains all the sub-children of its parts.'''
195196
sub_children = set()
196197
for child in endpoints_dict[flat_endpoint_id_to_check][Clusters.Descriptor][Clusters.Descriptor.Attributes.PartsList]:
197198
sub_children.update(get_all_children(child, endpoints_dict))

0 commit comments

Comments
 (0)