File: page_params.py

package info (click to toggle)
python-web-poet 0.23.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 940 kB
  • sloc: python: 6,113; makefile: 19
file content (14 lines) | stat: -rw-r--r-- 311 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from __future__ import annotations

from typing import TypeVar

_KT = TypeVar("_KT")
_VT = TypeVar("_VT")


class PageParams(dict[_KT, _VT]):
    """Container class that could contain any arbitrary data to be passed into
    a Page Object.

    Note that this is simply a subclass of Python's ``dict``.
    """