rawwar commented on issue #35529:
URL: https://github.com/apache/airflow/issues/35529#issuecomment-1923515006

   @potiuk , I think there are two options for this issue.
   
   1. Directly raise an error when the callable is defined within the module 
where DAG is defined. 
   2. Make the original DAG available by copying it to the temporary directory 
and rename it to the modified module name(which is `unusual_prefix_*` . This 
temporary directory is created by the PythonVirtualEnvironment operator and it 
does copy inputs, pickled args, kwargs and etc.
   
   
   I am more inclined towards 2  as it will make the DAG work. Although, I 
think, coming up with a better approach is still possible as I am still 
exploring it.


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