From 98200e512f4c693ae0b5f3be33459eb3326c1943 Mon Sep 17 00:00:00 2001 From: Dang Zitou Date: Mon, 25 May 2026 08:03:55 +0800 Subject: [PATCH] feat: address mljar/mljar-supervised#657 tqdm warning in notebook --- supervised/tuner/optuna/__init__.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/supervised/tuner/optuna/__init__.py b/supervised/tuner/optuna/__init__.py index e69de29b..f808742c 100644 --- a/supervised/tuner/optuna/__init__.py +++ b/supervised/tuner/optuna/__init__.py @@ -0,0 +1,9 @@ +import warnings + +from tqdm.std import TqdmExperimentalWarning + +warnings.filterwarnings( + "ignore", + message=r"Using `tqdm\.autonotebook\.tqdm` in notebook mode\..*", + category=TqdmExperimentalWarning, +)