Initial Checks
- I have read and followed the docs and still think this is a bug
Description
Context
from docarray import DocList, BaseDoc
class MyDoc(BaseDoc):
text: str
DocList[MyDoc][MyDoc] # 2
This should fail with the error:
TypeError: 'DocList' object is not subscriptable
Example Code
from docarray import DocList, BaseDoc
class MyDoc(BaseDoc):
text: str
DocList[MyDoc][MyDoc]
Python, DocArray & OS Version
Affected Components
Reactions are currently unavailable
Initial Checks
Description
Context
This should fail with the error:
TypeError: 'DocList' object is not subscriptable
Example Code
Python, DocArray & OS Version
Affected Components