Source code for timApp.document.viewparams

from dataclasses import dataclass
from typing import Optional

from tim_common.marshmallow_dataclass import class_schema


[docs]@dataclass(frozen=True) class ViewParams: """View route parameters that don't affect document rendering.""" direct_link_timer: int = 15 goto: str | None = None login: bool = False nocache: bool = False wait_max: int = 0
ViewParamsSchema = class_schema(ViewParams)()