We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bef6bae commit 92aee7bCopy full SHA for 92aee7b
util/_dask.py
@@ -39,7 +39,7 @@
39
from coffea.nanoevents import NanoEventsFactory
40
from coffea.processor import Accumulatable, accumulate
41
from coffea.processor.executor import WorkItem
42
-from coffea.util import coffea_console, rich_bar
+from coffea.util import rich_bar
43
from dask.distributed import Client
44
from dask.tokenize import tokenize
45
from rich.console import Group
@@ -48,6 +48,14 @@
48
49
from util._futures import DynamicAsCompleted, FutureLike
50
51
+try:
52
+ from coffea.util import coffea_console
53
+except ImportError:
54
+ from rich.console import Console
55
+
56
+ coffea_console = Console()
57
58
59
_processing_sentinel = object()
60
_final_merge_sentinel = object()
61
0 commit comments