(routes: Sequence[BaseRoute])
| 1791 | |
| 1792 | |
| 1793 | def _iter_included_route_candidates(routes: Sequence[BaseRoute]) -> Iterator[BaseRoute]: |
| 1794 | for route, route_context in _iter_routes_with_context(routes): |
| 1795 | if route_context is not None and route_context.starlette_route is not None: |
| 1796 | yield route_context.starlette_route |
| 1797 | else: |
| 1798 | yield route |
| 1799 | |
| 1800 | |
| 1801 | def iter_route_contexts( |
searching dependent graphs…