haystack/releasenotes/notes/check-id-hash-keys-postinit-28b012cdeada2c1e.yaml
Stefano Fiorucci ef40c7c728
refactor: make sure that Document's id_hash_keys has a valid value (#6112)
* fix handling id_hash_keys

* reno

* handle empty id_hash_keys in post_init

* fix

* reno

* test
2023-10-19 12:10:19 +02:00

6 lines
175 B
YAML

---
preview:
- |
The Document dataclass checks if `id_hash_keys` is None or empty in
__post_init__. If so, it uses the default factory to set a default valid value.