uranusjr commented on code in PR #38650:
URL: https://github.com/apache/airflow/pull/38650#discussion_r1546017906
##########
airflow/operators/python.py:
##########
@@ -243,13 +243,14 @@ def execute(self, context: Context) -> Any:
def determine_kwargs(self, context: Mapping[str, Any]) -> Mapping[str,
Any]:
return KeywordParameters.determine(self.python_callable, self.op_args,
context).unpacking()
- def execute_callable(self) -> Any:
+ def execute_callable(self, dataset_events: DatasetEventAccessors) -> Any:
Review Comment:
I had to change the signature here (and in subclasses) so the callable can
access the accessors. I _think_ this shouldn’t be public and thus not backward
incompatible? Not exactly sure…
--
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]