zach-overflow commented on code in PR #71346:
URL: https://github.com/apache/airflow/pull/71346#discussion_r3745154932


##########
airflow-core/src/airflow/models/trigger.py:
##########
@@ -200,7 +200,7 @@ def rotate_fernet_key(self):
     def from_object(cls, trigger: BaseTrigger) -> Trigger:
         """Alternative constructor that creates a trigger row based directly 
off of a Trigger object."""
         classpath, kwargs = trigger.serialize()
-        return cls(classpath=classpath, kwargs=kwargs)
+        return cls(classpath=classpath, kwargs=kwargs, queue=getattr(trigger, 
"queue", None))

Review Comment:
   Good call. Addressed in 
https://github.com/apache/airflow/pull/71346/commits/a93a0777808482bfbb55cd9527874ffb3afc6926



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to