We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f25887 commit 90d46b8Copy full SHA for 90d46b8
docarray/base_doc/doc.py
@@ -311,7 +311,11 @@ def dict(
311
) -> 'DictStrAny':
312
"""
313
Generate a dictionary representation of the model, optionally specifying
314
- which fields to include or exclude.
+ which fields to include or exclude. The method also includes the attributes
315
+ and their values when attributes are objects of class types which can include
316
+ nesting. This method differs from the `dict()` method of python which only
317
+ prints the methods and attributes of the object and only the type of the
318
+ attribute when attributes are types of other class.
319
320
321
0 commit comments