The Proxy pattern provides an object that controls access to another object. You need to create a CachingProxyRetriever class in the retrievers package. It will provide the same functionality as the OriginalRetriever class, but with one important addition.
You must be signed in to leave a comment
9 February, 14:31
This was a really interesting task with a few tricks up its sleeve. I liked this one.
14 March 2021, 04:57
It would be nice to show wall time for executions of both retrievers to compare.