async def METHOD_NAME(session: sa.orm.Session, flow_id: UUID, db: PrefectDBInterface):
    """
    Reads a flow by id.
    Args:
        session: A database session
        flow_id: a flow id
    Returns:
        db.Flow: the flow
    """
    return await session.get(db.Flow, flow_id)