NathanielRose opened a new issue, #36694:
URL: https://github.com/apache/airflow/issues/36694

   ### Description
   
   Currently we have to iterate through variables in a json file to be able to 
upload new values. We should have a native way to simply hand off the JSON file 
to set all variables and have Airflow manage the iteration so its able to 
rollback in case of a failure.
   
   ### Use case/motivation
   
   Hoping to achieve transactional rollback.
   - Modifying these methods here 
-https://github.com/apache/airflow/blob/9cb2052810a8a4b191e77d804fc79927f046c8bb/airflow/cli/commands/variable_command.py#L62
 
   
   - A new option to take in a json instead of each value pair
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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-unsubscr...@airflow.apache.org.apache.org

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

Reply via email to