MCPcopy Create free account
hub / github.com/dask/dask / __init__

Method __init__

dask/diagnostics/progress.py:82–92  ·  view source on GitHub ↗
(self, minimum=0, width=40, dt=0.1, out=None)

Source from the content-addressed store, hash-verified

80 """
81
82 def __init__(self, minimum=0, width=40, dt=0.1, out=None):
83 if out is None:
84 # Warning, on windows, stdout can still be None if
85 # an application is started as GUI Application
86 # https://docs.python.org/3/library/sys.html#sys.__stderr__
87 out = sys.stdout
88 self._minimum = minimum
89 self._width = width
90 self._dt = dt
91 self._file = out
92 self.last_duration = 0
93
94 def _start(self, dsk):
95 self._state = None

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected