# LRUCache¶

class sunpy.database.caching.LRUCache(maxsize=inf)[source] [edit on github]

Attributes Summary

 to_be_removed Return the least recently used key and its corresponding value as a tuple.

Methods Summary

 remove() Remove the least recently used item.

Attributes Documentation

to_be_removed

Return the least recently used key and its corresponding value as a tuple.

Methods Documentation

remove()[source] [edit on github]

Remove the least recently used item.