Series - Implementing TTL Cache in Python