code: def getPatches(self) :
          
          if not self.mustValidate :
              return self.getStore()
  
          res = {}
          res.update(self.patchStore)
          for k, v in self.subStores.items() :
              res[k] = v.getPatches()
          
          return res
docs: get patches as a dictionary