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.
When indexing a new document, extracted_data is always required no matter what I do (type it with Optional etc). This is especially caused by BaseDocIndex._get_values_by_column().
I have finally forked docarray, will send a PR for various minor fixes like this one:
You can see my changes here, the highlighted line returns None when the field object is optional and not given for a new document during indexing.
Initial Checks
Description
I have this dataclass:
When indexing a new document,
extracted_datais always required no matter what I do (type it withOptionaletc). This is especially caused byBaseDocIndex._get_values_by_column().I have finally forked
docarray, will send a PR for various minor fixes like this one:You can see my changes here, the highlighted line returns None when the field object is optional and not given for a new document during indexing.
Example Code
No response
Python, DocArray & OS Version
Affected Components