(self)
Close progress bars.
Close progress bars.
Close progress bars .
def close(self) -> None:
        """Close progress bars."""
        if self._is_valid:
            self._progress_bar.close()
            assert _tqdm_handler is not None
            optuna_logging._get_library_root_logger().removeHandler(_tqdm_handler)
            optuna_logging.enable_default_handler()
def close ( self ) -> None : if self . _is_valid : self . _progress_bar . close ( ) assert _tqdm_handler is not None optuna_logging . _get_library_root_logger ( ) . removeHandler ( _tqdm_handler ) optuna_logging . enable_default_handler ( )