()
return {
        'items': tag_schema.dump(available_tags, many=True).data,
    }
Search for all tags in TAG table using query.
    :return:
        on success 'items' contains a list of all tags
        on error 'msg' gives reason message
Search for all tags in TAG table using query.
    :return:
        on success 'items' contains a list of all tags
        on error 'msg' gives reason message
Search for all tags in TAG table using query . : return : on success items contains a list of all tags on error msg gives reason message
def list():
    """ Search for all tags in TAG table using query.
    :return:
        on success 'items' contains a list of all tags
        on error 'msg' gives reason message
    """
    session = db.session
    available_tags = Tag.query_find_all(session)

    return {
        'items': tag_schema.dump(available_tags, many=True).data,
    }
def list ( ) : session = db . session available_tags = Tag . query_find_all ( session ) return { 'items' : tag_schema . dump ( available_tags , many = True ) . data , }