ExperimentAdmin.final_page#

property ExperimentAdmin.final_page[source]#

The experiment’s final page.

You can set this property to a Page class or Page instance directly. For more complex final pages, we recommend the use of the as_final_page() decorator.

Returns

The experiment’s final page.

Return type

page.Page

Notes

You do not need to define a name for the final page. The name will be set automatically to ‘_final_page’.

See also

Examples

This property will return None, if the final page was not set manually. The experiment session will then use a default final page.

>>> exp = al.Experiment()
>>> exp.final_page
None

Setting a class instance as final page:

>>> exp = al.Experiment()
>>> exp.final_page = al.Page()
>>> exp.final_page
Page(class='Page', name='_final_page')
Type

page.Page