<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_required_config(cls):
 """Roll up configuration options for this class and parent classes. This handles subclasses overriding options in parent classes. :returns: final ``ConfigOptions`` representing all configuration for this class """

        options = ConfigOptions()
        for cls in reversed(cls.__mro__):
            try:
                options.update(cls.required_config)
            except AttributeError:
                pass
        return options