ninowalker commented on issue #37463:
URL: https://github.com/apache/airflow/issues/37463#issuecomment-1947437366

   For additional context,  with the python debugger inside `execute_callable` 
of the PythonOperator (which wraps the function in question):
   
   1. It's calling `self.python_callable(*self.op_args, **self.op_kwargs)`
   2. `self.op_kwargs` are unresolved.
   3. However, `self.inlets` does contain the correct values.
   4. Thus, the problem is with the PythonOperator not supporting `inlets`.
   
   Is this by design? Seems not.
   
   
   ```python
   > 
/Users/rfc/miniforge3/envs/openwtf/lib/python3.11/site-packages/airflow/operators/python.py(216)execute_callable()
   -> return self.python_callable(*self.op_args, **self.op_kwargs)
   (Pdb) p self.op_kwargs
   {'inlets': ['auto'], 'execution_date': '2024-02-15T22:14:46.598812+00:00'}
   (Pdb) p self.inlets
   ['filename']
   ```


-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to