code: def apply_partial_inheritance(self, prop):
          
          for i in itertools.chain(iter(list(self.items.values())),
                                   iter(list(self.templates.values()))):
              self.get_property_by_inheritance(i, prop)
              # If a "null" attribute was inherited, delete it
              try:
                  if getattr(i, prop) == 'null':
                      delattr(i, prop)
              except AttributeError:  # pragma: no cover, simple protection
                  pass
docs: Define property with inheritance value of the property
  
          :param prop: property
          :type prop: str
          :return: None