MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / _normalize_keys

Method _normalize_keys

utils.py:851–859  ·  view source on GitHub ↗
(row)

Source from the content-addressed store, hash-verified

849 }
850
851 def _normalize_keys(row):
852 normalized = {}
853 for key, value in row.items():
854 if key is None:
855 continue
856 normalized_key = key.strip().lower()
857 if normalized_key:
858 normalized[normalized_key] = value
859 return normalized
860
861 def _first_present(row, normalized_row, *keys):
862 for key in keys:

Callers

nothing calls this directly

Calls 1

itemsMethod · 0.45

Tested by

no test coverage detected