Source code distributed/diagnostics/__init__.py

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
from contextlib import suppress

from .graph_layout import GraphLayout
from .plugin import SchedulerPlugin

with suppress(ImportError):
    from .progressbar import progress
with suppress(ImportError):
    from .resource_monitor import Occupancy
with suppress(ImportError):
    from .scheduler_widgets import scheduler_status