<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def apply_inheritance(self):
 """ The only interesting property to inherit is exclude :return: None """

        self.apply_partial_inheritance('exclude')
        for i in self:
            self.get_customs_properties_by_inheritance(i)

        # And now apply inheritance for unresolved properties
        # like the dateranges in fact
        for timeperiod in self:
            self.get_unresolved_properties_by_inheritance(timeperiod)