mirror of
https://github.com/thatmattlove/hyperglass.git
synced 2026-02-07 17:58:24 +00:00
Due to changes in tooling from the originals used file formats have changed. pnpm 10.10.0 rye 0.44.0 ruff 0.11.8 CI is now testing on a matrix of pnpm, node, and python versions. This will hopefully cover edgecases where users are running various version. Still needs update to use python version in matrix with `rye`. Installs OS deps in workflow Adds 'packages' key in workspace form pnpm 9 Makes testing for BaseExternal configurable Adds redis and httpbin as service containers ruff lint changed dictionary comprehensions adds environment variables for httpbin Fixes runner to docker communications
11 lines
203 B
Python
11 lines
203 B
Python
"""Validation model for cache config."""
|
|
|
|
# Local
|
|
from ..main import HyperglassModel
|
|
|
|
|
|
class Cache(HyperglassModel):
|
|
"""Public cache parameters."""
|
|
|
|
timeout: int = 120
|
|
show_text: bool = True
|