pub async fn get_session_row(
db: &DatabaseConnection,
session_id: &str,
user_id: Uuid,
permitted_dataset_ids: &[Uuid],
prefer_other_owner: bool,
) -> Result<Option<SessionRowWithStatus>, DatabaseError>pub async fn get_session_row(
db: &DatabaseConnection,
session_id: &str,
user_id: Uuid,
permitted_dataset_ids: &[Uuid],
prefer_other_owner: bool,
) -> Result<Option<SessionRowWithStatus>, DatabaseError>