def inspect_sinks(app: App) -> 'List[SinkInfo]':
    'Inspects the sinks 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[SinkInfo]: A list of sinks used by the application.\n    '
    sinks = []
    for (prefix, sink, _) in app._sinks:
        (source_info, name) = _get_source_info_and_name(sink)
        info = SinkInfo(prefix.pattern, name, source_info)
        sinks.append(info)
    return sinks
Inspects the sinks of an application.

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

Returns:
    List[SinkInfo]: A list of sinks used by the application.
def inspect_sinks(app: App) -> 'List[SinkInfo]':
    'Inspects the sinks 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[SinkInfo]: A list of sinks used by the application.\n    '
    sinks = []
    for (prefix, sink, _) in app._sinks:
        (source_info, name) = _get_source_info_and_name(sink)
        info = SinkInfo(prefix.pattern, name, source_info)
        sinks.append(info)
    return sinks