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/12/01 19:24:59 UTC
[GitHub] [airflow] potiuk commented on a change in pull request #19825: Deprecate passing execution_date to XCom methods
potiuk commented on a change in pull request #19825:
URL: https://github.com/apache/airflow/pull/19825#discussion_r760504129
##########
File path: airflow/models/xcom.py
##########
@@ -79,37 +81,112 @@ def init_on_load(self):
def __repr__(self):
return f'<XCom "{self.key}" ({self.task_id} @ {self.execution_date})>'
+ @overload
Review comment:
NICE. TIL https://docs.python.org/3/library/typing.html#typing.overload!
--
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