@property
def all_subsections(self) -> dict:
    '\n        Returns a flat dict of all sections in this section and its subsections.\n\n        The order is preserved, i.e. sections are listed in this dict in\n        the same order in which they appear in the experiment.\n        '
    subsections = {}
    for (name, member) in self.members.items():
        if isinstance(member, Section):
            subsections[name] = member
            subsections.update(member.all_subsections)
    return subsections
Returns a flat dict of all sections in this section and its subsections.

The order is preserved, i.e. sections are listed in this dict in
the same order in which they appear in the experiment.
@property
def all_subsections(self) -> dict:
    '\n        Returns a flat dict of all sections in this section and its subsections.\n\n        The order is preserved, i.e. sections are listed in this dict in\n        the same order in which they appear in the experiment.\n        '
    subsections = {}
    for (name, member) in self.members.items():
        if isinstance(member, Section):
            subsections[name] = member
            subsections.update(member.all_subsections)
    return subsections