potiuk commented on PR #57782:
URL: https://github.com/apache/airflow/pull/57782#issuecomment-3486873224

   I think it should be solved by us but elsewhere. The root cause is this 
function:
   
   ```
       def get_python_source(self):
           raw_source = inspect.getsource(self.python_callable)
           res = textwrap.dedent(raw_source)
           res = remove_task_decorator(res, self.custom_operator_name)
           return res
   ```
   
   We are dedenting the function source ourselves - ans this is where error is 
introduced.


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