def METHOD_NAME(pool: model.Pool) -> Dict[str, Any]:
    assert pool
    return {
        "names": [pool_name.name for pool_name in pool.names],
        "category": pool.category.name,
        "posts": [post.post_id for post in pool.posts],
    }