Skip to content

Commit be6d40d

Browse files
committed
Add doc for Python generated route objects.
- Document deprecated and attrs member variables.
1 parent 48a5462 commit be6d40d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/builtin_backends.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,10 @@ module for the namespace will have a module-level variable for each route::
268268
>>> eval
269269
Route('eval', False, ...)
270270

271+
Route attributes specified in the spec are available as a dict in the ``attrs``
272+
member variable. Route deprecation is stored in the ``deprecated`` member
273+
variable.
274+
271275
Serialization
272276
-------------
273277

0 commit comments

Comments
 (0)