flask_taxonomies/routing.py
def accept(_header_accessor, *args):
    """Decorator to explictly allows multiple mediatypes
    :param args: the accepted mediatypes, as strings
    :returns: an HeaderRouter class to be initialized
    """

    class ExplicitHeaderRouter(HeaderRouter):
        handled_values = args
        header_accessor = _header_accessor

    return ExplicitHeaderRouter
Decorator to explictly allows multiple mediatypes
    :param args: the accepted mediatypes, as strings
    :returns: an HeaderRouter class to be initialized
    
Decorator to explictly allows multiple mediatypes
Decorator to explictly allows multiple mediatypes
def accept(_header_accessor, *args):
    class ExplicitHeaderRouter(HeaderRouter):
        handled_values = args
        header_accessor = _header_accessor
    return ExplicitHeaderRouter
def accept ( _header_accessor , * args ) : class ExplicitHeaderRouter ( HeaderRouter ) : handled_values = args header_accessor = _header_accessor return ExplicitHeaderRouter
Decorator to explictly allows multiple mediatypes
Decorator to explictly allows multiple mediatypes
"""Decorator to explictly allows multiple mediatypes
    :param args: the accepted mediatypes, as strings
    :returns: an HeaderRouter class to be initialized
    """
an HeaderRouter class to be initialized
an HeaderRouter class to be initialized
_header_accessor
args
the accepted mediatypes, as strings
the accepted mediatypes as strings