def all(gid): u = current_user() g = Group.get_one_by(group_id=gid) print(g) list = Tag.getAll(None, g) return (list)
def all(): u = current_user() list = Tag.getAll(u, None) return (list)