<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def directory_values_generator(self, key):
    '''Retrieve directory values for given key.'''
    directory = self.directory(key)
    for key in directory:
      yield self.get(Key(key))