code: def wrap(self, value):
          ''' Validates ``value`` and then returns a dictionary with each key in
              ``value`` mapped to its value wrapped with ``DictField.value_type``
          '''
          self.validate_wrap(value)
          ret = {}
          for k, v in value.items():
              ret[k] = self.value_type.wrap(v)
          return ref wrap(self, value):
          ''' Validates ``value`` and then returns a dictionary with each key in
              ``value`` mapped to its value wrapped with ``DictField.value_type``
          '''
          self.validate_wrap(value)
          ret = {}
          for k, v in value.items():
              ret[k] = self.value_type.wrap(v)
          return ret
docs: Validates ``value`` and then returns a dictionary with each key in
              ``value`` mapped to its value wrapped with ``DictField.value_type``