How can I access LocalRun or LocalDaskRun run_conf...
# ask-community
a
How can I access LocalRun or LocalDaskRun run_config env variables during task execution? I have read though the relevant pages on docs.prefect.io, searched the examples, even browsed the source, but still no clue.
z
Hi @Andor Tóth, since they're environment variables you should be able to get them using
os.environ
a
Thanks! I have tried that, but the variables defined won't appear in the environment. But it's a help to know, that it should work as expected.
z
a