def posts_base():
    return db_session.query(Post, Status, User).filter(filter_public())
Base query to make sure we get only published posts
dataset/ETHPy150Open jkossen/imposter/frontend.py/posts_base