def inspect_static_routes(app: App) -> 'List[StaticRouteInfo]':
    'Inspects the static routes of an application.\n\n    Args:\n        app (falcon.App): The application to inspect. Works with both\n            :class:`falcon.App` and :class:`falcon.asgi.App`.\n\n    Returns:\n        List[StaticRouteInfo]: A list of static routes that have\n        been added to the application.\n    '
    routes = []
    for (sr, _, _) in app._static_routes:
        info = StaticRouteInfo(sr._prefix, sr._directory, sr._fallback_filename)
        routes.append(info)
    return routes
Inspects the static routes of an application.

Args:
    app (falcon.App): The application to inspect. Works with both
        :class:`falcon.App` and :class:`falcon.asgi.App`.

Returns:
    List[StaticRouteInfo]: A list of static routes that have
    been added to the application.
def inspect_static_routes(app: App) -> 'List[StaticRouteInfo]':
    'Inspects the static routes of an application.\n\n    Args:\n        app (falcon.App): The application to inspect. Works with both\n            :class:`falcon.App` and :class:`falcon.asgi.App`.\n\n    Returns:\n        List[StaticRouteInfo]: A list of static routes that have\n        been added to the application.\n    '
    routes = []
    for (sr, _, _) in app._static_routes:
        info = StaticRouteInfo(sr._prefix, sr._directory, sr._fallback_filename)
        routes.append(info)
    return routes