Skip to content

Summary display problem #1282

@jupyterjazz

Description

@jupyterjazz

Sometimes doc.summary() doesn't display all of the fields.

Example:

from docarray.documents.helper import create_doc

MyDoc = create_doc('MyDoc', num=(int, ...), text=(str, ...))
doc = MyDoc(num=12, text='txt')
doc.summary()

In this case, field num is not displayed even though it exists.

╭───────────────────────┬──────────────╮
│ Attribute             │ Value        │
├───────────────────────┼──────────────┤
│ text: str             │ txt          │
╰───────────────────────┴──────────────╯

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions