Skip to main content

parse_prop_docs

FunctionSource

v_1: DocProp = parse_prop_docs(prop: property | cached_property, parent_name: str = "")

Parse the docstring of a class property.

Arguments

Requires

NameTypeRequired
Description
propproperty | cached_propertyA class property/cached_property to be parsed.
parent_namestrThe name of the parent class. This value is only used for displaying logging messages.

Returns

NameType
Description
v_1DocPropThe parsed docstring of the property.