Route and RouteMatch frozen dataclasses.
routing.route
| Name | Type | Default | Description |
|---|---|---|---|
type
|
|
— | |
qualified_name
|
|
— | |
element_type
|
|
— | |
description
|
|
— | |
source_file
|
|
— | |
line_number
|
|
— | |
is_autodoc
|
|
— | |
autodoc_element
|
|
— | |
_autodoc_template
|
|
— | |
_autodoc_url_path
|
|
— | |
_autodoc_page_type
|
|
— | |
title
|
|
— | |
doc_content_hash
|
|
— |
Symbols on this page
A parsed segment of a route path.
Static:/users(is_param=False)
Param:/\{id}(is_param=True, param_name="id")
Typed:/{id:int}(is_param=True, param_name="id", param_type="int")
A frozen route definition.
Created during app setup, compiled into the router at freeze time.
Result of a successful route match.
PathSegment
class
A parsed segment of a route path.
Static:/users(is_param=False)
Param:/\{id}(is_param=True, param_name="id")
Typed:/{id:int}(is_param=True, param_name="id", param_type="int")
Route
class
A frozen route definition.
Created during app setup, compiled into the router at freeze time.
RouteMatch
class
Result of a successful route match.
View source · /home/runner/work/chirp/chirp/site/../src/chirp/routing/route.py:1