code: def parse_yaml_node(self, y):
          '''Parse a YAML specification of a participant into this object.'''
          if 'participant' not in y:
              raise InvalidParticipantNodeError
          self.target_component = TargetComponent().parse_yaml_node(y['participant'])
          return self parse_yaml_node(self, y):
          '''Parse a YAML specification of a participant into this object.'''
          if 'participant' not in y:
              raise InvalidParticipantNodeError
          self.target_component = TargetComponent().parse_yaml_node(y['participant'])
          return self
docs: Parse a YAML specification of a participant into this object.