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 0cdcac0 + 9f571e8 commit 79b15eeCopy full SHA for 79b15ee
src/modelspec/base_types.py
@@ -373,7 +373,11 @@ def _parse_definition(cls) -> str:
373
p = parse(cls.__doc__)
374
375
# Extract the description, use the long description if available.
376
- return p.long_description if p.long_description else p.short_description
+ if p.long_description:
377
+ definition = p.short_description + p.long_description
378
+ else:
379
+ definition = p.short_description
380
+ return definition
381
382
@classmethod
383
def _parse_allowed_fields(cls) -> Dict[str, Tuple[str, Any]]:
0 commit comments