pedro-cf commented on issue #34158:
URL: https://github.com/apache/airflow/issues/34158#issuecomment-1787393444

   > > Hello, is there any updates on this? perhaps a workaround meanwhile? 
Trying to figure out if it's possible to access context or the task instance 
inside a @task.virtualenv
   > 
   > I believe it's easy to get any specific context property - same as any 
other parameter. You can pass whatever context variables you want via 
templattng 
https://airflow.apache.org/docs/apache-airflow/stable/howto/operator/python.html#templating
 . That would be the first thing I'd check if I were you.
   > 
   > Have you tried it and you had some problems with it, I wonder?
   
   Could you give me an example of a very simple dag with one @task.virtualenv 
, where you would access the context for the task instance and the params 
inside?


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