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.
2 parents d04c5f6 + 6c93c63 commit 073841eCopy full SHA for 073841e
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 = f"{p.short_description} {p.long_description}"
381
else:
0 commit comments