MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / _hashable

Function _hashable

tests/compliance/diff.py:28–31  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

26def row_key(row, headers):
27 """Build a hashable key from scalar identity fields."""
28 def _hashable(v):
29 if isinstance(v, list):
30 return tuple(sorted(str(x) for x in v))
31 return v
32
33 if isinstance(row, dict):
34 # Use only scalar identity fields for keying (skip list fields like team_uid)

Callers 1

row_keyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected