/ releasenotes / notes / check-id-hash-keys-postinit-28b012cdeada2c1e.yaml
check-id-hash-keys-postinit-28b012cdeada2c1e.yaml
1  ---
2  preview:
3    - |
4      The Document dataclass checks if `id_hash_keys` is None or empty in
5      __post_init__. If so, it uses the default factory to set a default valid value.