How to do python import for all expressions globally

please may I ask whether it is possible to import library in a way that it would available in all expressions?

please does anyone know how to approach this?

For example I would like to import os and use it in expressions across all parameters to get environment variables configured for current TD environment (using os.getenv("SOME_ENV_VAR")). However I can’t seem to figure out how to import os in a way, that it would be available for expressions. Thanks.

Bur you can also just call var() to get env variable values.


Aah, thank you so much. That’s great, I didn’t know about var() at all. :slight_smile: