File: stats.rst

package info (click to toggle)
python-web-poet 0.23.2-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 908 kB
  • sloc: python: 6,112; makefile: 19
file content (12 lines) | stat: -rw-r--r-- 388 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
.. _framework-stats:

================
Supporting stats
================

To support :ref:`stats <stats>`, your framework must provide the
:class:`~web_poet.page_inputs.stats.StatCollector` implementation of
:class:`~web_poet.page_inputs.stats.Stats`.

It is up to you to decide how to store the stats, and how your users can access
them at run time (outside page objects) or afterwards.