code: def get_consumed(self, key):
          
          if key not in self._consumed:
              self._consumed[key] = {
                  'read': DecayingCapacityStore(),
                  'write': DecayingCapacityStore(),
              }
          return self._consumed[key]
docs: Getter for a consumed capacity storage dict