ExperimentSession.append()#

ExperimentSession.append(*items)[source]#

Appends Sections or Pages to the experiment’s root section.

While it is perfectly possible to use the append() method, usually it is preferable to use to augmented assigment operator += to append members to the experiment.

All members must have a unique name.

Examples

>>> import alfred3 as al
>>> exp = al.ExperimentSession()
>>> exp.append(al.Page(name="page1"))
>>> exp.members
{"page1": Page(class="Page", name="page1")}