weldx.util.inherit_docstrings#

weldx.util.inherit_docstrings(cls)#

Inherits (public) docstrings from parent classes.

Traverses the MRO until it finds a docstring to use, or leave it blank, in case no parent has a docstring available.

Parameters:

cls (type) – The class to decorate.

Returns:

cls – The class with updated doc strings.

Return type:

type