mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-06 17:00:30 +08:00
16 lines
380 B
Python
16 lines
380 B
Python
import warnings
|
|
|
|
from bottle import Bottle
|
|
from optuna.storages import BaseStorage
|
|
|
|
from ._app import create_app as _create_app
|
|
|
|
|
|
def create_app(storage: BaseStorage) -> Bottle:
|
|
warnings.warn(
|
|
"This function will be removed in the future."
|
|
" Please use optuna_dashboard.run_server() instead.",
|
|
DeprecationWarning,
|
|
)
|
|
return _create_app(storage)
|