def __repr__(self):
        return "<NamedRequirements({}{})>".format(
            self.name,
            ", filename='{}'".format(self.filename.name) if self.filename
            else "")
def add_item(self, item_value=None, index=None):
    if item_value is None:
      item_value = self._new_item_default_value