code: def set(self, key, value):
          
          if key == "tags":
              self._set_tag(tags=value)
          else:
              if isinstance(value, dict) and key in self._requirements and isinstance(
                      self._requirements[key], dict):
                  self._requirements[key] = merge(self._requirements[key], value)
              else:
                  self._requirements[key] = value
docs: Sets the value for a specific requirement.
  
          :param key: Name of requirement to be set
          :param value: Value to set for requirement key
          :return: Nothing, modifies requirement