code: def apply_inheritance(self):
          
          # We check for all Class properties if the host has it
          # if not, it check all host templates for a value
          cls = self.inner_class
          for prop in cls.properties:
              self.apply_partial_inheritance(prop)
          for i in itertools.chain(iter(list(self.items.values())),
                                   iter(list(self.templates.values()))):
              self.get_customs_properties_by_inheritance(i)
docs: For all items and templates inherit properties and custom variables.
  
          :return: None