You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/08/30 13:53:51 UTC

[GitHub] [airflow] uranusjr commented on issue #17889: Airflow 2.1.3 Variable.set(name, value) statement clears out Variable Description inserted in Airflow UI

uranusjr commented on issue #17889:
URL: https://github.com/apache/airflow/issues/17889#issuecomment-908362019


   The weird thing is there is no API to set the value _with_ description. Maybe we should have
   
   ```python
   Variable.set(key, val, description=desc)  # description is optional.
   Variable.update(key, value)  # Only works if there is a variable matching key?
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org