MCPcopy
hub / github.com/dask/dask / _maybe_raise_nondeterministic

Function _maybe_raise_nondeterministic

dask/tokenize.py:83–89  ·  view source on GitHub ↗
(msg: str)

Source from the content-addressed store, hash-verified

81
82
83def _maybe_raise_nondeterministic(msg: str) -> None:
84 try:
85 val = _ENSURE_DETERMINISTIC.get()
86 except LookupError:
87 val = None
88 if val or val is None and config.get("tokenize.ensure-deterministic"):
89 raise TokenizationError(msg)
90
91
92_IDENTITY_DISPATCH = (

Callers 4

normalize_objectFunction · 0.85
_normalize_pure_objectFunction · 0.85
_normalize_pickleFunction · 0.85
normalize_ufuncFunction · 0.85

Calls 2

TokenizationErrorClass · 0.85
getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…