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 2022/04/13 14:15:38 UTC

[GitHub] [airflow] kaxil commented on a diff in pull request #22944: Fix trigger event payload is not persisted in db

kaxil commented on code in PR #22944:
URL: https://github.com/apache/airflow/pull/22944#discussion_r849535841


##########
airflow/models/taskinstance.py:
##########
@@ -452,8 +453,7 @@ class TaskInstance(Base, LoggingMixin):
 
     # The method to call next, and any extra arguments to pass to it.
     # Usually used when resuming from DEFERRED.
-    next_method = Column(String(1000))
-    next_kwargs = Column(ExtendedJSON)
+    next_kwargs = Column(MutableDict.as_mutable(ExtendedJSON))

Review Comment:
   ```suggestion
       next_method = Column(String(1000))
       next_kwargs = Column(MutableDict.as_mutable(ExtendedJSON))
   ```



-- 
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