UI page wrapper

class mlipaudit.ui.page_wrapper.UIPageWrapper

Wrapper around the UI page functions. Allows to simplify code in app.py.

abstractmethod classmethod get_page_func() Callable[[Callable[[], dict[str, BenchmarkResult]]], None]

Returns the page function implementation for the given UI page.

Returns:

The page function.

abstractmethod classmethod get_benchmark_class() type[Benchmark]

Returns the associated benchmark class for the given UI page.

Returns:

The benchmark class.