optuna_dashboard.wsgi

optuna_dashboard.wsgi(storage, artifact_store=None, *, artifact_backend=None, llm_provider=None, jupyterlab_extension_context=None)

This function exposes WSGI interface for people who want to run on the production-class WSGI servers like Gunicorn or uWSGI.

Parameters:
  • storage (str | BaseStorage) – Optuna storage.

  • artifact_store (ArtifactBackend | ArtifactStore | None) – Optuna’s Artifact store (optional).

  • llm_provider (LLMProvider | None) – LLM providers defined under the optuna_dashboard.llm package (optional).

  • artifact_backend (ArtifactBackend | None)

  • jupyterlab_extension_context (JupyterLabExtensionContext | None)

Returns:

WSGI application object.

Return type:

WSGIApplication