复制代码def firstValue(self, key: str) -> Any: """Get first value of the key.""" _set = self._map.get(key) if not _set: return None return _set[0]