@viewer.view('show_post')
def show_post(slug, **kwargs):
    p_filter = Post.slug == slug
    query = get_posts(p_filter)

    # No result means the page doesn't exist
    if query.count() < 1:
        abort(404)

    post = query.first()
    return viewer.render('post.html', post=post[0])
return data
dataset/ETHPy150Open jkossen/imposter/frontend.py/show_post--crossover with--dataset/ETHPy150Open benoitc/flower/flower/net/base.py/IConn.read