jaklan commented on issue #20974:
URL: https://github.com/apache/airflow/issues/20974#issuecomment-3038786743

   @potiuk sure, I just want to understand what's the current state of things 
first. Let's try to wrap it up:
   1. `**kwargs`:
     a. Should we never use it for `PythonVirtualenvOperator` or is it okay to 
use if we set `use_dill` to `True`? Are there any pitfalls with `dill` except a 
need to have it installed?
   
   2. `get_current_context()`:
     a. As I understand it still doesn't work inside 
`PythonVirtualenvOperator`? Or is there any scenario (== set of configs) when 
it works?
   
   3. Passing individual context variables as callable params:
     a. Is it an universal solution or are there any exceptions (in another 
issue I saw sth about issues with `ti` variable)?
   
   And generally - what's the final recommendation? `**kwargs` + `dill`, 
individual context variables, anything else?


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