You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jaklan (via GitHub)" <gi...@apache.org> on 2025/07/05 10:59:34 UTC

Re: [I] Can't pass in **context kwarg to the PythonVirtualenvOperator's python_callable [airflow]

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

   I was just affected by this issue on Airflow 2.10.3 and the only error message I got was `TypeError: cannot pickle 'module' object`, without any hints related to `use_dill` or passing context variables explicitly, so I believe nothing changed here? 
   
   Also I haven't noticed in docs any note about not using `**kwargs` and generally - about a proper way to deal with context in `PythonVirtualenvOperator`, this issue is the only point of reference. Even if the issue is not going to be solved - docs definitely need some clarification.


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

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