Fix protected namespace warning for model_custom_emoji_id (#1775)

* fix UserWarning, model_custom_emoji_id

* Add changelog for #1772
This commit is contained in:
Bogdan I 2026-03-03 04:24:05 +05:00 committed by GitHub
parent f68c24d620
commit bd75ae361e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

1
CHANGES/1772.bugfix.rst Normal file
View file

@ -0,0 +1 @@
Fixed Pydantic protected namespace warning for `model_custom_emoji_id` by adding `protected_namespaces=()` to `model_config`.