eladkal commented on a change in pull request #20071:
URL: https://github.com/apache/airflow/pull/20071#discussion_r764963720
##########
File path: airflow/operators/python.py
##########
@@ -248,7 +248,7 @@ def execute(self, context: Dict):
if condition:
self.log.info('Proceeding with downstream tasks...')
- return
+ return condition
Review comment:
How can it be a list? the condition is boolean value. The python
callable is expected to return True/False.
Am I missing something here? This is ShortCircut not PythonBranch.
--
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]