code: def clear_cache(self):
          
          for maybe_fn in self.__dict__.values():
              # clear cache associated with all memoization decorators,
              # GTF and SequenceData objects
              if hasattr(maybe_fn, "clear_cache"):
                  maybe_fn.clear_cache()
docs: Clear any in-memory cached values and short-lived on-disk
          materializations from MemoryCache