From 5c05619c960bc1ead78df3af1924b24429382245 Mon Sep 17 00:00:00 2001 From: Dmitry Duev Date: Tue, 25 Aug 2026 20:08:26 -0700 Subject: [PATCH] Remove reference to wandb's removed RunDisabled class --- skll/utils/wandb.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/skll/utils/wandb.py b/skll/utils/wandb.py index 00bbdb32..353b8a39 100644 --- a/skll/utils/wandb.py +++ b/skll/utils/wandb.py @@ -5,11 +5,10 @@ """ from pathlib import Path -from typing import Any, Dict, Optional, Union +from typing import Any, Dict, Optional import pandas as pd import wandb -from wandb.sdk.lib import RunDisabled from wandb.sdk.wandb_run import Run from skll.config import _setup_config_parser @@ -32,7 +31,7 @@ def __init__(self, wandb_credentials: Optional[Dict[str, str]], config_file_path The path to this experiment's config file """ - self.wandb_run: Optional[Union[Run, RunDisabled]] = None + self.wandb_run: Optional[Run] = None if wandb_credentials: self.wandb_run = wandb.init( project=wandb_credentials["wandb_project"],