Open
Description
Apache Airflow version
3.0.1
If "Other Airflow 2 version" selected, which one?
No response
What happened?
I am trying to acess airflow variable inside @task.virtualenv operator but it's failing with below error

What you think should happen instead?
No response
How to reproduce
- Create task using @task.virtualenv
- Try to access airflow variables inside it
Operating System
mac
Versions of Apache Airflow Providers
No response
Deployment
Other
Deployment details
Airflow Standalone
Anything else?
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct