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/04 09:06:40 UTC

[GitHub] [airflow] sighingnow commented on a change in pull request #17405: Put the XCom.clear logic into XCom class to allow it hookable in custom XCom backend

sighingnow commented on a change in pull request #17405:
URL: https://github.com/apache/airflow/pull/17405#discussion_r682432284



##########
File path: airflow/models/xcom.py
##########
@@ -224,6 +224,52 @@ def delete(cls, xcoms, session=None):
             session.delete(xcom)
         session.commit()
 
+    @classmethod
+    @provide_session
+    def clear(
+        cls,
+        execution_date: pendulum.DateTime,
+        dag_id: Optional[str] = None,
+        task_id: Optional[str] = None,

Review comment:
       Fixed.




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