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
Notes
You do not need to define a name for the final page. The name will be set automatically to ‘_final_page’.
See also
as_final_page()
: Class decorator for adding custom final pages to the experiment.ExperimentSession.final_page
the final page property of the experiment session object.
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