Coverage for src/lexigram/web/routing/types.py: 100%
7 statements
« prev ^ index » next coverage.py v7.15.4, created at 2026-08-25 04:37 +0800
« prev ^ index » next coverage.py v7.15.4, created at 2026-08-25 04:37 +0800
1from __future__ import annotations
3from typing import Any, Protocol, runtime_checkable
6@runtime_checkable
7class RoutableProtocol(Protocol):
8 def __call__(self, *args: Any, **kwargs: Any) -> Any: ...
10 # Optional attributes added by decorators
11 _route_config: dict[str, Any] | None
12 _param_metadata: list[dict[str, Any]] | None
13 _dependencies: list[dict[str, Any]] | None