Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
distributed / distributed / http / scheduler / missing_bokeh.py
Size: Mime:
from __future__ import annotations

from distributed.http.utils import RequestHandler, redirect
from distributed.utils import log_errors


class MissingBokeh(RequestHandler):
    @log_errors
    def get(self):
        self.write(
            "<p>Dask needs bokeh >= 2.1.1 for the dashboard.</p>"
            "<p>Install with conda: conda install bokeh>=1.0</p>"
            "<p>Install with pip: pip install bokeh>=2.1.1</p>"
        )


routes: list[tuple] = [(r"/", redirect("status"), {}), (r"status", MissingBokeh, {})]