code: def add_if_not_none(cls, dict_, key, value):
          
  
          if value is not None:
              dict_[key] = str(value)
docs: :type dict_: dict[str, str]
          :type key: str
          :type value: float
  
          :rtype: None