code: def parse_yaml(self, y):
          '''Parse a YAML specification of a configuration data into this
          object.
  
          '''
          self.name = y['name']
          if 'data' in y:
              self.data = y['data']
          else:
              self.data = ''
          return self parse_yaml(self, y):
          '''Parse a YAML specification of a configuration data into this
          object.
  
          '''
          self.name = y['name']
          if 'data' in y:
              self.data = y['data']
          else:
              self.data = ''
          return self
docs: Parse a YAML specification of a configuration data into this
          object.