INNER CODE UNIT · Python
_iter_page_urls
rio-labs/rio · rio/app.py:593
def _iter_page_urls(
self,
*,
include_redirects: bool,
) -> t.Iterator[str]:
"""
Generates valid page URLs for this app. If the possible values for
placeholders are known (such as with `Literal`s) then all possible
combinations are generated. Otherwise, the URL is skipped.
Can be used to generate a sitemap, test that no pages crash, etc.
## Parameters
`include_redirects`: Whether to include URLs for `rio.Redirect` pages.
"""
def urls_for_pages(