GitHub user eladkal added a comment to the discussion: sqlalchemy 2 set in a 
virtualenv breaks variable access

Ah OK I get your issue. it's not about virtual env it's about variables.

You are doing it wrong. You can not do `Variable.get()` inside virtual env. You 
should use `op_args` / `op_kwargs` and pass the variable to the environment 
using Jinja macro `{{ var.value.<variable_name> }}`

GitHub link: 
https://github.com/apache/airflow/discussions/46266#discussioncomment-12001258

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to