flask_taxonomies/routing.py
def accept_fallback(_header_accessor):
    """Decorator to specify a fallback endpoint function.
    :param func: the endpoint function to fall back upon
    :returns: an HeaderRouter class to be initialized
    """

    class FallbackHeaderRouter(HeaderRouter):
        use_fallback = True
        header_accessor = _header_accessor

    return FallbackHeaderRouter
Decorator to specify a fallback endpoint function.
    :param func: the endpoint function to fall back upon
    :returns: an HeaderRouter class to be initialized
    
Decorator to specify a fallback endpoint function.
Decorator to specify a fallback endpoint function .
def accept_fallback(_header_accessor):
    class FallbackHeaderRouter(HeaderRouter):
        use_fallback = True
        header_accessor = _header_accessor
    return FallbackHeaderRouter
def accept_fallback ( _header_accessor ) : class FallbackHeaderRouter ( HeaderRouter ) : use_fallback = True header_accessor = _header_accessor return FallbackHeaderRouter
Decorator to specify a fallback endpoint function.
Decorator to specify a fallback endpoint function .
"""Decorator to specify a fallback endpoint function.
    :param func: the endpoint function to fall back upon
    :returns: an HeaderRouter class to be initialized
    """
an HeaderRouter class to be initialized
an HeaderRouter class to be initialized
_header_accessor
func
the endpoint function to fall back upon
the endpoint function to fall back upon