MCPcopy Index your code
hub / github.com/dask/dask / normalize_set

Function normalize_set

dask/tokenize.py:135–139  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

133
134@normalize_token.register(set)
135def normalize_set(s):
136 # Note: in some Python version / OS combinations, set order changes every
137 # time you recreate the set (even within the same interpreter).
138 # In most other cases, set ordering is consistent within the same interpreter.
139 return "set", _normalize_seq_func(sorted(s, key=str))
140
141
142def _normalize_seq_func(seq: Iterable[object]) -> tuple[object, ...]:

Callers

nothing calls this directly

Calls 1

_normalize_seq_funcFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…