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 9f571e8 commit 6c93c63Copy full SHA for 6c93c63
src/modelspec/base_types.py
@@ -373,6 +373,9 @@ def _parse_definition(cls) -> str:
373
p = parse(cls.__doc__)
374
375
# Extract the description, use the long description if available.
376
+ # "short_description" only parse the first non-empty line and
377
+ # "long_description" parse the rest of the docstring i.e.
378
+ # it skips the first non-empty line and parse the rest of the docstring
379
if p.long_description:
380
definition = p.short_description + p.long_description
381
else:
0 commit comments