Skip to content

Commit b2b3c6e

Browse files
committed
Expand Sequence list
Sequence gets expanded, for better readability. Related issue #689 Please enter the commit message for your changes. Lines starting
1 parent 389eeb6 commit b2b3c6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow_datasets/scripts/document_datasets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def _pprint_features_dict(features_dict, indent=0, add_prefix=True):
320320
lines = [first_line]
321321
for k in sorted(list(features_dict.keys())):
322322
v = features_dict[k]
323-
if isinstance(v, tfds.features.FeaturesDict):
323+
if hasattr(v, 'keys'):
324324
v_str = _pprint_features_dict(v, indent + 4, False)
325325
else:
326326
v_str = str(v)

0 commit comments

Comments
 (0)