ensure_hashable_or_mutable_sequence#

ensure_hashable_or_mutable_sequence(value: Union[T, MutableSequence[T]], message: str = 'Provided value is neither hashable nor mutable sequence of hashable items. Got {type}') List[T][source]#

Validate that provided value is either hashable or mutable sequence of hashable values.