<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _schema_get_docstring(starting_class):
 """ Given a class, return its docstring. If no docstring is present for the class, search base classes in MRO for a docstring. """

    for cls in inspect.getmro(starting_class):
        if inspect.getdoc(cls):
            return inspect.getdoc(cls)