-
Notifications
You must be signed in to change notification settings - Fork 244
Bug with DocList[] #1782
Copy link
Copy link
Closed
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
StatusShow more project fields
Todo/Bug
Context
Both 1 and 2 lines should failed with a nice error message
description
DocList[X] should only accept BaseDoc class and should not be called twice
How to do it
This should be as easy as adding if else statement and raise properly error in this part of the codebase:
docarray/docarray/array/any_array.py
Line 56 in 715252a