ashb commented on a change in pull request #5530: [AIRFLOW-1740] Fix xcom
creation and update via UI
URL: https://github.com/apache/airflow/pull/5530#discussion_r302505656
##########
File path: airflow/www/views.py
##########
@@ -2685,6 +2685,9 @@ class XComView(wwwutils.SuperUserMixin,
AirflowModelView):
filter_converter = wwwutils.UtcFilterConverter()
form_overrides = dict(execution_date=DateTimeField)
+ def on_model_change(self, form, model, is_created):
+ XCom.set(**form.data)
Review comment:
Ah okay so this is good enough for now then I guess.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services