Commit dc56681 1 parent 332ad8d commit dc56681 Copy full SHA for dc56681
File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -219,15 +219,16 @@ class EbdTable:
219
219
220
220
metadata : EbdTableMetaData = attrs .field (validator = attrs .validators .instance_of (EbdTableMetaData ))
221
221
"""
222
- meta data about the table
222
+ meta data about the table.
223
223
"""
224
224
rows : List [EbdTableRow ] = attrs .field (
225
225
validator = attrs .validators .deep_iterable (
226
- member_validator = attrs .validators .instance_of (EbdTableRow ), iterable_validator = attrs .validators .min_len (1 )
226
+ member_validator = attrs .validators .instance_of (EbdTableRow ), iterable_validator = attrs .validators .min_len (0 )
227
227
),
228
228
)
229
229
"""
230
- rows are the body of the table
230
+ rows are the body of the table;
231
+ might have 0 rows, if the EBD exists but is just a paragraph of text, no real table
231
232
"""
232
233
# pylint: disable=duplicate-code
233
234
multi_step_instructions : Optional [List [MultiStepInstruction ]] = attrs .field (
You can’t perform that action at this time.
0 commit comments