You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2026. It is now read-only.
Many of tests/predefined_document failed for this reason. (search for skipif inside the folder to see which one).
Hint: to solve this one we need to highjack pydantic validation to convert the single value into a dict. We are already doing this with pydantic v1 but since pydantic v2 validation has partially been moved to the pydantic_core package it is less obvious how to do it.
Obviously, in python we can always make it work, the question is how to make it work so that it will still be aligned with pydantic guardrails regarding validation
Context
this will fail bc I did not find a way yet to override pydantic validation for BaseDoc
many test are skipped because of this example:
docarray/tests/units/util/test_filter.py
Line 247 in 4ef4939
Many of
tests/predefined_documentfailed for this reason. (search for skipif inside the folder to see which one).Hint: to solve this one we need to highjack pydantic validation to convert the single value into a dict. We are already doing this with pydantic v1 but since pydantic v2 validation has partially been moved to the pydantic_core package it is less obvious how to do it.
Obviously, in python we can always make it work, the question is how to make it work so that it will still be aligned with pydantic guardrails regarding validation