simdb.docstrings module¶
- simdb.docstrings.inherit_docstrings(cls)[source]¶
Inherit method docstrings from parent classes.
Class decorator which goes through all the methods defined on this class and if that method does not already have a docstring then looks for one on the same method in the parent class hierarchy.
- Parameters:
cls – The class to decorate
- Returns:
The decorated class