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

Function _tokenize_partial

dask/dataframe/dask_expr/_util.py:79–89  ·  view source on GitHub ↗
(expr, ignore: list | None = None)

Source from the content-addressed store, hash-verified

77
78
79def _tokenize_partial(expr, ignore: list | None = None) -> str:
80 # Helper function to "tokenize" the operands
81 # that are not in the `ignore` list
82 ignore = ignore or []
83 return _tokenize_deterministic(
84 *[
85 op
86 for i, op in enumerate(expr.operands)
87 if i >= len(expr._parameters) or expr._parameters[i] not in ignore
88 ]
89 )
90
91
92class LRU(UserDict[K, V]):

Callers 1

are_co_alignedFunction · 0.90

Calls 1

_tokenize_deterministicFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…