

def get_tags():
    g.user.reload()
    base_tags = [t['title'] for t in Tags.objects.get_base_tags()]
    return filter(None, unique((base_tags + g.user.tags)))

dataset/ETHPy150Open dchaplinsky/unshred-tag/app.py get_tags/original