Functions
_route_to_dict
1
dict[str, Any]
▼
Serialize a PageRoute to a JSON-serializable dict.
_route_to_dict
1
dict[str, Any]
▼
def _route_to_dict(route: Any) -> dict[str, Any]
Parameters
| Name | Type | Description |
|---|---|---|
route |
Any |
Returns
dict[str, Any]
render_route_explorer
2
str
▼
Render the route explorer HTML page.
render_route_explorer
2
str
▼
def render_route_explorer(routes: list[Any], path_filter: str | None = None) -> str
Parameters
| Name | Type | Description |
|---|---|---|
routes |
list[Any] |
|
path_filter |
str | None |
Default:None
|
Returns
str