Docblocks update in in iterator handling fingerprint

This commit is contained in:
Clemens Schwaighofer
2026-01-27 17:14:31 +09:00
parent 82a759dd21
commit 715ed1f9c2

View File

@@ -9,6 +9,7 @@ from typing import Any, cast, Sequence
def hash_object(obj: Any) -> str:
"""
RECOMMENDED for new use
Create a hash for any dict or list with mixed key types
Arguments:
@@ -48,7 +49,7 @@ def dict_hash_frozen(data: dict[Any, Any]) -> int:
def dict_hash_crc(data: dict[Any, Any] | list[Any]) -> str:
"""
Legacy Method, must be kept for fallback
LEGACY METHOD, must be kept for fallback, if used by other code, DO NOT CHANGE
Create a sha256 hash over dict or list
alternative for
dict_hash_frozen