# Context overriding config with pydantic v2 is not working. With the class approach * documentation need update https://docs.docarray.org/user_guide/representing/first_step/#setting-a-pydantic-config-class * test need to be fix https://github.com/docarray/docarray/blob/4ef493943d1ee73613b51800980239a30fe5ae73/tests/units/document/test_any_document.py#L99
Context
overriding config with pydantic v2 is not working. With the class approach
docarray/tests/units/document/test_any_document.py
Line 99 in 4ef4939